Commit Graph

61 Commits

Author SHA1 Message Date
Matthew Chen
081a62793d Fix attachment send button. 2019-08-09 21:37:54 -03:00
Matthew Chen
6ed12aa9fe Respond to CR. 2019-08-09 15:29:47 -03:00
Matthew Chen
f53bc36c4c Hide the 'View once photo' indicator. 2019-08-09 14:43:50 -03:00
Nora Trapp
f9bfbedfc2 Updated input toolbar styling 2019-08-06 11:00:07 -07:00
Matthew Chen
eccfad0f46 Merge remote-tracking branch 'private/release/2.41.0' 2019-08-06 12:12:39 -03:00
Michael Kirk
eea9e064ce new send buttons 2019-08-02 09:26:24 -06:00
Michael Kirk
afd9d7781a Camera First flow 2019-08-02 09:26:23 -06:00
Matthew Chen
4f03f969fc Rework "view once" messages. 2019-08-01 16:13:37 -03:00
Michael Kirk
9e704be729 Merge tag '2.41.0.12' 2019-07-22 14:33:01 -06:00
Matthew Chen
27efb2a1b0 Fix 'image editor vs. per-message expiration' bug. 2019-07-22 13:37:57 -06:00
Michael Kirk
a8dd11d231 simplify 2019-07-22 12:35:08 -06:00
Michael Kirk
d3e3be90b6 remove isModalState, isAddMoreVisible block instead of copying around state 2019-07-22 12:35:08 -06:00
Matthew Chen
a95182edc8 Fix modal attachment approval. 2019-07-22 12:35:08 -06:00
Michael Kirk
0c6e6787ed update flag name for clarity 2019-07-22 09:12:09 -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
Matthew Chen
cde2cfbdd1 Respond to CR. 2019-06-17 11:17:52 -04:00
Matthew Chen
8c31562b0c Fix edge cases in attachment approval toolbar layout. 2019-06-17 11:17:52 -04:00
Matthew Chen
87cea17e85 Fix edge cases in attachment approval toolbar layout. 2019-06-17 11:17:52 -04:00
Matthew Chen
a62376b3f9 Remove sendingMediaWithOversizeText feature flag. 2019-06-17 11:17:52 -04:00
Matthew Chen
97cfb32d29 Rework camera flow for one-off disappearing messages. 2019-06-17 11:17:52 -04:00
Nora Trapp
13a80ef8aa Accept autocorrect suggestions in all the textViews that can be dismissed without the keyboard 2019-06-13 09:24:03 -07:00
Nora Trapp
ca22869f7d Also cleanup borders on link previews in dark mode 2019-05-31 14:13:40 -07:00
Nora Trapp
3125cc3580 Slightly bump up the border width of the input tool bar to improve anti-aliasing. 2019-05-31 12:00:41 -07:00
Michael Kirk
49ae6ad50d show "Back" text on button 2019-05-29 17:13:41 -06:00
Michael Kirk
2502b54cd5 Don't show "Add More" for gif picker 2019-05-29 17:13:41 -06: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
1b8bcfeb30 more padding for custom back button 2019-04-26 17:12:23 -07:00
Michael Kirk
e0a4ca10a3 Fix: cancelled back-navigation shows wrong buttons 2019-04-26 16:28:03 -07: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
0f1cac16f0 only show caption if there is more than 1 attachment 2019-04-25 09:02:22 -07:00
Michael Kirk
1c5233aaa3 Use correct icon for "Add Caption" vs. "Has Caption" 2019-04-25 09:02:22 -07:00
Michael Kirk
38dbe6c913 Fix "content behind call banner" when status bar is hidden
The height of the call banner includes the height of the status bar,
even if the status bar is hidden.
2019-04-23 08:52:45 -07:00
Michael Kirk
19002a13b1 Cannot delete last item in rail 2019-04-22 13:44:48 -07:00
Michael Kirk
4af9fa6789 "add more" as rail cell 2019-04-22 13:44:48 -07:00
Michael Kirk
57b1aaa3dc inline enum converters 2019-04-04 13:44:42 -06:00
Michael Kirk
30266bf65e autoformatted 2019-04-04 13:44:42 -06:00
Michael Kirk
64a0c4bfaa auto-migrate to Swift5 2019-04-04 13:44:42 -06:00
Michael Kirk
07e88009e4 Merge tag '2.38.0.11' 2019-04-01 14:04:43 -06:00
Matthew Chen
a3efb58d15 Respond to CR. 2019-03-28 18:29:19 -04:00
Matthew Chen
517a550593 Further improve "first responder" behavior in the image editor. 2019-03-28 18:06:35 -04:00
Matthew Chen
eb5cf3978c Fix first responder issue in image editor. 2019-03-28 18:05:46 -04:00
Michael Kirk
fa2d5b422b maintain body text navigating to/from approval view 2019-03-28 11:58:43 -06:00
Michael Kirk
7dbb9517af Centralize attachment state in nav controller 2019-03-28 10:30:47 -06:00
Matthew Chen
db958f4a01 Preserve caption text of edited images. 2019-03-26 21:24:25 -06:00
Matthew Chen
558b5f5816 Tap to dismiss caption editor. 2019-03-21 15:21:36 -04:00
Matthew Chen
3795fd1381 Enable image editor in production. 2019-03-14 16:42:25 -04:00
Matthew Chen
684cebf2df Respond to CR. 2019-03-14 13:29:40 -04:00