Commit Graph

15 Commits

Author SHA1 Message Date
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
75f7cf6960 Add support for video trimming. 2019-10-31 17:26:38 -03:00
Michael Kirk
683b056a20 save from camera first 2019-08-13 15:55:12 -06:00
Nora Trapp
f9bfbedfc2 Updated input toolbar styling 2019-08-06 11:00:07 -07:00
Michael Kirk
9e704be729 Merge tag '2.41.0.12' 2019-07-22 14:33:01 -06:00
Michael Kirk
d3e3be90b6 remove isModalState, isAddMoreVisible block instead of copying around state 2019-07-22 12:35:08 -06:00
Michael Kirk
c36d691d11 Fix: selecting last message from tileView doesn't focus
The mostRecentAttachment is a separate and redundant instance with whats in the
media gallery item cache.

Alternatively, we could double down on the one-instance-per-value paradigm by
creating a way to manually add existing instances to the cache, but the value
semantics proposed here seemed more natural.

I wish we could have just made RailViewItem: Equatable, but alas "protocol can
only be used as a generic constraint because it has Self or associated type
requirements"
2019-07-17 14:54:51 -06:00
Matthew Chen
a68ff90b16 Allow multi-send from camera; allow per-message expiration from camera roll. 2019-07-10 13:39:26 -03:00
Michael Kirk
e1258156de use modern Hashable function 2019-05-22 16:03:07 -04:00
Michael Kirk
c6d7bc057f Rename SignalAttachmentItem -> AttachmentApprovalItem
No change in functionality, just trying to clarify what this "item" is for now
that it's being used more broadly.
2019-05-01 09:58:00 -06:00
Michael Kirk
0f12088cc6 Maintain image editor state when "adding more" 2019-05-01 09:50:09 -06:00
Michael Kirk
6f66e12141 Avoid thumbnail flicker when loading approval view
Though it might in theory be a bit slower, it's not measurably slower, and the
flicker brought on by making this async is worse than a tiny delay.
2019-04-26 15:03:43 -07:00
Michael Kirk
4af9fa6789 "add more" as rail cell 2019-04-22 13:44:48 -07:00
Michael Kirk
64a0c4bfaa auto-migrate to Swift5 2019-04-04 13:44:42 -06:00
Matthew Chen
0826864525 Decompose attachment approval into multiple source files. 2019-03-13 11:45:42 -04:00