Commit Graph

680 Commits

Author SHA1 Message Date
Nora Trapp
b77fac0729 Ignore typing indicators when updating lastVisibleSortId 2019-06-12 14:37:03 -07:00
Matthew Chen
397212f8a5 Add PDF view. 2019-06-12 12:27:16 -07:00
Nora Trapp
8753c15278 Fix gesture interactions for interactive pop (swipe to go back) 2019-06-11 18:52:13 -07:00
Jonathan Chan
135d051761 Accept autocorrect suggestion before sending
Previously, when we type a message in `ConversationViewController`, and then click "Send" when there is a pending autocorrect suggestion in the keyboard, the autocorrect suggestion is ignored. This results in messages being sent with typos. This commit accepts the autocorrect suggestion before the message is sent, emulating the behaviour in Apple Messages and Facebook Messenger.

Fixes #2875.

Signed-off-by: Jonathan Chan <jonchanyc@outlook.com>
2019-06-11 12:36:41 -07:00
Nora Trapp
a8235a1759 Swipe to reply 2019-06-10 12:35:06 -07:00
Michael Kirk
79124628c7 higher quality images for "documents" 2019-06-10 09:45:08 -05:00
Michael Kirk
c8ba6cb71e Remove old UIPicker code 2019-06-10 09:45:08 -05:00
Nora Trapp
dc77113a01 PR Feedback 2019-06-05 15:50:58 -07:00
Nora Trapp
7b9d3fe772 Allow scrubbing audio messages 2019-06-05 15:50:58 -07:00
Matthew Chen
9beaa7e19b Migrate all models. 2019-05-31 10:27:20 -04:00
Michael Kirk
fd13a58557 Allow repicking from giphy approval 2019-05-29 17:13:41 -06:00
Matthew Chen
fc25251dd8 Merge remote-tracking branch 'private/release/2.40.0' 2019-05-29 10:56:24 -04:00
Matthew Chen
83a39840ca Fix sticker keyboard edges cases around first responder. 2019-05-29 09:02:29 -04:00
Matthew Chen
ff73b3bef4 Tweak sticker keyboard height. 2019-05-29 09:02:29 -04:00
Michael Kirk
a837c75764 Simple send sans Yap 2019-05-28 17:31:53 -04:00
Matthew Chen
0b4728ba3f Merge remote-tracking branch 'private/release/2.40.0' 2019-05-24 11:17:02 -04:00
Nora Trapp
3d68bab1a5 Scroll to default position when opening a conversation in compose mode. 2019-05-23 12:38:11 -07:00
Michael Kirk
514160a03f less verbose logging since we now call this very rapidly 2019-05-23 12:43:44 -04:00
Matthew Chen
0cecce2e68 Use GRDB records for anyInsert() & anyUpdate(). Remove anySave(). Add handling of GRDB ids. 2019-05-22 09:18:42 -04:00
Matthew Chen
720f27074e Sketch out sticker tooltips. 2019-05-20 14:22:40 -04:00
Matthew Chen
c121898118 Rework sticker feature flags. 2019-05-16 17:48:46 -04:00
Matthew Chen
e5e9721dc3 Rework sticker feature flags. 2019-05-16 17:48:46 -04:00
Matthew Chen
030a384b34 Intercept open sticker pack URL. 2019-05-14 13:55:50 -04:00
Michael Kirk
ecb6c275f8 MessageSender API takes AnyTransaction 2019-05-14 10:44:55 -06:00
Matthew Chen
0a6581b9cb Reduce read timer to almost nothing. 2019-05-13 16:16:37 -04:00
Matthew Chen
75d4159f3f Rework sticker pack view. 2019-05-13 12:49:23 -04:00
Michael Kirk
2679d0614c avoid deadlock 2019-05-13 12:48:45 -04:00
Matthew Chen
23a1143c95 Respond to CR. 2019-05-09 13:42:36 -04:00
Matthew Chen
246131ebbd Fix "set unread" deadlock. 2019-05-09 13:39:23 -04:00
Matthew Chen
be0f0e0729 Always touch attachment message, if possible. 2019-05-09 13:19:58 -04:00
Matthew Chen
e318a8f224 Refine attachment handling. 2019-05-08 08:57:25 -04:00
Michael Kirk
116241df3f renames for clarity, fail hard on db error 2019-05-03 09:53:37 -06:00
Matthew Chen
8561f97242 Make sticker keyboard more sticky. 2019-05-03 10:20:35 -04:00
Matthew Chen
3b3445c0fd Respond to CR. 2019-05-03 09:19:19 -04:00
Matthew Chen
eff6788acb Rework input toolbar. 2019-05-03 08:58:45 -04:00
Michael Kirk
dafa3f12be Merge tag '2.39.0.8' 2019-05-01 14:34:15 -06:00
Matthew Chen
06b85e4c24 Respond to CR. 2019-05-01 10:04:09 -04:00
Matthew Chen
1ee8f71d1c More sticker-related navigation. 2019-05-01 09:56:07 -04:00
Matthew Chen
fb3bdf2ac2 Respond to CR. 2019-05-01 09:50:14 -04:00
Matthew Chen
539af6f1ed Add support for tap and long press on stickers. 2019-04-30 09:40:15 -04:00
Michael Kirk
a09ae5a953 Speed up switching between media VC's
As soon as one VC appears, we lay out the other so that switching is faster. In
particular, the first switching from the camera to the MediaLibrary felt sluggish
on a throttled iPhone 6

