Commit Graph

506 Commits

Author SHA1 Message Date
Matthew Chen
ef70d86007 Respond to CR. 2021-01-21 20:31:30 -03:00
Matthew Chen
1228b9afc6 Update design of conversation list view cells. 2021-01-21 20:27:31 -03:00
Matthew Chen
6762ce8452 Update design of conversation list view cells. 2021-01-21 20:27:31 -03:00
Matthew Chen
aca3443b20 Update design of conversation list view cells. 2021-01-21 20:27:31 -03:00
Matthew Chen
91e5ddb419 Update design of conversation list view cells. 2021-01-21 20:27:31 -03:00
Michelle Linington
2c6bf0d22f Fixes a couple issues reported by Randall:
- Add content inset for the banner
- Allow interactions in the gradient portion of the banner
2021-01-15 00:32:49 -08:00
Michelle Linington
69e1963588 Precommit script 2021-01-12 16:29:30 -08:00
Michelle Linington
7694423c4d Add a preference for contact/profile avatars 2021-01-12 16:29:29 -08:00
Michelle Linington
9b24201117 First part of new empty inbox view 2021-01-12 16:25:33 -08:00
Michelle Linington
554a24685c Revert "Revert "Merge branch 'mlin/PR/GettingStartedBanner' into release/5.2.0""
This reverts commit d810122228.
2021-01-12 16:20:39 -08:00
Michelle Linington
d810122228 Revert "Merge branch 'mlin/PR/GettingStartedBanner' into release/5.2.0"
Accidentally merged a stale local copy of this branch. Reverting...

This reverts commit 5a8c3a7bec, reversing
changes made to e8f1b4a368.
2021-01-12 16:02:55 -08:00
Michelle Linington
548339adc7 Lint 2021-01-12 15:44:10 -08:00
Michelle Linington
490577bfa0 More bug fixing
Don't show banner in archive view
Only count visible threads when determining if we should hide the banner
2021-01-12 15:44:10 -08:00
Michelle Linington
d21c340706 Dark mode support. Better handling of landscape. 2021-01-12 15:44:10 -08:00
Michelle Linington
cb8de8b014 Add onboarding banner to ConversationListViewController 2021-01-12 15:44:10 -08:00
Michelle Linington
49193889d2 Run precommit. Happy new year! 2021-01-05 14:28:32 -08:00
Michelle Linington
4b250e2e86 Fix bug around closing conversations 2021-01-05 14:28:28 -08:00
Matthew Chen
1e149fa2a2 Merge remote-tracking branch 'private/release/5.0.3' into release/5.1.0 2020-12-23 14:18:50 -03:00
Matthew Chen
0210fc706c Simplify logging. 2020-12-22 21:32:20 -03:00
Michelle Linington
1713882050 Fix blank cells on preview dismissal
Fixes an issue where data source updates triggered by a previewed
ConversationViewController's dismissal caused the previewed row in
ConversationListViewController to appear blank during the dismissal
animation.
2020-12-22 14:24:46 -08:00
Michelle Linington
30a0225b7b Post-rebase cleanup 2020-12-22 14:24:46 -08:00
Michelle Linington
2f451521eb Disable preview for currently selected thread 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
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
Matthew Chen
111338b59d Rewrite conversation view. 2020-12-10 12:44:13 -03:00
Matthew Chen
ed9ae2ec9f Migrate groups from v1 to v2. 2020-10-30 09:04:12 -03:00
Matthew Chen
1dbc80f427 Merge branch 'release/3.19.0' 2020-10-09 14:45:41 -03:00
Nora Trapp
fef5ff89e5 Show sending state for deleted message 2020-10-09 10:37:03 -07:00
Matthew Chen
f9da2af616 Groups v2 and mentions splash. 2020-10-08 17:39:50 -03:00
Matthew Chen
096ed67bb9 Convert font style convenience methods to properties. 2020-10-06 13:09:45 -03:00
Matthew Chen
69b594b391 Fix missing contactsManager in conversation list view. 2020-09-18 13:33:57 -03:00
Matthew Chen
686aee752c Rename OWSMessageSender -> MessageSender. 2020-09-17 21:35:35 -03:00
Matthew Chen
bafd4f7423 DRY singleton accessors. 2020-09-17 21:13:14 -03:00
Matthew Chen
3a871e7012 DRY singleton accessors. 2020-09-17 21:13:14 -03:00
Matthew Chen
66510bc18f DRY singleton accessors. 2020-09-17 21:13:14 -03:00
Matthew Chen
c017e76aab Rename singleton accessors. 2020-09-17 21:11:09 -03:00
Matthew Chen
ad6bda8a44 Rename singleton accessors. 2020-09-17 21:11:07 -03:00
Nora Trapp
e88903a408 Allow app to be remotely expired 2020-09-08 15:11:03 -07:00
Nora Trapp
2fe4f1eefa Don't use sticky headers for pinned chats 2020-09-04 15:27:08 -07:00
Nora Trapp
54335c4f02 Fix conversation list cell layout 2020-09-02 16:28:47 -07:00
Nora Trapp
f72c5c7f3d PR Feedback 2020-09-02 16:12:50 -07:00
Nora Trapp
5187738c3d Conversation Pinning 2020-09-02 14:13:05 -07:00
Matthew Chen
7ab6447ebf Respond to CR. 2020-09-02 16:55:49 -03:00
Matthew Chen
9aa17e833b Remote deprecation. 2020-09-02 16:51:58 -03:00
gte-signal
32f273bfde Tweak Dismiss
Only allow a down swipe to dismiss the camera.
Make sure to show the conversation view in the background when invoked from there.
2020-09-01 20:39:02 -07:00
Matthew Chen
aa88bb712c Model changes for group links. 2020-09-01 17:11:07 -03:00
Nora Trapp
648aad7337 Always show empty inbox state when no threads 2020-08-18 00:18:12 -07:00
Nora Trapp
1110491f6e Cleanup mute status icon 2020-08-14 20:44:04 -07:00
Matthew Chen
28b43544b3 Implement attachment upload v3. 2020-08-01 12:06:57 -03:00
Henry Jones
af27a92c35 Add accessible actions to fix #4480 where VoiceOver users could not access archive or delete action. 2020-07-01 19:01:05 -07:00