Commit Graph

2546 Commits

Author SHA1 Message Date
Matthew Chen
43ef47ed0c Apply manual layout to footer component. 2021-04-15 16:00:04 -03:00
Matthew Chen
7ce342c823 Apply manual layout to contact share component. 2021-04-15 16:00:04 -03:00
Matthew Chen
b410b67379 Apply manual layout to bottom buttons component. 2021-04-15 16:00:03 -03:00
Matthew Chen
8eac0128c2 Refine manual stack layout; apply manual layout to audio component. 2021-04-15 16:00:03 -03:00
Matthew Chen
35954daa58 Refine manual stack layout; apply manual layout to audio component. 2021-04-15 16:00:03 -03:00
Matthew Chen
cc00bdaccc Apply manual stack view to Conversation View components. 2021-04-15 16:00:03 -03:00
Matthew Chen
d04c04c81f Apply manual stack view to Conversation View components. 2021-04-15 16:00:03 -03:00
Matthew Chen
251409a47d Apply manual stack view to Conversation View components. 2021-04-15 16:00:03 -03:00
Nora Trapp
e91246fd82 Fix presentation of conversation search 2021-04-13 08:50:57 -07:00
Michelle Linington
01a4ee4cc7 Perf improvements for CVC rendering
Fixes some low-hanging expensive renders in CVC. Namely:
- There are a few places where shadow paths can be trivially calculated.
  Explicitly setting the shadow path saves an offscreen pass.
- Adopts CALayer corner masking where feasible (e.g. layers with
  consistent corner radii).
2021-04-08 13:32:59 -07:00
Nora Trapp
399607d400 Improve message details keyboard interactions. 2021-04-06 15:49:41 -07:00
Matthew Chen
9ef178a33b Improve handling of theme changes. 2021-04-06 13:57:11 -03:00
Matthew Chen
8ef888c911 Fix table selection artifacts in payment views. 2021-04-06 13:57:11 -03:00
Matthew Chen
0c3ea97aef Payments: Cull complete/stale TODOs. 2021-04-06 13:57:10 -03:00
Matthew Chen
44e7afb8bf Payments: Kill switch 2021-04-06 13:57:09 -03:00
Matthew Chen
1bea0f957c Let users enable payments from CVC send payment flow. 2021-04-06 13:57:08 -03:00
Matthew Chen
ea6f8a7f86 Clean up formatting of MOB values for display. 2021-04-06 13:57:08 -03:00
Matthew Chen
0d8277e7ac Add internal section to payment details view.
Fix bug in payment details view.

Add "add money for payment" UI flow.

Add "add money for payment" UI flow.

Add "add money for payment" UI flow.
2021-04-06 13:57:07 -03:00
Matthew Chen
23aa187cea Add the "disable payments" flow.
* Show memo message in send payment view.
2021-04-06 13:57:07 -03:00
Matthew Chen
afd2aeef5c Payments UI. 2021-04-06 13:57:07 -03:00
Nora Trapp
c6dcc18b94 Fix keyboard interaction with swipe-to-details 2021-04-01 10:38:18 -07:00
Nora Trapp
4755911762 Improve message details presentation performance 2021-04-01 10:38:18 -07:00
Nora Trapp
7194309181 Redesign swipe for details animation to mimic swipe to reply 2021-04-01 10:38:18 -07:00
Nora Trapp
8c9a925b72 Re-style message detail view 2021-04-01 10:38:18 -07:00
Nora Trapp
1bd5db62dd Swipe left for message details. 2021-04-01 10:38:18 -07:00
Nora Trapp
24d1b5ff37 Display updated action sheet when tapping safety number change 'learn more' 2021-03-31 13:14:46 -07: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
fa6662403e Revert "Merge branch 'nt/animations'"
This reverts commit 1ec4ae3b05, reversing
changes made to 1ed1371c71.
2021-03-17 13:17:17 -07:00
Michelle Linington
f483ee2cac Fixes some name collision bugs
- Fixes up content alignment issues from parallel changes to table view
  styling.
