1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-03 04:02:43 +01:00
phorge-phorge/webroot/rsrc/js/application/conpherence
Bob Trahan e07077ae4e Conpherence - fix JS and add code to repair old bad data
Summary:
the JS is fragile with respect to the tokenizer coming in from the people widget. make sure to always try to load this up. Note this generally needs to get cleaned up where the server should only send down the *exact* bits the client needs. This is all TODO as part of getting this on mobile perfectly. Also note this fragility exists still in that you can break conpherence by clicking quickly before the initial tokenizer load loads.

For old bad data, at some point we weren't updating participation as well as we do today in the editor class. the result is with the migration and code change some conversation participants have bad "last seen message" counts. the simplest case is the test user talking to themselves -- threads before the editor code fixes / changes will have the entire thread as unread for these folks. The other buggy case I saw was where the "last reply" to a thread wasn't being count. These issues showed up for threads February and older which is old.

Test Plan: edited conpherence meta data and no JS bugs. pontificated and no JS bugs. added a person and no JS bugs.

Reviewers: chad, epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5622
2013-04-08 13:41:34 -07:00
..
behavior-drag-and-drop-photo.js Conpherence - add crop 2013-02-06 14:03:52 -08:00
behavior-menu.js Conpherence - fix JS and add code to repair old bad data 2013-04-08 13:41:34 -07:00
behavior-pontificate.js Conpherence - fix JS and add code to repair old bad data 2013-04-08 13:41:34 -07:00
behavior-widget-pane.js Conpherence - make conpherence load the bare minimum of data 2013-04-08 11:13:35 -07:00