Commit graph

1188 commits

Author SHA1 Message Date
Matthew Chen fc8fbebd97 Note to Self. 2019-01-03 18:06:56 -05:00
Matthew Chen e52feb3c36 Note to Self. 2019-01-03 18:06:56 -05:00
Matthew Chen 4a84a19d00 Merge tag '2.33.0.11' 2019-01-02 17:24:07 -05:00
Michael Kirk 049b858125 Fix crash when update corresponds to a move.
reloading during performBatchUpdates requires the *original* indexPath, not the
new index path.
2019-01-02 16:42:48 -05:00
Michael Kirk df79fc9ed0 Move String+OWS into SSK
name Switcharoo String+OWS/String+SSK categories to reflect where they live.
2018-12-20 09:54:08 -07:00
Michael Kirk af7ee5e1d1 address compiler breakage after rebase 2018-12-19 15:16:36 -07:00
Michael Kirk 5671fd2520 Revert "Revert 'new sort id'."
This reverts commit ebae75af00.
2018-12-19 15:16:36 -07:00
Matthew Chen 039755c0df Respond to CR. 2018-12-18 13:35:49 -05:00
Matthew Chen f2d585f439 Always allow long-press for message actions. 2018-12-18 13:34:08 -05:00
Michael Kirk f51416b2d2 save a few ms on send, hoist async dispatch to caller, and use it for clearing draft 2018-12-17 14:44:34 -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
Michael Kirk 67cc1027cc Fix compiler warnings 2018-12-17 14:43:21 -07:00
Michael Kirk 4b84583de8 reload input bar async 2018-12-13 14:32:27 -07:00
Michael Kirk ac2c9cc521 Benchmark Events by ID 2018-12-13 14:32:27 -07:00
Matthew Chen 9c46ce8662 Re-enable prefetching a bit sooner. 2018-12-13 14:34:08 -05:00
Matthew Chen 6797d43510 Auto-extend conversation load window size. 2018-12-13 14:28:49 -05:00
Matthew Chen 8a6f30518a Auto-extend conversation load window size. 2018-12-13 14:28:49 -05:00
Matthew Chen 6bc8f6d3a3 More perf tweaks for conversation view. 2018-12-13 13:32:00 -05: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 b0295b736b Add ReverseDispatchQueue. 2018-12-13 11:44:29 -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 9db50bd9e0 Reduce priority of media loads. 2018-12-13 09:16:39 -05:00
Matthew Chen 21ab3fbbcb Respond to CR. 2018-12-13 09:16:39 -05:00
Matthew Chen 962c1acc9f Fix "blinking" regression media views. 2018-12-13 09:16:39 -05:00
Matthew Chen 047afe21ae Fix typo. 2018-12-13 09:16:39 -05:00
Matthew Chen b9404938c4 Respond to CR. 2018-12-13 09:16:39 -05:00
Matthew Chen 358d97bf5b Always load conversation media async. 2018-12-13 09:16:39 -05:00
Matthew Chen ddd6732f74 Revert "Always load conversation media async."
This reverts commit 297aa080163cb6eb324b40bae790768ff2fb1721.
2018-12-13 09:16:39 -05:00
Matthew Chen 5cb319a9c8 Always load conversation media async. 2018-12-13 09:16:39 -05:00
Matthew Chen 956859244d Always load conversation media async. 2018-12-13 09:16:39 -05:00
Matthew Chen c1578b4b06 Always load conversation media async. 2018-12-13 09:16:39 -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
Michael Kirk 52e21be656 fix draft scrolling 2018-12-10 10:03:01 -07:00
Matthew Chen 00c6ed2f3c Tweak scroll down animation behavior in conversation view. 2018-12-10 09:24:18 -05:00
Michael Kirk eb96eec94a Merge branch 'release/2.32.0' 2018-12-07 09:55:43 -05:00
Matthew Chen b88416a931 Apply dark theme changes to media downloads. 2018-12-07 09:12:31 -05:00
Michael Kirk e834550649 ensure layout invalidated after leaving media landscape 2018-12-06 19:48:32 -05:00
Michael Kirk 694b9ef7e9 Merge tag '2.32.0.20' 2018-12-05 14:08:02 -05:00