Commit Graph

422 Commits

Author SHA1 Message Date
Adam Sharp
b89c8f1556
Avoid a couple more owsFailDebug assertions 2024-09-23 10:58:48 -04:00
Sasha Weiss
7bbc063135
Avoid a few owsFailDebugs 2024-09-20 13:31:02 -07:00
Elaine
a972874cb6
Call link approval details sheet 2024-09-17 11:31:51 -06:00
Elaine
34983e49cf
Flip camera button dynamic layout
Co-authored-by: Marissa Le Coz <marissa@signal.org>
2024-09-09 13:10:41 -06:00
Marissa Le Coz
4c7bdae525
[Call Links] Make Share Link cell respond to theme & dynamic type changes 2024-08-20 11:30:39 -04:00
Elaine
884e74c889
Use smoother, interruptible animation on bottom sheets 2024-08-08 16:09:58 -06:00
Elaine
ce12aa0e40
Fix a few bugs in InteractiveSheetViewController
Co-authored-by: Max Radermacher <max@signal.org>
2024-08-05 15:36:55 -06:00
Adam Sharp
5d5f1d23fd Use explicit closures to avoid warnings about sendable values 2024-08-05 10:30:00 -04:00
Elaine
55b34b39a6
Add springing to call controls drawer 2024-07-30 10:53:22 -06:00
Elaine
25c36c28d5
Adjust StackSheetViewController safe area behavior 2024-07-30 10:01:29 -06:00
Max Radermacher
b9f49023ad
Send call link link previews 2024-07-26 22:00:54 -05:00
Max Radermacher
f2eb7f5a22
Extract LinkPreviewFetcher into its own type 2024-07-26 21:45:22 -05:00
Max Radermacher
82a87d6c9f
Asyncify LinkPreviewManager 2024-07-25 02:33:13 -05:00
Marissa Le Coz
4d90fb505c
Update call drawer colors 2024-07-24 15:22:28 -04:00
Elaine
935c242cf8
Manage how sheet interactions/animations interact with timeout and UI elements
Co-authored-by: Marissa Le Coz <marissa@signal.org>
2024-07-24 10:59:11 -04:00
Elaine
2dc3fa16d0
Animate call controls height changes 2024-07-22 14:14:38 -06:00
Elaine
28d7a9bd22
Animate drawer around pivot point when not dragging 2024-07-22 13:50:24 -06:00
Elaine
ed35c95216
Update call header for controls drawer 2024-07-22 13:35:04 -06:00
Sasha Weiss
0b4047c675
Unify disclosureXYZ methods in OWSTableItem 2024-07-22 11:39:06 -07:00
Sasha Weiss
239fc7876e
Drop our custom ContextMenuButton 2024-07-22 11:38:39 -07:00
Marissa Le Coz
4b45112f6c
Add crossfade to call drawer 2024-07-12 13:38:14 -04:00
Adam Sharp
b42710cf90 Work around use of deprecated UIButton API
The old UIButton API is still functional as long as we don't use
UIButton.Configuration, so we can safely ignore these warnings until we're
ready to adopt the configuration API across the codebase.
2024-07-03 14:27:48 -04:00
Marissa Le Coz
d297e23a2e
Add call drawer foundations behind feature flag 2024-07-02 14:16:25 -04:00
Harry
bb083ca39c
Fold SignalCoreKit into SignalServiceKit
Co-authored-by: Adam Sharp <sharplet@signal.org>
2024-06-26 08:44:41 -07:00
Max Radermacher
5a5cac24f4
Add basic support for creating Call Links 2024-06-17 12:15:42 -05:00
Sasha Weiss
41d2a3d1b2
Informational UX for delete syncs 2024-06-11 16:39:22 -07:00
Max Radermacher
76b027a038
Refactor GroupCall lobby method for call links 2024-06-07 15:28:15 -05:00
Max Radermacher
c4286aa3e5
Fix crash when backgrounding on iOS 16 2024-06-07 13:34:18 -05:00
Adam Sharp
3f0405e9fb
When editing a message, prompt before discarding current draft 2024-06-03 12:23:09 -04:00
Max Radermacher
7f1bcbf991
Stop tracking pending calls at the app layer 2024-05-24 14:39:57 -05:00
Adam Sharp
bcc31cbc4f
Double Tap to Edit 2024-05-21 15:15:59 -04:00
Max Radermacher
34eca8a139
Fix some dependency cycles with CallService 2024-05-14 11:46:52 -05:00
Adam Sharp
5f1820748e Don't ignore theme changes when switching to system interface style
When switching to the "system" theme mode, if the effective appearance matched
the previous overridden theme mode, the theme change would be ignored. By
comparing the mode instead of just the effective appearance, we properly react
to system appearance changes.

Additionally, rework the transition animation for changing themes to match the
animation of system appearance changes (i.e., a 0.5-second cross-dissolve).

Fixes: https://signalmessenger.atlassian.net/browse/IOS-4431
2024-05-13 16:16:53 -05:00
Max Radermacher
0b3d2a8f18
Remove and fix confusing substring methods 2024-05-01 15:46:25 -05:00
Ehren Kret
30424e19ae remove OWSNavigationControllerBase
This appears to have been a hack for something that may have been
necessary in older versions of iOS. Current iOS seems to just return
true with no side-effects from this super call so there's no reason to
retain this hack apparent.
2024-04-28 23:19:43 -05:00
Ehren Kret
98063956b0 disallow swift code to call weak timer selector methods 2024-04-27 05:24:46 -05:00
Ehren Kret
3b51f00f6a migrate two factory methods of UIImage+OWS to swift 2024-04-22 00:17:31 -05:00
Elaine
ef8e838553
Allow contact notes to be viewed and edited from the contact about sheet 2024-04-09 16:31:25 -06:00
Elaine
bd3413b3eb
Sync Nicknames with Storage Service 2024-04-08 17:35:31 -06:00
Jordan Rose
b0de59f2e2 Remove required from every init that is not dynamically dispatched
This included:
- Removing unavailable inits wholesale if no longer `required`
- Marking a few classes `final` so they could continue using
  `Self(...)` rather than `OWSWhatever(...)`
2024-04-01 15:27:20 -07:00
Max Radermacher
27b6a62be8
Reformat ModalActivityIndicatorViewController 2024-04-01 15:28:51 -05:00
Jordan Rose
2727a70b90 Make AtomicValue's lock-sharing explicit
Also:
- Remove AtomicUInt's @objc, it's no longer used from ObjC
- Remove Codable conformances, they would implicitly use shared locks
  and weren't used in practice
2024-03-27 10:57:32 -07:00
Elaine
0887f70f1e
Streamline using a text view in a table view 2024-03-26 10:55:28 -06:00
Max Radermacher
8910fc4d5b
Move around files in SignalUI/ and the share ext 2024-03-25 14:22:28 -05:00
Elaine
f7f9d1ef82
Update existing bar button items using the new convenience methods 2024-03-25 12:20:19 -06:00
Max Radermacher
147cd56441
Remove debug-only RegistrationValues 2024-03-22 13:03:46 -05:00
Elaine
e0ded06335
Add convenience methods for creating bar buttons 2024-03-22 09:28:55 -06:00
Elaine
1aad6898ac
Simplify using OWSTextField in OWSTableItem 2024-03-21 14:19:08 -06:00
Max Radermacher
42c704a4e3
Remove some debug/verbose lines 2024-03-19 19:24:54 -05:00
Harry
a55476d667
Modernize LinkPreviewManager 2024-03-19 13:46:09 -07:00