Commit Graph

1373 Commits

Author SHA1 Message Date
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
Matthew Chen
dec4513f46 Send stickers. 2019-04-26 12:34:56 -04:00
Matthew Chen
342b662d17 Sketch out sticker keyboard. 2019-04-26 12:15:11 -04:00
Matthew Chen
5b4520f06a Sketch out sticker keyboard. 2019-04-26 12:15:11 -04:00
Matthew Chen
1454773d99 Respond to CR. 2019-04-25 09:54:49 -04:00
Matthew Chen
c229f39012 Add sticker sync messages. 2019-04-22 10:26:09 -04:00
Michael Kirk
baef0815b1 GRDB: info message text for interation previews 2019-04-17 15:43:40 -06:00
Michael Kirk
c08461c135 Merge tag '2.39.0.1' 2019-04-17 12:01:36 -06:00
Michael Kirk
7e399e65d8 Adapt Mapping to code-gen interactions 2019-04-16 10:53:50 -04: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
Michael Kirk
b175bd77a5 Fix "too much content inset" issue 2019-04-12 09:14:57 -06:00
Matthew Chen
6ea3a321e0 Re-introduce the SDSTransaction classes; add "any" methods for save, fetch that discriminate transaction type. 2019-04-11 11:01:54 -04:00
Michael Kirk
916cc0706d adapt to new transaction naming scheme 2019-04-11 09:16:11 -04:00
Matthew Chen
5ca2991f0c Sketch out the SDS code generation.
* Copy SDS code generation and utility files from playground.
2019-04-11 09:15:28 -04:00
Michael Kirk
ee3697793a GRDB adapter for message mapping 2019-04-10 16:28:18 -06:00
Michael Kirk
a9ba848ffc address notification race 2019-04-10 07:13:10 -06:00
Matthew Chen
6c1d6cc201 Simplify the scroll down button layout. 2019-04-09 15:46:42 -04:00
Matthew Chen
40bd2b06d2 Simplify the scroll down button layout. 2019-04-09 14:55:49 -04:00
Matthew Chen
42871bb6a6 Simplify the scroll down button layout. 2019-04-09 14:48:01 -04:00
Matthew Chen
0e87d2e5b3 Simplify the scroll down button layout. 2019-04-09 14:38:29 -04:00
Matthew Chen
79d594b4d3 Ensure that conversation view's content insets reserve space for input accessory view when app is inactive. 2019-04-09 14:36:30 -04:00
Michael Kirk
78790ab69d swift style lint 2019-04-04 13:44:42 -06:00
Michael Kirk
cfebb53719 more concise constants post translation 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
501e2c761f Merge tag '2.38.1.2' 2019-04-04 13:42:07 -06:00
Michael Kirk
5e96769a12 resize voice note bar with rotation 2019-04-03 10:55:33 -06:00
Michael Kirk
63907acb54 Don't update "cancel" status when locked 2019-04-03 10:54:54 -06:00
Michael Kirk
8ead2cc83d fix overzealous assert 2019-04-03 10:53:08 -06:00
Michael Kirk
fdc9db3487 iOS9 workaround to restore input view after sending captioned attachment 2019-04-03 10:52:00 -06:00