Commit Graph

2212 Commits

Author SHA1 Message Date
Matthew Chen
6a71d417ca Merge branch 'release/3.17.2' 2020-09-21 17:17:04 -03:00
Matthew Chen
d512f53331 Respond to CR. 2020-09-21 16:59:18 -03:00
Matthew Chen
84a899bad1 Never show verified group indicator if group is empty. 2020-09-21 16:59:18 -03:00
Matthew Chen
93ab44ef92 Fix message request view. 2020-09-21 16:33:02 -03:00
Matthew Chen
86b86fbae6 Remove old databaseStorage property. 2020-09-21 12:49:29 -03:00
Matthew Chen
686aee752c Rename OWSMessageSender -> MessageSender. 2020-09-17 21:35:35 -03:00
Matthew Chen
f337c912e5 Respond to CR. 2020-09-17 21:30:27 -03:00
Matthew Chen
41f1b31a8c Defer load of bottom bar in conversation view. 2020-09-17 21:30:26 -03:00
Matthew Chen
764a0ad21f Avoid collection view layout and measurement during CVC configuration. 2020-09-17 21:29:38 -03:00
Matthew Chen
1aae1b26af DRY singleton accessors. 2020-09-17 21:13:14 -03:00
Matthew Chen
22aac34f99 DRY singleton accessors. 2020-09-17 21:13:14 -03:00
Matthew Chen
becc5cfede DRY singleton accessors. 2020-09-17 21:13:14 -03:00
Matthew Chen
66510bc18f DRY singleton accessors. 2020-09-17 21:13:14 -03:00
Matthew Chen
c017e76aab Rename singleton accessors. 2020-09-17 21:11:09 -03:00
Matthew Chen
ad6bda8a44 Rename singleton accessors. 2020-09-17 21:11:07 -03:00
Matthew Chen
5d831fbd3d Debounce updating CVC to reflect profile updates. 2020-09-17 17:32:09 -03:00
Matthew Chen
7c5043e163 Touch less; touch more carefully. 2020-09-17 17:31:23 -03:00
Michelle Linington
43b12a6185 IOS-840: Emoji reaction picker truncating some emojis
This fixes an issue where some emojis in the emoji reaction picker are
truncated and replaced with an ellipsis.

This only occurs on certain devices and I haven't been able to repro in
the simulator. A couple devices I've seen this occur on:
- iPhone X running iOS 13.6 and 13.7
- iPhone SE 2 running iOS 14b5

The issue has something to do with the typographic box for certain emoji
glyphs having a slightly larger size than most other emojis. The actual
glyph seems to have the same size. Many of the broken emojis have a ZWJ,
but there are some correctly sized emojis that also have a ZWJ.

The emojis that I've used for testing are:
- 👩‍🦰 (Woman + ZWJ + Red Hair)
  Typographic size: 36.00x38.19. Image glyph size: 32.00x32.00
- 👱‍♀️ (Blond person + ZWJ + Female)
  Typographic size: 40.00x38.19. Image glyph size: 32.00x32.00

