Commit Graph

142 Commits

Author SHA1 Message Date
Pete Walters
79122a2301
Notify when an attachment stops downloading due to exception 2026-05-29 17:19:02 -05:00
Pete Walters
e0b88ecf86
Remove unnecessary dispatch during progress view layout 2026-05-27 22:12:06 -05:00
Pete Walters
507d23b760
Always listen for progress in CVAttachmentProgressView 2026-05-26 12:28:44 -05:00
Igor Solomennikov
296aa8cc46
Improved message selection indicators in chat.
• use SelectionIndicatorView in chat.
• modify SelectionIndicatorView to allow to configure ring color.
• improve legibility by using custom shade of gray for selection indicator in "not selected" state in chat when in light mode and with a wallpaper set.
2026-05-15 14:35:43 -07:00
Igor Solomennikov
1f4b88f6d2
Use Theme.iconImage() where possible.
Instead of UIImage(named: Theme.iconName(xxx)).
2026-05-14 11:01:27 -07:00
Igor Solomennikov
0ab127a327
Smaller selection indicator checkmark asset. 2026-05-13 16:36:22 -04:00
Igor Solomennikov
ebc5e1a96e
Tweak appearance of selection indicators in conversation picker. 2026-05-13 13:15:11 -07:00
Pete Walters
c75e957b68
Separate 'isVideo' from 'isVideoReadyToPlay' 2026-05-12 11:33:04 -05:00
Pete Walters
5e0bfaadbf
Update MediaGallery to tolerate undownloaded attachments 2026-05-11 17:15:04 -05:00
Sasha Weiss
58a66af262
Remove the .animatedImage case from Attachment.ContentType 2026-05-08 16:58:23 -07:00
Sasha Weiss
a33cc6affa
Remove the .invalid case from Attachment.ContentType 2026-05-08 16:56:19 -07:00
Sasha Weiss
c23eaa6bfc
Remove associated values from Attachment/ContentType
Co-authored-by: Pete Walters <pete@signal.org>
2026-04-30 09:16:49 -07:00
Sasha Weiss
a859dcb003
Make Attachment/ContentType associated values optional 2026-04-30 09:14:41 -07:00
Igor Solomennikov
a9043176e2
Updated styling for "view once" messages.
• no longer omit bubble background for viewed "view once" messages.
• add a circular background for status icons - same as used by CVAttachmentProgressView.
• updated icon for "viewed" "view once" message.
2026-04-27 18:21:40 -07:00
Igor Solomennikov
b4bf39f350
Add subtle border and shadow around media download/upload indicators.
Make the controls stand out more over plain light-colored backgrounds.
2026-04-27 15:51:45 -07:00
Igor Solomennikov
e309cb6018
Use ThemeIcon.refresh in two places instead of using resource name. 2026-04-16 13:13:17 -05:00
Igor Solomennikov
3c73d8fb73
No special "refresh" icon when media download in chat has failed before. 2026-04-16 13:12:28 -05:00
Igor Solomennikov
86b40cf437 Use 'stop' icon with media download progress indicators. 2026-04-14 15:27:58 -07:00
Max Radermacher
899749939a
Rename “pending or failed” to “skipped” 2026-04-13 12:01:34 -05:00
Max Radermacher
06ddf74e3c
Remove assertion in ReusableMediaView’s deinit 2026-04-10 16:03:31 -05:00
Igor Solomennikov
3afd66d080
Improved checkmarks when selecting messages in chat.
• match empty circle and filled circles in diameter.
• use chat tint color for checkmark background in `selected` state.
2026-04-10 13:24:16 -07:00
kate-signal
1a07a9a252
Message request state updates 2026-04-10 14:19:02 -04:00
Igor Solomennikov
682d86de16
Use CircularProgressView to show media download/upload progress. 2026-04-07 15:23:30 -07:00
Igor Solomennikov
4d383e939c
Don't use ColorValueProvider in AudioPresenter protocol.
Let protocol adopters return UIColor and construct ColorValueProvider at the same place Lottie view is configured.
2026-04-03 15:22:23 -07:00
Max Radermacher
624ee6359d
Add memory safe localized string method 2026-04-03 16:20:31 -05:00
Sasha Weiss
d26bfaa27b
Support backfilling attachments primary -> linked via AttachmentBackfill syncs 2026-04-01 15:22:10 -07:00
kate-signal
28d8f37977
Fix story reaction string 2026-03-31 09:57:20 -05:00
Max Radermacher
13d5fe93dc
Run swiftformat . using v0.60.1 2026-03-26 17:10:38 -05:00
sashaweiss-signal
fe06870c70 Build fix after rebase 2026-03-25 09:55:50 -07:00
sashaweiss-signal
7c0a5b028d Inline/Remove some Attachment convenience properties 2026-03-24 21:29:18 -07:00
Max Radermacher
a305029f9a
Add missing imports 2026-03-24 16:09:03 -05:00
Igor Solomennikov
b64a48e6c1
Do not use blur background bubbles in chat when "reduce transparency" is on. 2026-03-24 12:59:48 -07:00
Igor Solomennikov
5adccead24
Blur background for play button over video messages in chat.
Also use same blur background for broken media indicator.
2026-03-19 13:58:05 -07:00
Igor Solomennikov
94e3116b85
Fix incorrect download progress view color in story viewer.
Lottie doesn't play well with dynamic colors, capturing the value before UIKit applies proper traits to the view.

