1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 10:22:42 +01:00
phorge-phorge/src/applications/conpherence/controller
epriestley 4bc561f17b Make Conpherence threads update in real time, very roughly
Summary:
Ref T4083. This needs some work (mostly in the Conpherence JS itself), but is sort of functional. In particular:

  - On thread pages, add the thread as a `pageObject`.
  - After updating a thread, send a new "message" event to the server.
  - Share a little more event posting code.
  - In the browser, use event dispatch to respond to events.
  - Add a listener for the new event type.
  - Update conpherence threads (this part is really yucky).

Test Plan: With multiple browser windows / browsers open, posted a message to a thread, and saw it update everywhere.

Reviewers: joshuaspence

Reviewed By: joshuaspence

Subscribers: chad, epriestley

Maniphest Tasks: T4083

Differential Revision: https://secure.phabricator.com/D9486
2014-06-11 13:52:15 -07:00
..
ConpherenceController.php Replace Sprite-Icons with FontAwesome 2014-05-12 10:08:32 -07:00
ConpherenceListController.php Conpherence - make the JS layer a bit better 2013-05-29 12:46:06 -07:00
ConpherenceNewController.php Always pass handles to tokenizers, not <phid -> name> maps 2013-10-07 12:51:24 -07:00
ConpherenceNotificationPanelController.php Notifications - add a "Clear All Notifications" link to dropdown 2014-04-29 10:43:38 -07:00
ConpherenceUpdateController.php Make Conpherence threads update in real time, very roughly 2014-06-11 13:52:15 -07:00
ConpherenceViewController.php Make Conpherence threads update in real time, very roughly 2014-06-11 13:52:15 -07:00
ConpherenceWidgetController.php Applied various linter fixes. 2014-06-09 16:04:12 -07:00