To workaround this, we set the line break mode on the emoji label to
clip. On devices that don't have this issue, nothing changes. On devices
that do have this issue, we end up clipping a bit of the typographic
rect. In testing, it seems that we never end up clipping the actual
glyph image. But even if we do, it's at least better than truncating.
2020-09-13 21:10:31 -07:00
Matthew Chen
2ba0577e03 Update input if user is removed from group. 2020-09-10 22:08:31 -03:00
Nora Trapp
3ac8696da3 Delete mentions megaphone 2020-09-10 15:02:50 -07:00
Nora Trapp
f67bffd637 Add link preview support to share extension and forwarding 2020-09-08 19:58:29 -07:00
Matthew Chen
09bc208d95 Handle expired group links. 2020-09-08 17:53:46 -03:00
Matthew Chen
02cd90db5f Improve handling of group invite link edge cases. 2020-09-08 17:44:56 -03:00
Matthew Chen
8a0b78e5e3 Respond to CR. 2020-09-08 17:44:17 -03:00
Matthew Chen
830713d431 Update link previews for group invite links. 2020-09-08 17:33:50 -03:00
Matthew Chen
6135e3c482 Update link previews for group invite links. 2020-09-08 17:33:50 -03:00
Matthew Chen
ad60924ad1 Add UI for pending member requests and ability to cancel. 2020-09-04 17:36:20 -03:00
Matthew Chen
39d4e123b1 Fix edge case around dismissing message request view. 2020-09-04 17:36:20 -03:00
Matthew Chen
27d6236d7b Add "pending member requests" banner. 2020-09-04 08:45:06 -03:00
Matthew Chen
0f7ce32819 Add "pending member requests" banner. 2020-09-04 08:45:06 -03:00
Matthew Chen
e578468ca2 Add "pending member requests" banner. 2020-09-04 08:45:06 -03:00
Matthew Chen
7b47f79e96 Refine group invite link UI. 2020-09-04 08:45:06 -03:00
Nora Trapp
898155b794 Merge branch 'release/3.16.0' 2020-09-03 18:56:52 -07:00
Michelle Linington
6174ab2d41 Added a whole bunch more UI changes
This is now pretty close to the design spec. Most significant change
here is adding a new stack view configuration joining the title and the
thumbnail, both floating above description text.
2020-09-03 18:25:05 -07:00
Michelle Linington
7e01f9a2c5 IOS-824: Link preview UI tweaks
Makes some minor adjustments to the link preview UI in preparation for
release.
2020-09-03 18:25:05 -07:00
Matthew Chen
cdd27f7c27 Rework the 'pending member requests and invites' view. 2020-09-03 18:33:07 -03:00
Matthew Chen
825cb06edb Animated sticker support. 2020-09-02 13:44:15 -03:00
Matthew Chen
0c16380d6a Animated sticker support. 2020-09-02 13:44:14 -03:00
Matthew Chen
f80059f8e9 Add support for animated stickers. 2020-09-02 13:44:13 -03:00
gte-signal
dc314b38b9 Tweak Dismiss Animation
Make sure the background view controller is showing by presenting the camera capture over full screen context.
Remove swipe speed as a dismiss trigger -- it was too easy to accidentlly dismiss the camera capture view. If you're in the camera you don't want quick swipe to dimiss the view and maybe miss what you wanted to take a photo of.
Constaint dismiss animation to vertical and only dismiss downwards. Tweak the distance required to drag to enage the dismiss action.
2020-09-01 20:39:02 -07:00
Matthew Chen
12323ed1e0 Update "group update" info messages to reflect group links. 2020-09-01 18:09:39 -03:00
Matthew Chen
40af807238 Update "group update" info messages to reflect group links. 2020-09-01 18:09:38 -03:00
Matthew Chen
a60842c576 Add group invite link action sheet. 2020-09-01 17:30:54 -03:00
Matthew Chen
b2e9111ddd Add group invite link action sheet. 2020-09-01 17:25:02 -03:00
Matthew Chen
af7071ccc2 Add "share group link QR code" view. 2020-09-01 17:11:09 -03:00
Matthew Chen
ed6ec5362d Add group link view. 2020-09-01 17:11:09 -03:00
Matthew Chen
22c90550b7 Respond to CR. 2020-09-01 17:11:08 -03:00
Matthew Chen
aa88bb712c Model changes for group links. 2020-09-01 17:11:07 -03:00
Matthew Chen
37bc3a7b97 Avoid races when processing incoming messages or sync transcripts around attachment download. 2020-09-01 17:08:59 -03:00
Michelle Linington
266be12ccb IOS-819: Quoted contact share fails to render
This fixes an issue where we'd incorrectly construct a quoted message
body for shared contacts.

This also fixes an issue where ConversationViewItems would incorrectly
OWSAssertDebug on a body-less message (e.g. sending an image).
2020-08-31 14:55:55 -07:00