Commit Graph

2321 Commits

Author SHA1 Message Date
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
Matthew Chen
087144b4a5 Ensure layout validity before access. 2020-12-14 11:35:53 -03:00
Matthew Chen
786500babd Fix footer colors for remotely deleted messages. 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
8520947561 Fix body text label configs. 2020-12-11 17:15:56 -03:00
Matthew Chen
8e1ed4d307 Fix the body media dismiss animations. 2020-12-11 16:49:14 -03:00
Matthew Chen
151e1158a9 Rename CVItemViewModel, CVItemViewModelImpl. 2020-12-11 16:49:14 -03:00
Matthew Chen
b0a47572b8 Revert "Remove CVItemViewModelBridge protocol."
This reverts commit 81a012a02e1a210bfc0fbf165335aa047c622e96.
2020-12-11 16:49:14 -03:00
Matthew Chen
04cebf3ae3 Remove CVItemViewModelBridge protocol. 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
31836f3bf3 Fix build break. 2020-12-11 16:48:47 -03:00
Matthew Chen
1b432e8b3a Tweak body text tap handling. 2020-12-11 16:46:28 -03:00
Matthew Chen
883daeb1ab Use labels to render body text where possible. 2020-12-11 16:33:38 -03:00
Matthew Chen
bfe6e837db Remove support for CVC measurement on main thread. 2020-12-11 16:32:36 -03:00
Nora Trapp
1e4ed5924d Merge branch 'release/5.1.0' 2020-12-10 14:34:13 -08:00
Nora Trapp
3f1ea63d7a Merge branch 'release/5.0.1' into release/5.1.0 2020-12-10 14:33:49 -08:00
Michelle Linington
c6004c9fc5 PR Feedback. Adopt similar behavior in AttachmentTextView 2020-12-10 14:23:30 -08:00
Michelle Linington
fea0215f05 IOS-838: ConversationInputTextView cursor adjustments don't behave properly
At the moment, when trying to drag the input/selection cursor(s) in
the ConverationInputTextView, as soon as you reach the top or bottom
edge of a draft with >4 lines, you'll immediately scroll to the very top
or the very bottom.

This is because we're currently overriding the default implementation of
setContentOffset:animated: to always perform the adjustment without
animation. We do this because we don't want the animated content offset
adjustment to interfere with the growing the bounds of the text view.
This can cause the text to overshoot the updated bounds pre-iOS 13.

But we only grow the text view in response to the text changing. So
instead of disabling all content offset animations, we can get away with
just disabling content offset animations while the text is changing.

So this commit:
- Sets a flag between -textViewShouldChange... and -textViewDidChange:
- On iOS 13 and later, we'll always respect the animate argument of
  setContentOffset:animated:
- Pre-iOS 13, we'll ignore the animate parameter if the flag is set
2020-12-10 14:23:30 -08:00
Matthew Chen
961c20ea4c Clean up codebase. 2020-12-10 13:21:18 -03:00