Commit Graph

61 Commits

Author SHA1 Message Date
Matthew Chen
32076ea302 Rework the "is this a disappear message" accessors. 2019-06-10 11:41:39 -04:00
Michael Kirk
a837c75764 Simple send sans Yap 2019-05-28 17:31:53 -04:00
Nora Trapp
76aa750e51 Fix an issue where we incorrectly identified a recipient as not in contacts 2019-05-17 09:45:20 -07:00
Michael Kirk
2679d0614c avoid deadlock 2019-05-13 12:48:45 -04:00
Michael Kirk
aa37cdbadd GRDB: Avoid assert when missing dynamic interactions
Triggered whenever entering a conversation
2019-05-13 12:48:45 -04:00
Matthew Chen
246131ebbd Fix "set unread" deadlock. 2019-05-09 13:39:23 -04:00
Matthew Chen
1376e17318 Render failed stickers in conversation view. 2019-05-09 13:19:58 -04:00
Michael Kirk
116241df3f renames for clarity, fail hard on db error 2019-05-03 09:53:37 -06:00
Michael Kirk
3c7f994b34 DB updates UI
-[x] uiRead from Snapshot
-[x] update snapshot after writes
-[x] notify observers of change
-[x] external notifications
2019-05-02 14:22:53 -06:00
Michael Kirk
4903815229 Remove Interaction.sortId column from GRDB
Instead back it from Interactin.id
2019-05-02 07:52:50 -06:00
Matthew Chen
e098c78305 Clean up ahead of PR. 2019-04-30 09:40:48 -04:00
Matthew Chen
783858ea52 Remove extra semicolons. 2019-04-30 09:39:04 -04:00
Matthew Chen
abb7d1b548 Render stickers. 2019-04-26 15:23:51 -04:00
Matthew Chen
384457fefc Sketch out SDS extensions for interaction models. 2019-04-16 09:03:07 -04:00
Michael Kirk
916cc0706d adapt to new transaction naming scheme 2019-04-11 09:16:11 -04:00
Michael Kirk
ee3697793a GRDB adapter for message mapping 2019-04-10 16:28:18 -06:00
Matthew Chen
6ab8ea9b6e Respond to CR. 2019-03-19 11:13:06 -04:00
Matthew Chen
a8e9b87f03 Rework menu actions focus item layout. 2019-03-19 11:12:30 -04:00
Matthew Chen
4f06e6dd6e Conversation view always observes view model. 2019-03-19 10:03:58 -04:00
Michael Kirk
71dd4eb151 in-conversation search
- use MediaTime for computing benchmarks
2019-02-28 16:19:16 -07:00
Matthew Chen
7711ee92a7 Revert "Conversation view always observes view model."
This reverts commit 9d39e829a44f28f324f79e0b74a6c8692678d788.
2019-02-26 10:56:23 -05:00
Matthew Chen
6ed4045fbe Conversation view always observes view model. 2019-02-26 10:56:11 -05:00
Matthew Chen
56e5feca46 Introduce ConversationSnapshot. 2019-02-26 10:55:44 -05:00
Michael Kirk
233bc3858b dismiss menu actions when selected item is deleted 2019-02-25 14:10:12 -07:00
Matthew Chen
3d1b930e06 Fix navigation to quoted replies outside load window. 2019-01-29 13:39:15 -05:00
Matthew Chen
c6387e7c6a Simplify the logic to flush database changes. 2019-01-24 17:04:38 -05:00
Matthew Chen
e7b9f7da99 Flush multi-process writes more aggressively. 2019-01-24 17:03:49 -05:00
Matthew Chen
c30f155221 Fix overzealous assert. 2019-01-07 17:04:54 -05:00
Matthew Chen
f90e49226d Respond to CR. 2019-01-07 12:47:15 -05:00
Matthew Chen
73f5d9237d Avoid overflow. 2019-01-07 12:47:15 -05:00
Matthew Chen
f32edc93e4 Tweak conversation view animations. 2019-01-07 12:47:15 -05:00
Matthew Chen
435379926a Introduce conversation view mapping; rework conversation view scrolling. 2019-01-07 12:47:15 -05:00
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