Commit Graph

141 Commits

Author SHA1 Message Date
Matthew Chen
a66029a124 Apply LRUCache everywhere. 2021-06-30 16:01:08 -03:00
Matthew Chen
b9bc35e74b Apply LRUCache everywhere. 2021-06-30 16:01:08 -03:00
Matthew Chen
82aab5ea12 Apply count limits to all NSCache, clean up caching. 2021-06-23 09:39:43 -03:00
Matthew Chen
2e81c269b9 Fix local user mode of app settings button. 2021-06-22 16:29:13 -03:00
Matthew Chen
1d5b2aa2f5 Rework avatar building and caching. 2021-06-18 14:01:32 -03:00
Matthew Chen
623a29e139 Port CVC to Swift. 2021-06-18 09:37:43 -03:00
Matthew Chen
ce76fdfcc8 Refine avatar loading behavior in conversation list and search results views. 2021-06-07 11:46:36 -04:00
Matthew Chen
c65508fec5 Port ConversationListCell to Swift. 2021-06-07 11:46:35 -04:00
Matthew Chen
e1324adf2e Add an "appearance get started" card. 2021-06-02 20:54:51 -04:00
Nora Trapp
e439bb619e Move isArchived, isMarkedUnread, and mutedUntilDate off of TSThread 2021-05-13 12:54:33 -07:00
Matthew Chen
9e8f87ae0a Clean up how local user name is rendered in contact cells. 2021-05-04 21:45:15 -03:00
Matthew Chen
8baf952a71 Apply ConversationAvatarView. 2021-04-22 22:00:42 -03:00
Nora Trapp
b496631758 Add open settings accessibility label 2021-04-16 23:58:19 -07:00
Matthew Chen
9ef178a33b Improve handling of theme changes. 2021-04-06 13:57:11 -03:00
Matthew Chen
15f2f0757d Payments: 'restore wallet by pasting recovery phrase from pasteboard' flow. 2021-04-06 13:57:09 -03:00
Matthew Chen
afd2aeef5c Payments UI. 2021-04-06 13:57:07 -03:00
Matthew Chen
86b8eb08b8 Remove YapDatabase.
Apply asset from design.

Fix rebase breakage.
2021-03-25 11:41:16 -03:00
Matthew Chen
d0cbf8cfd0 Rework dependency access. 2021-03-25 09:24:27 -03:00
Nora Trapp
67294588e4 more little tweaks 2021-03-09 12:30:31 -08:00
Nora Trapp
325f87a1cb Initial App settings restyling 2021-03-03 20:29:40 -08:00
Michelle Linington
6df7d14fbf Fix issue where banner sporadically appears after pin restoration
We shouldn't be reading from the UI database snapshot

Additionally, adds extra parameter to notify conversation list view
controller to dismiss without animation
2021-01-22 18:27:31 -08:00
Matthew Chen
6762ce8452 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
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
ed9ae2ec9f Migrate groups from v1 to v2. 2020-10-30 09:04:12 -03:00
Matthew Chen
f9da2af616 Groups v2 and mentions splash. 2020-10-08 17:39:50 -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
3a871e7012 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
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