Stats

== BEFORE

Showing Camera first:

[Bench] title: Show-Camera, duration: 569.24ms
[Bench] title: Show-Media-Library, duration: 1299.46ms

[Bench] title: Show-Camera, duration: 382.29ms
[Bench] title: Show-Media-Library, duration: 959.83ms

[Bench] title: Show-Camera, duration: 386.76ms
[Bench] title: Show-Media-Library, duration: 926.05ms

Showing MediaLibrary first:

[Bench] title: Show-Media-Library, duration: 1507.26ms
[Bench] title: Show-Camera, duration: 376.21ms

[Bench] title: Show-Media-Library, duration: 1436.04ms
[Bench] title: Show-Camera, duration: 285.38ms

[Bench] title: Show-Media-Library, duration: 1409.29ms
[Bench] title: Show-Camera, duration: 266.48ms

== AFTER

Showing Camera first:

[Bench] title: Show-Camera, duration: 368.67ms
[Bench] title: Show-Media-Library, duration: 543.94ms

[Bench] title: Show-Camera, duration: 354.56ms
[Bench] title: Show-Media-Library, duration: 529.66ms

[Bench] title: Show-Camera, duration: 375.75ms
[Bench] title: Show-Media-Library, duration: 509.06ms

Showing MediaLibrary first:

[Bench] title: Show-Media-Library, duration: 1672.74ms
[Bench] title: Show-Camera, duration: 406.44ms

[Bench] title: Show-Media-Library, duration: 1483.55ms
[Bench] title: Show-Camera, duration: 253.94ms

[Bench] title: Show-Media-Library, duration: 1421.17ms
[Bench] title: Show-Camera, duration: 253.20ms
2019-04-26 16:50:05 -07:00
Michael Kirk
e0a4ca10a3 Fix: cancelled back-navigation shows wrong buttons 2019-04-26 16:28:03 -07:00
Matthew Chen
1845ff7c4b Render stickers. 2019-04-26 15:23:51 -04:00
Matthew Chen
abb7d1b548 Render stickers. 2019-04-26 15:23:51 -04:00
Matthew Chen
a766f1e944 Send stickers. 2019-04-26 12:34:56 -04:00
Matthew Chen
dec4513f46 Send stickers. 2019-04-26 12:34:56 -04:00
Matthew Chen
c229f39012 Add sticker sync messages. 2019-04-22 10:26:09 -04:00
Michael Kirk
c08461c135 Merge tag '2.39.0.1' 2019-04-17 12:01:36 -06:00
Matthew Chen
384457fefc Sketch out SDS extensions for interaction models. 2019-04-16 09:03:07 -04:00
Michael Kirk
349dd61fee adapt iOS9 fix to new media flow 2019-04-15 14:35:35 -06:00