Commit Graph

136 Commits

Author SHA1 Message Date
Nora Trapp
7a8fbcc9f4 Don't allow sending high quality outside of the main app 2021-07-23 21:20:08 -07:00
Nora Trapp
fdccbd71a6 Allow image quality selection 2021-07-22 13:57:25 -07:00
Matthew Chen
ccd2cedbc8 Apply LRUCache everywhere. 2021-06-30 16:01:08 -03:00
Matthew Chen
e8aaf6c028 Port CVC to Swift. 2021-06-18 09:39:46 -03:00
Matthew Chen
786e7cef3d Fix build warnings. 2021-06-07 11:11:28 -04:00
Michelle Linington
054c7a0b0c MP4 looping media support
- Fetch mp4s from Giphy for showing previews
- Fetch mp4s from Giphy for sending (behind featuree flag)
- A new flag on attachments to tag a video as "looping media"
- Videos tagged with this flag will be shown on repeat
2021-04-22 14:53:47 -07:00
Matthew Chen
ea6f8a7f86 Clean up formatting of MOB values for display. 2021-04-06 13:57:08 -03:00
Nora Trapp
470e6afb26 Hide navbar background when scrolled to top 2021-03-05 09:07:00 -08:00
Matthew Chen
f359af8ae6 Revert "Hide navbar background when scrolled to top"
This reverts commit 734a26ad71.
2021-03-05 13:56:22 -03:00
Nora Trapp
734a26ad71 Hide navbar background when scrolled to top 2021-03-05 00:31:50 -08:00
Michelle Linington
4af5c2dbcc Rebase and lint 2021-01-12 15:06:41 -08:00
Michelle Linington
56caf0e361 Cleanup and bug fixing
- Better comments
- Fix issues around how cancelled promises propogate
- Opportunistic bug fixing with alert presentation
2021-01-12 15:06:41 -08:00
Michelle Linington
e5573a6f30 IOS-1014: Fail to send video attachment after scrubbing and trimming
Fixes an issue where scrubbing and trimming a video attachment will
cause the send to fail.

This was caused by an issue with how we prerender trimmed video during a
scrub gesture. This fixes this by only performing the render when
necessary.

Additionally, this changes up some of the lifecycle around rendering
trimmed videos. Replaces the NSOperation with a promise chain to avoid
unnecessary queue hopping.
2021-01-12 15:06:41 -08:00
Matthew Chen
d09524c3f8 Update CVC contentInset after keyboard presentation/dismissal. 2020-12-23 17:46:31 -03:00
Michelle Linington
c6004c9fc5 PR Feedback. Adopt similar behavior in AttachmentTextView 2020-12-10 14:23:30 -08:00
Matthew Chen
de405a2470 Update feature flags and remote config for v3.20. 2020-10-15 14:06:56 -03:00
Matthew Chen
3480af38e4 Fix build warnings. 2020-09-25 15:16:19 -03:00
Nora Trapp
9e958ca972 PR Feedback 2020-09-23 15:04:48 -07:00
Fumiaki Yoshimatsu
7cae74e432 Increase the vertical insets of placeholders and text inputs to keep them vertically aligned when the system is set to use smaller font and it contains only a line of text. Fixes #4273 2020-09-23 14:54:23 -07:00
Matthew Chen
66510bc18f DRY singleton accessors. 2020-09-17 21:13:14 -03:00
Nora Trapp
634402f039 Merge branch 'release/3.15.0' 2020-08-20 18:10:37 -07:00
Nora Trapp
a631a890d1 Extend attachment input toolbar behind keyboard. 2020-08-20 17:26:35 -07:00
Matthew Chen
7c047d5798 Minor cleanup. 2020-08-19 10:51:57 -03:00
Nora Trapp
cfe9862d94 Mentions Remote Flag 2020-08-07 17:16:35 -03:00
Nora Trapp
340f8366d9 Allow tapping mentions in message bubbles 2020-08-04 14:09:06 -07:00
Nora Trapp
4696a4d993 Mention sending 2020-08-04 14:08:30 -07:00
Nora Trapp
90e1d54ce3 Add mention picker support to attachment flows 2020-07-30 11:23:45 -07:00
Matthew Chen
19054e739f Move writes off of main thread. 2020-06-07 15:02:24 -03:00
Nora Trapp
ebc2943f80 Don't show the blur tooltip for non-editable attachments 2020-06-04 08:36:09 -07:00
Nora Trapp
8944e8517e Finalize blur tool UI 2020-06-03 14:15:36 -07:00
Matthew Chen
6b4f192b1b Remove usage of retainUntilComplete. 2020-05-22 09:51:12 -03:00
Matthew Chen
b42f1968cc Fix build warnings around initializers. 2020-04-08 16:05:54 -03:00
Matthew Chen
b5c069ed95 Clean up VC initializers. 2020-04-08 09:26:25 -03:00
Matthew Chen
c7df10eb36 Apply CGSize(square:). 2020-04-06 11:34:21 -03:00
Matthew Chen
e097239dcd Sketch out revised "new group" view. 2020-03-17 10:31:20 -03:00
Matthew Chen
547f89e51e Merge tag '3.6.1.4' 2020-03-06 10:49:28 -03:00
Nora Trapp
76a0d688bb Use a different text color for the attachment approval placeholder 2020-03-03 15:29:54 -08:00
Matthew Chen
7c4c9be8b4 Merge remote-tracking branch 'private/release/3.6.0' 2020-03-03 11:40:53 -03:00
Nora Trapp
1b8f38770d Show recipient name(s) on attachment approval view. 2020-03-02 11:00:15 -08:00
Michael Kirk
ace5717df7 remove viewOnce feature flag 2020-02-12 15:19:56 -07:00
Matthew Chen
2734f01dcd Merge tag '3.3.0.5' 2020-01-27 12:00:09 -03:00
Matthew Chen
993dca8ec9 Remove redundant NotificationName. 2020-01-27 10:53:23 -03:00
Nora Trapp
93663765a7 Fix vertical alignment of conversation + attachment approval textView 2020-01-25 14:43:46 -08:00
Nora Trapp
1d42c4c86b Preserve message text when pasting an attachment. 2020-01-25 14:27:01 -08:00
Matthew Chen
a392d49cc0 Avoid String.prefix() crash. 2020-01-24 18:47:28 -08:00
Nora Trapp
2b08989fa3 View-once setting is not sticky 2020-01-10 13:04:15 -08:00
Matthew Chen
1987368a10 Respond to CR. 2019-12-26 16:48:55 -03:00
Matthew Chen
95eef78518 Respond to CR. 2019-12-26 16:44:32 -03:00
Matthew Chen
4ff0b22df8 Add "view once" tooltip. 2019-12-26 16:35:10 -03:00
Matthew Chen
1bfdef6bbc Add "view once" tooltip. 2019-12-26 16:35:10 -03:00