1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 01:32:42 +01:00
phorge-phorge/src/applications/conpherence
Bob Trahan 78bfcc3221 Conpherence - change "A, B, C..." subtitle to "A: what most recent person said" when we can
Summary:
For the price of loading transactions more consistently, we get a better subtitle. We do this in all cases EXCEPT for when we're grabbing handles, because that makes the handles pretty heavy weight and I could even feel the perf hit on my development machine and we don't use subtitle there anyway. We may want to cache the latest message on the conpherence thread object to improve performance here as well as consider falling back to "A, B, C..." more often. Code is written such that no transactions means an automagical fallback.

Fixes T7795. (Technically, there's still a note about handle code conversion work on T7795 but we'll get that generally later.)

Test Plan:
played around with conpherence in both views and things seemed to work nicely.
made sure to try the original repro in T7795 and couldn't get that to go either
posted a long comment and verified that the CSS / string truncation both make it display nicely. Note that without the CSS the chosen glyph value can be too high to fit nicely at times.

Reviewers: chad, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T7795

Differential Revision: https://secure.phabricator.com/D12347
2015-04-13 11:31:34 -07:00
..
__tests__ Fix some odd looking arrays 2015-04-05 22:29:39 +10:00
application Expose all application mail receivers 2015-04-01 11:52:02 -07:00
conduit Conpherence - fix missing method 2015-03-26 13:35:48 -07:00
config Add getGroup to ConfigOptions 2015-02-09 13:10:56 -08:00
constants Conpherence - implement join / view rules for rooms 2015-03-24 18:38:16 -07:00
controller Conpherence - change "A, B, C..." subtitle to "A: what most recent person said" when we can 2015-04-13 11:31:34 -07:00
editor Conpherence - fix recent participant cache 2015-04-09 14:02:35 -07:00
events Revamp Profile with new IconNav 2015-02-02 12:13:48 -08:00
mail Expose all application mail receivers 2015-04-01 11:52:02 -07:00
phid Conpherence - implement PhabricatorDestructibleInterface so threads can be deleted 2015-04-08 12:19:40 -07:00
query Conpherence - change "A, B, C..." subtitle to "A: what most recent person said" when we can 2015-04-13 11:31:34 -07:00
search Build a Conpherence thread index 2015-01-06 10:24:30 -08:00
storage Conpherence - change "A, B, C..." subtitle to "A: what most recent person said" when we can 2015-04-13 11:31:34 -07:00
view Conpherence - don't lose title glyph when switching between messages 2015-04-08 13:46:41 -07:00