Mitigate this issue providing `forceDarkMode` flag for applicable uses (story viewer).
2026-03-18 14:53:26 -07:00
Igor Solomennikov
ac5f17dcba
Update media download progress indicator with blur background. 2026-03-17 14:57:55 -07:00
Igor Solomennikov
606d5ced23
Clean up CVMediaView and CVMediaAlbumView. 2026-03-12 17:23:50 -07:00
Igor Solomennikov
65c2b08989
Fix incorrect border for message tombstones when no wallpaper. 2026-03-05 00:13:00 -06:00
Igor Solomennikov
d3da4e132e
Clean up link preview UI a bit more. 2026-03-05 00:04:37 -06:00
Igor Solomennikov
6c6faae2db
Redo how customization of CVLinkPreviewView is implemented.
And use proper text color for outgoing link previews.
2026-03-02 13:55:50 -08:00
Igor Solomennikov
ae989e63c7
Fix group links and call links not having a preview in chat.
I changed `CVLinkPreviewView` and `CVComponentLinkPreview` to work with `LinkPreviewSent` instead of `LinkPreviewState` (a protocol) to simplify things. Turns out there are two more classes that adopt `LinkPreviewState` (group and call links), so that change was incorrect and this commit reverses it.
2026-03-02 13:18:30 -08:00
kate-signal
68d59f407f
Fix quote reply colors for member labels 2026-03-02 08:34:24 -05:00
Igor Solomennikov
37e1a99209
Big update of link preview views.
LinkPreviewView was previously used to show link previews in chat and in Share Extension when text being shared contained an url. This commit renames LinkPreviewView to CVLinkPreviewView and simplifies the component to only handle sent links - support for showing intermediate "loading" state as well as having a cancel button to remove link preview - has been removed from this class.

OutgoingLinkPreviewView is used to show "link preview draft" in the chat input toolbar. This commit renames the class to LinkPreviewView and adopts this component to be used in Share Extension in place of the component mentioned above.

All those changes result in update link preview UI in Share Extension - visible when sharing a website from Safari or other mobile browser.
2026-02-26 21:12:36 -08:00
Igor Solomennikov
de0d094f16
Update colors for "generic attachment" bubbles.
CVAttachmentProgressView is the one that had to be updated the most since it displays "download" icon and download progress view, which now must have colors depending on type of the bubble (incoming vs outgoing) and whether or not there's a wallpaper in chat.

Other changes include font weight and size updates.
2026-02-23 16:56:08 -08:00
Igor Solomennikov
980e96f046 Fix no rounded corners in wallpaper preview screen. 2026-02-20 18:29:11 -08:00
Igor Solomennikov
5da1c6e1d4
Adopt new colors for elements in chat message bubbles.
• new background color for quoted messages.
• new colors for buttons in chat message bubbles.

Also cleaned up Theme and UIColor extension.
2026-02-20 16:21:08 -08:00
kate-signal
8811616e87
Include your own member label in quote reply 2026-02-20 16:02:21 -05:00
kate-signal
c7a73e2943
make CVCapsule less janky 2026-02-20 13:31:52 -05:00
Igor Solomennikov
48484b87fa
Use CGPath to create rounded rect instead of UIBezierPath 2026-02-19 12:05:30 -08:00
Igor Solomennikov
9fa35aa9d0
Update appearance of message quotes in chat.
• different background and text colors.
• rename class to CVQuotedMessageView for consistency.
2026-02-18 14:05:25 -08:00
Igor Solomennikov
b975c31a37
Tweak appearance of contact share messages. 2026-02-18 11:22:46 -08:00