Page MenuHomePhabricator

Conpherence - add draft support to column and refine sending message user workflow
ClosedPublic

Authored by btrahan on Mar 11 2015, 9:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 24, 10:57 PM
Unknown Object (File)
Wed, Apr 24, 3:24 AM
Unknown Object (File)
Wed, Apr 17, 4:11 PM
Unknown Object (File)
Mon, Apr 1, 3:56 PM
Unknown Object (File)
Mon, Apr 1, 9:15 AM
Unknown Object (File)
Sat, Mar 30, 3:47 PM
Unknown Object (File)
Sat, Mar 30, 3:46 PM
Unknown Object (File)
Sat, Mar 30, 3:46 PM
Subscribers

Details

Summary

Ref T7014. This diff adds draft support.

Test Plan

made many comments and they submitted nicely.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

btrahan retitled this revision from to Conpherence - add draft support to column and refine sending message user workflow.
btrahan updated this object.
btrahan edited the test plan for this revision. (Show Details)
btrahan added reviewers: epriestley, chad.
webroot/rsrc/js/application/conpherence/behavior-durable-column.js
99

@chad - just to clarify, this means we no longer use the loading mask when sending a message...

We do still use it when initially loading the thread and switching threads via the switcher and that's it.

when a user sends a commit we instantly show our "best effort" pre-rendered draft before ajaxing in the right stuff

I think this is probably bad/undesirable, but I guess we can see how it works in practice.

In particular:

  • We render invalid username mentions differently in previews vs submitted text.
  • T4411 adds more similar rules.
  • Users with a lost connection may believe their message sent when it did not.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Mar 11 2015, 9:44 PM

I'm fine with the round trip, it's mostly that it looks like the entire thread is reloading that seemed overkill.

Alright, can someone look at D12043 at least? I feel like this UI has regressed today and at least if D12043 gets in there I will feel like things are back to par.

btrahan edited edge metadata.

scoping down to just draft support

This revision is now accepted and ready to land.Mar 11 2015, 10:53 PM
btrahan edited the test plan for this revision. (Show Details)
This revision was automatically updated to reflect the committed changes.