Commit Graph

2341 Commits

Author SHA1 Message Date
Matthew Chen
42f83292c8 Respond to CR. 2021-01-05 11:03:42 -03:00
Matthew Chen
39d9476b04 Refine CVC updates. 2021-01-05 10:45:54 -03:00
Matthew Chen
22c64445a8 Refine CVC updates. 2021-01-05 10:45:54 -03:00
Matthew Chen
a0e429e816 Refine CVC updates. 2021-01-05 10:45:54 -03:00
Matthew Chen
460f7dc201 Update CVC contentInset after keyboard presentation/dismissal. 2020-12-23 17:46:31 -03:00
Matthew Chen
d09524c3f8 Update CVC contentInset after keyboard presentation/dismissal. 2020-12-23 17:46:31 -03:00
Nora Trapp
c2cec7edd1 Fix longpress on system message 2020-12-23 10:49:48 -08:00
Matthew Chen
68701f4a2f Fix border for view once messages. 2020-12-23 14:21:06 -03:00
Matthew Chen
270a9d443a Small fixes. 2020-12-23 10:41:56 -03:00
Matthew Chen
0dcb7e8622 Small fixes. 2020-12-23 10:41:56 -03:00
Michelle Linington
30a0225b7b Post-rebase cleanup 2020-12-22 14:24:46 -08: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
Nora Trapp
40c72504b3 Fix RTL body text alignment 2020-12-22 12:27:07 -08:00
Matthew Chen
9656b00eba Respond to CR. 2020-12-19 08:24:08 -03:00
Matthew Chen
5b760fc7be All loads to land near edge of load window. 2020-12-19 08:20:38 -03:00
Matthew Chen
5e5d2b7ecc All loads to land near edge of load window. 2020-12-19 08:20:38 -03:00
Matthew Chen
0763c37bd2 Bug fixes. 2020-12-19 08:13:27 -03: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
9023642b2a Fix auto-scroll issue around first message in thread. 2020-12-18 11:26:13 -03:00
Matthew Chen
0d88303e1f Fix auto-scroll issue around first message in thread. 2020-12-18 11:26:13 -03:00
Matthew Chen
e82165466b Observe changes to input height in input accessory view placeholder. 2020-12-18 11:26:13 -03:00
Matthew Chen
43d2951366 Fix stalled loads. 2020-12-18 11:25:17 -03:00
Matthew Chen
5f7196b850 Improve landing of loads. 2020-12-18 11:20:49 -03:00
Matthew Chen
fc003412cd Improve landing of loads. 2020-12-18 11:20:49 -03:00
Matthew Chen
cb3624b612 DRY up handling of network failures. 2020-12-18 11:20:49 -03:00
Matthew Chen
18297fe436 Respond to CR. 2020-12-18 11:20:04 -03:00
Matthew Chen
55cf87010d Ensure audio waveform view adapts to large widths. 2020-12-18 11:07:36 -03:00
Matthew Chen
27e3046ab4 Ensure audio waveform view adapts to large widths. 2020-12-18 11:07:36 -03:00
Matthew Chen
9d2cd61b30 Fix forwarding media from gallery view. 2020-12-18 11:04:59 -03:00
Matthew Chen
07aaa9f6ea Fix measurement of audio attachments. 2020-12-18 10:54:00 -03:00
Matthew Chen
c0625030c7 Respond to CR. 2020-12-18 10:53:11 -03:00
Matthew Chen
eaf61f43e8 Modify layout to handle performBatchUpdates(). 2020-12-18 10:49:48 -03:00
Matthew Chen
64c447821b Modify layout to handle performBatchUpdates(). 2020-12-18 10:49:48 -03:00
Matthew Chen
abb44d8f38 Modify layout to handle performBatchUpdates(). 2020-12-18 10:49:48 -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
c6c68b1791 Modify layout to handle performBatchUpdates(). 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
33aaf83531 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
Matthew Chen
8f93df9e85 Respond to CRs. 2020-12-18 10:47:57 -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