1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 15:22:41 +01:00
phorge-phorge/webroot/rsrc/css/application
Bob Trahan 27a60bdb3c Conpherence - make the durable column kind of work and stuff
Summary:
Ref T7014. This hooks up the durable column such that when you open it up it loads your most recent Conpherence. You can then switch amongst the various widgets and stuff and everything works nicely.

Except...

 - scroll bar does not work
   - also doesn't work at HEAD when I add a ton of text to the UI with no changes? (wrapped $copy in array_fill(0, 1000, $copy))
 - "widget selector" does not collapse when you select something else
   - this part wasn't really specified so I used the aphlict dropdown stuff. didn't want to keep working on that if this was the wrong UI choice
 - can not edit title
   - do we still want that to be done by clicking on the title, which pops a dialogue?
 - can not add participants or calendar events
   - what should this UI be? maybe just a button on the top for "participants" and a button on the bottom for calendar? both on top?
 - this is not pixel perfect to the mock or two I've seen around. Aside from generally being bad at that, I definitely didn't get the name + timestamps formatting correctly, because the standard DOM of that has timestamp FIRST which appears second due to a "float right". Seemed like a lot of special-casing for what might not even be that important in the UI so I punted. (And again, there's likely many unknown ways in which this isn't pixel perfect)

There's also code quality issues

 - `ConpherenceWidgetConfigConstants` is hopefully temporary or at least gets more sleek as we keep progressing here
 - copied some CSS from main Conpherence app
   - DOM structure is pretty different
   - there's some minor CSS tweaks too given the different width (not to mention the DOM structure being different)
 - copied some JS from behavior-pontificate.js to sync threads relative to aphlict updates
 - JS in general is like a better version of existing JS; these should collapse I'd hope?
 - maybe the aphlict-behavior-dropdown change was badsauce?

...but all that said, this definitely feels really nice and I feel like adding stuff is going to be really easy compared to how normal Conpherence is.

Also includes a bonus bug fix - we now correctly update participation. The user would encounter this issue if they were in a conpherence that got some updates and then they went to a different page; they would have unread status for the messages that were ajax'd in. This patch fixes that by making sure we mark participation up to date with the proper transaction in all cases.

Test Plan: hit "\" to invoke the column and saw nice loading UI and my latest conpherence load. sent messages and verified they received A-OK by looking in DOM console. toggled various widges and verified they rendered correctly. opened up a second browser with a second user on the thread, sent a message, and it was received in a nice asynchronous fashion

Reviewers: chad, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T7014

Differential Revision: https://secure.phabricator.com/D11968
2015-03-05 10:33:39 -08:00
..
almanac Allow Almanac service types to define default properties 2014-12-17 11:10:50 -08:00
auth Clean up external accounts page 2013-11-24 19:14:16 -08:00
base Shrink side-nav on home when durable column is open 2015-02-27 11:38:33 -08:00
chatlog Make chatlog bg white 2014-02-12 09:55:53 -08:00
config New Admin Welcome Screen 2015-03-02 15:42:25 -08:00
conpherence Conpherence - make the durable column kind of work and stuff 2015-03-05 10:33:39 -08:00
contentsource Move #888 and #999 to $lightgreytext 2013-09-02 08:12:18 -07:00
countdown Move #888 and #999 to $lightgreytext 2013-09-02 08:12:18 -07:00
dashboard Move PHUIErrorView to PHUIInfoView 2015-03-01 14:45:56 -08:00
diff Update InlineCommentSummary UI 2015-02-09 08:38:51 -08:00
differential Bump monospace font +1px when using Source Sans Pro 2015-02-28 14:37:31 -08:00
diffusion Convert Audit comment rendering to standard infrastructure 2014-07-28 15:01:43 -07:00
feed Minor fixes for CSS linter issues 2014-12-30 02:48:26 -08:00
files Move all CSS "z-index" rules to "z-index.css", fix Differential z-index problem 2012-12-30 09:30:21 -08:00
flag Move PhabricatorObjectItem to PHUIObjectItem, add 'plain' setting for lists. 2013-09-09 14:14:34 -07:00
harbormaster Hide empty build logs 2014-08-06 10:28:13 +10:00
herald Clean up Multirow Manager UI 2014-11-17 14:06:05 -08:00
home Update stock Homepage to look like Dashboards 2015-01-27 15:30:11 -08:00
maniphest Fix Maniphest Reports scrolling issues 2015-02-24 09:41:37 -08:00
objectselector Update ObjectSelector CSS 2013-11-30 19:47:20 -08:00
owners Move #666 to $greytext in UIColor 2013-09-02 08:08:54 -07:00
paste Minor touchup to Paste Embed UI 2015-02-26 11:09:10 -08:00
people T6856 Make Project Images that match Typeahead choices 2015-01-11 09:40:53 -08:00
phame Move PHUIErrorView to PHUIInfoView 2015-03-01 14:45:56 -08:00
pholio Update Pholio to use pink instead of indigo 2014-10-21 10:06:10 -07:00
phortune Make it easier to add payment methods for subscription autopay 2015-03-02 13:01:08 -08:00
phrequent UIColor Blues and common color integration 2013-09-02 08:10:47 -07:00
phriction Fix padding issues on Phriction History 2015-02-27 11:26:44 -08:00
policy Clean up Multirow Manager UI 2014-11-17 14:06:05 -08:00
ponder Add objectheaders to new View 2013-09-28 15:55:38 -07:00
profile Move PHUIErrorView to PHUIInfoView 2015-03-01 14:45:56 -08:00
projects Use standard tag elements instead of "maniphest project tag" to show tags in list views 2014-06-26 08:49:44 -07:00
releeph Use standard UI elements to render pull requests in Releeph 2014-04-18 06:44:45 -07:00
search Convert search results to use PHUIObjectItemView 2015-03-03 07:18:40 -08:00
slowvote Move #888 and #999 to $lightgreytext 2013-09-02 08:12:18 -07:00
tokens Make tokens more accessible to assitive technologies 2014-05-05 10:54:34 -07:00
uiexample Clean up FontAwesome / Timeline CSS 2014-04-22 18:29:14 -07:00