Homec4science

Make Conpherence threads update in real time, very roughly

Authored by epriestley <git@epriestley.com> on Jun 11 2014, 22:52.

Description

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

Details

Committed
epriestley <git@epriestley.com>Jun 11 2014, 22:52
Pushed
aubortJan 31 2017, 17:16
Parents
rPH84d259cea223: Modify the Aphlict server to transmit messages instead of broadcasting them.
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH4bc561f17bc8: Make Conpherence threads update in real time, very roughly (authored by epriestley <git@epriestley.com>).Jun 11 2014, 22:52