Commit graph

29 commits

Author SHA1 Message Date
Matthew Chen
c775dbcd66 Introduce conversation view mapping; rework conversation view scrolling. 2019-01-07 12:47:15 -05:00
Michael Kirk
af7ee5e1d1 address compiler breakage after rebase 2018-12-19 15:16:36 -07:00
Michael Kirk
6232b1ef67 CR: add debug asserts 2018-12-17 14:43:50 -07:00
Michael Kirk
81bc357bbb more robust handling of unsaved outgoing messages 2018-12-17 14:43:50 -07:00
Michael Kirk
62cf05cd8b assert only trivial unsaved messages are appended to the view model 2018-12-17 14:43:50 -07:00
Michael Kirk
087e320036 Track 'persisted' viewItems separately 2018-12-17 14:43:50 -07:00
Michael Kirk
e3610d4360 Apply other requisite ViewItem attributes 2018-12-17 14:43:50 -07:00
Michael Kirk
0ae4821950 always put typing indicator last 2018-12-17 14:43:50 -07:00
Michael Kirk
668cc22af3 Perf: Insert outgoing message into conversation before save completes.
This was a huge savings - e.g. 50-70% of the time between tapping send and
rendering the message takes place in the save/postWriteTransaction blocks
2018-12-17 14:43:50 -07:00
Matthew Chen
2bf0c55ab0 More perf tweaks for conversation view. 2018-12-13 13:32:00 -05:00
Matthew Chen
be8a61b559 Refine contact offers logic. 2018-12-13 11:50:55 -05:00
Matthew Chen
19a2bfeaad More conversation viewmodel perf improvements. 2018-12-13 11:50:55 -05:00
Matthew Chen
85f6d05e0f Refine view model diffing. 2018-12-13 09:21:13 -05:00
Matthew Chen
90d8fb3d14 Refine view model diffing. 2018-12-13 09:21:13 -05:00
Matthew Chen
fea40d571c Move contact offers to Conversation view model. 2018-12-13 09:12:41 -05:00
Matthew Chen
15826cec5d Reduce initial conversation load window size. 2018-12-13 09:09:07 -05:00
Matthew Chen
9017c16e7e Sort interactions in CVM. 2018-12-13 09:07:49 -05:00
Michael Kirk
78e963404a remove overzealous assert, since we now sometimes post notification without threadId 2018-12-10 10:04:40 -07:00
Matthew Chen
6e457e43ca Clear typing indicators when they are disabled. 2018-12-05 13:31:54 -05:00
Matthew Chen
2c9a556786 Remove overzealous assert in ConversationViewModel. 2018-11-06 15:23:09 -05:00
Matthew Chen
2ca32fddcc Preserve ordering in incremental diffs. 2018-11-05 16:53:39 -05:00
Matthew Chen
aa5e6b456e Preserve ordering in incremental diffs. 2018-11-05 16:53:39 -05:00
Matthew Chen
af249de681 Fix race in CVM startup. 2018-11-05 09:02:05 -05:00
Matthew Chen
22c922bf5b Respond to CR. 2018-11-01 16:44:47 -04:00
Matthew Chen
650469c6a7 Respond to CR. 2018-11-01 16:44:47 -04:00
Matthew Chen
94eaed0024 Fix rebase breakage. 2018-11-01 16:44:47 -04:00
Matthew Chen
eedc9f9a26 Sketch out "typing indicators" interaction and cell. 2018-11-01 16:44:47 -04:00
Matthew Chen
834bba8880 Respond to CR. 2018-11-01 14:51:47 -04:00
Matthew Chen
32d3eed7ba Add ConversationViewModel. 2018-11-01 14:51:47 -04:00