- Re-adds view controller presentation within a nav controller (stemming
  from parallel changes to table view styling)
- Fixes a bug around overzealous collision detection

Also fixes an unrelated issue. Setting up cv banners performs layout, which
can cause the conversation view controller's trait collection to change.
This can lead to us reenterantly setting up banners and updating trait
collection.

The workaround is to just call -ensureBannerState asynchronously from
-traitCollectionDidChange to break the synchronous chain.
2021-03-17 01:14:25 -07:00
Nora Trapp
a19737c0bb Tweak selection animations to be slide in / out 2021-03-16 19:48:59 -03:00
Nora Trapp
53d49f71b6 Block loads while animating selection change 2021-03-16 19:48:59 -03:00
Nora Trapp
70f6e62877 Animate quoted replies 2021-03-16 19:48:59 -03:00
Nora Trapp
39c851218d Animate multi-select UI appearance/disappearance 2021-03-16 19:48:59 -03:00
Nora Trapp
1f7a592166 Animate message send and receive. 2021-03-16 19:48:59 -03:00
Jordan Rose
76b716462e SSK: Make OrderedDictionary a struct and improve it a bit
- Now a struct, meaning no need for a clone() method
- Now a RandomAccessCollection indexed by Int
- Removed the subscript setter that EarlyMessageManager was using to
  make the reordering behavior more explicit
- Generalized insert(key:value:isAppend:) to insert(key:at:value:)
- Added removeSubrange(_:)
2021-03-04 10:30:54 -08:00
Nora Trapp
0cefe0abe6 Resolve merge conflicts 2021-03-03 20:49:07 -08:00
Nora Trapp
5f1435113e Re-style privacy settings, group creation, compose, and other miscellany 2021-03-03 20:32:36 -08:00
Michelle Linington
10533102d6 Additional PR Feedback
- Remove some test-only code
- Since we're prewarming our collision finder off the main thread, the
  ready flag should be made thread-safe.
2021-03-03 12:51:07 -08:00
Michelle Linington
adabc1a06e PR Feedback
The most significant change here is we defer initial loading of
collision interactions. We shouldn't block the main thread during
conversation presentation.

Instead, we'll perform it at UserInitiatedQoS. Once complete, we'll call
-ensureBannerState. Subsequent banner state updates will use the cached
interactions to find name collisions.
2021-03-03 12:51:07 -08:00
Michelle Linington
4bb70840b9 Improve sorting of collisions 2021-03-03 12:51:07 -08:00
Michelle Linington
15eb64086c Most of the work for profile spoofing in group membership
This separates the logic for finding spoofed profiles from the view
controller responsible for reporting collisions to the user
2021-03-03 12:51:07 -08:00
Matthew Chen
d325b57bff Respond to CR. 2021-02-24 21:13:25 -03:00
Matthew Chen
33583050bd Batch processing of synced contacts. 2021-02-24 21:13:25 -03:00
Matthew Chen
590e03e124 Improve robustness of sticker handling. 2021-02-18 09:20:03 -03:00
Matthew Chen
98400a71b4 Improve robustness of sticker handling. 2021-02-18 09:20:03 -03:00
Jordan Rose
493e99eb8d Don't expose a CVComponentView to the CVComponentDelegate
Instead of the delegate showing the share sheet for a tapped-on
attachment, let the CVComponentGenericAttachment do it itself. This
keeps the delegate from dealing with any specific component views
within the conversation.
2021-02-17 11:43:22 -08:00
Matthew Chen
e01ae3e3c2 Respond to CR. 2021-02-15 13:49:16 -03:00
Matthew Chen
a2d6288a3b Improve hiding of banners. 2021-02-15 13:41:49 -03:00
Matthew Chen
461c846651 Improve hiding of banners. 2021-02-15 13:41:49 -03:00