Commit Graph

1137 Commits

Author SHA1 Message Date
Michelle Linington
053454e817 Fix up navigation items, minor bug fixes and cleanup 2021-01-05 14:28:28 -08:00
Michelle Linington
3a224687f9 Hook up collision resolution actions 2021-01-05 14:28:28 -08:00
Michelle Linington
1cd982b269 Actionless UI 2021-01-05 14:28:28 -08:00
Matthew Chen
460f7dc201 Update CVC contentInset after keyboard presentation/dismissal. 2020-12-23 17:46:31 -03:00
Michelle Linington
1c804a9b76 Adopt UIContextMenu style preview interactions
iOS 13 added support for peek/pop style interactions on non-force touch
devices. ViewControllerPreviewing has been deprecated and replaced with
UIContextMenu.

This change adopts the new API on iOS 13+ devices. iOS 12 force touch
devices will continue to support the old style behavior. This also
enables support for haptic touch/long press interactions on devices that
do not support force touch.
2020-12-22 14:24:46 -08:00
Matthew Chen
5eff2f439d Respond to CR. 2020-12-19 08:12:41 -03:00
Matthew Chen
15f6c39f3d Exit early from updateContentInsetsAnimated(). 2020-12-19 08:10:46 -03:00
Matthew Chen
387bb84f4d Fix auto-scroll issue around first message in thread. 2020-12-18 11:26:13 -03:00
Matthew Chen
9facd0ad18 Revert "Fix auto-scroll issue around first message in thread."
This reverts commit 5a3ca232489ccf454ba566d35bdf67f59f6ace86.
2020-12-18 11:26:13 -03:00
Matthew Chen
f9f4779a65 Fix auto-scroll issue around first message in thread. 2020-12-18 11:26:13 -03:00
Matthew Chen
fc003412cd Improve landing of loads. 2020-12-18 11:20:49 -03:00
Matthew Chen
c0625030c7 Respond to CR. 2020-12-18 10:53:11 -03:00
Matthew Chen
11b80cb599 Modify layout to handle performBatchUpdates(). 2020-12-18 10:49:48 -03:00
Matthew Chen
2a480d24dc Modify layout to handle performBatchUpdates(). 2020-12-18 10:49:48 -03:00
Matthew Chen
e5fe14cd32 Respond to CRs. 2020-12-18 10:49:48 -03:00
Matthew Chen
98c28a5f2f Modify layout to handle performBatchUpdates(). 2020-12-18 10:49:48 -03:00
Matthew Chen
8cfd6a4b36 Modify layout to handle performBatchUpdates(). 2020-12-18 10:49:48 -03:00
Matthew Chen
fe933c7cc3 Modify layout to handle performBatchUpdates(). 2020-12-18 10:49:48 -03:00
Michelle Linington
b6a939115f Fix peek and pop with CVC perf improvements
- Permit a nil navigation controller if we're in a preview platter
- Instead of directly pushing onto the navigation controller's stack,
  ask the split view controller to present the thread when we pop.
- Instead of hiding the input toolbar when shown in a preview platter,
  set the bottomViewType to .none. Content insets are determined by the
  bottom bar size. Even if the input toolbar is hidden, we were still
  using its height in our content inset. This fixes that.
2020-12-16 13:43:47 -08:00
Nora Trapp
b58bba4dcb fix keyboard dismissal 2020-12-15 16:04:47 -08:00
Matthew Chen
76b362ac85 Fix edge cases are collection view layout preparation. 2020-12-15 11:17:18 -03:00
Matthew Chen
087144b4a5 Ensure layout validity before access. 2020-12-14 11:35:53 -03:00
Matthew Chen
ec5d396e70 Improve scroll continuity vs. auto-scroll. 2020-12-14 11:35:53 -03:00
Nora Trapp
19a9d1414b Merge branch 'release/5.0.2' 2020-12-11 18:19:30 -08:00
Nora Trapp
059164bf7a Show a tooltip for starting a group call 2020-12-11 17:31:24 -08:00
Matthew Chen
151e1158a9 Rename CVItemViewModel, CVItemViewModelImpl. 2020-12-11 16:49:14 -03:00
Matthew Chen
200aec4d7a Merge CVItemViewModel and CVItemViewModelImpl. 2020-12-11 16:49:14 -03:00
Matthew Chen
62856840da Clean up codebase. 2020-12-10 13:17:24 -03:00
Matthew Chen
0531e44170 Clean up codebase. 2020-12-10 13:02:25 -03:00
Matthew Chen
111338b59d Rewrite conversation view. 2020-12-10 12:44:13 -03:00
Nora Trapp
fb595d0e64 Use remote config for group calling 2020-12-07 15:43:59 -08:00
Michelle Linington
a8de171053 Adopt leftover PR feedback from #2696 2020-11-24 20:59:37 -08:00
Michelle Linington
8294f80ced Logging and renames 2020-11-24 20:59:37 -08:00
Michelle Linington
a554511bcc Enable call bar button for current call conversation 2020-11-24 20:59:37 -08:00
Matthew Chen
21b616ede1 Fix group migration edge cases. 2020-11-20 15:32:15 -03:00
Michelle Linington
6a8e602825 Return to call action support
Also, tweaks how we notify error messages to muted threads.
2020-11-19 16:04:22 -08:00
Michelle Linington
d93c19abe7 Enable/update group call action based on current call and thread 2020-11-19 16:04:22 -08:00
Nora Trapp
45a99cb394 Open group call lobby when tapping notification 2020-11-19 16:04:21 -08:00
Nora Trapp
0e91ef01cc Small tweaks to hook up join button 2020-11-19 16:02:22 -08:00
Michelle Linington
9b164ebd84 IOS-945: CVC join call button
Swaps out the join call button when a group call is active. When a group
call is active, the usual button is swapped for a more prominent "Join
button".
2020-11-19 16:02:22 -08:00
Michelle Linington
8bbbd607ae PR Feedback from Nora 2020-11-19 16:02:22 -08:00
Michelle Linington
89c616c3e1 Minor cleanup 2020-11-19 16:02:22 -08:00
Michelle Linington
83834c6b68 Peek group call state in CVC -viewWillAppear: 2020-11-19 16:02:22 -08:00
Michelle Linington
34f85ec030 Add a JoinCall button in group call info messages
Also, fixes a bug where we were taking out nested transactions
2020-11-19 16:02:22 -08:00
Nora Trapp
0cf2600759 Revert changes to CVC scroll behavior
This reverts commit e26ccaa08a.
2020-11-16 08:58:07 -08:00
Matthew Chen
58fa3c3f3a Block message sends in groups with blocking migrations. 2020-11-12 17:26:44 -03:00
Matthew Chen
5cee24cef9 Refine group migrations. 2020-10-30 09:20:51 -03:00
Matthew Chen
8d8c66e71a Refine group migrations & related UI. 2020-10-30 09:07:38 -03:00
Matthew Chen
173bffa9c3 Migrate CVC "bottom view" logic to Swift. 2020-10-30 09:07:38 -03:00
Matthew Chen
df34b8122c Migrate CVC "bottom view" logic to Swift.
Migrate CVC "bottom view" logic to Swift.
2020-10-30 09:07:37 -03:00