Commit Graph

1403 Commits

Author SHA1 Message Date
Matthew Chen
75d4159f3f Rework sticker pack view. 2019-05-13 12:49:23 -04:00
Matthew Chen
5aeb9e205a 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
Michael Kirk
aa37cdbadd GRDB: Avoid assert when missing dynamic interactions
Triggered whenever entering a conversation
2019-05-13 12:48:45 -04:00
Matthew Chen
2d2359c084 Fix overzealous assert. 2019-05-10 13:59:38 -04:00
Matthew Chen
26f2ea6bf3 Fix various issues. 2019-05-10 11:18:59 -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
ef9cc136cf Respond to CR. 2019-05-09 13:38:31 -04:00
Matthew Chen
1376e17318 Render failed stickers in conversation view. 2019-05-09 13:19:58 -04:00
Matthew Chen
be0f0e0729 Always touch attachment message, if possible. 2019-05-09 13:19:58 -04:00
Michael Kirk
43846f9a51 Merge tag '2.39.0.13' 2019-05-08 14:17:14 -06:00
Matthew Chen
2d86e21e3b Auto-enable stickers. 2019-05-08 09:14:27 -04:00
Matthew Chen
ab706c775b Fix issues around quoted replies vs. stickers. 2019-05-08 09:07:23 -04:00
Matthew Chen
eb81fe2675 Protect stickers from stretching. 2019-05-08 09:03:37 -04:00
Matthew Chen
e318a8f224 Refine attachment handling. 2019-05-08 08:57:25 -04:00
Michael Kirk
cfed9fbe0d redirect link preview to valid link 2019-05-07 15:05:34 -06:00
Michael Kirk
116241df3f renames for clarity, fail hard on db error 2019-05-03 09:53:37 -06:00
Matthew Chen
8e88a2807c Remove completed TODO. 2019-05-03 10:22:24 -04:00
Matthew Chen
8561f97242 Make sticker keyboard more sticky. 2019-05-03 10:20:35 -04:00
Matthew Chen
43bfff7180 Cache suggested sticker results. 2019-05-03 10:06:27 -04:00
Matthew Chen
598926e68b Respond to CR. 2019-05-03 09:59:08 -04:00
Matthew Chen
87f8314902 Pull out StickerHorizontalListView. 2019-05-03 09:24:12 -04:00
Matthew Chen
7ce0a0173c Pull out StickerHorizontalListView. 2019-05-03 09:24:12 -04:00
Matthew Chen
721c57ce08 Pull out StickerHorizontalListView. 2019-05-03 09:24:12 -04:00
Michael Kirk
8389cfb1ea fix recording offset on iPhoneX 2019-05-03 09:21:24 -04:00
Matthew Chen
3b3445c0fd Respond to CR. 2019-05-03 09:19:19 -04:00
Matthew Chen
870de2e048 Respond to CR. 2019-05-03 08:58:45 -04:00
Matthew Chen
0e690df985 Rework input toolbar. 2019-05-03 08:58:45 -04:00
Matthew Chen
eff6788acb Rework input toolbar. 2019-05-03 08:58:45 -04:00
Michael Kirk
3c7f994b34 DB updates UI
-[x] uiRead from Snapshot
-[x] update snapshot after writes
-[x] notify observers of change
-[x] external notifications
2019-05-02 14:22:53 -06:00
Michael Kirk
4903815229 Remove Interaction.sortId column from GRDB
Instead back it from Interactin.id
2019-05-02 07:52:50 -06: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
bc4f35f5e2 Add the sticker pack view. 2019-04-30 16:41:14 -04:00
Matthew Chen
a81acfa788 Apply asAnyRead/Write convenience methods. 2019-04-30 10:11:19 -04:00
Matthew Chen
e098c78305 Clean up ahead of PR. 2019-04-30 09:40:48 -04:00
Matthew Chen
744fcf742e Fix edge cases around sticker interactions. 2019-04-30 09:40:15 -04:00
Matthew Chen
539af6f1ed Add support for tap and long press on stickers. 2019-04-30 09:40:15 -04:00
Matthew Chen
98eecba713 Pull out OWSMessageView. 2019-04-30 09:40:15 -04:00
Matthew Chen
783858ea52 Remove extra semicolons. 2019-04-30 09:39:04 -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
c8913dc32b Render stickers. 2019-04-26 15:23:51 -04: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
c98b3b6966 Render stickers. 2019-04-26 15:23:51 -04:00
Matthew Chen
a766f1e944 Send stickers. 2019-04-26 12:34:56 -04:00