Commit Graph

5251 Commits

Author SHA1 Message Date
sdkjfhsdkjhfsdlkjhfsdf
82aeee301d can delete text messages again
// FREEBIE
2017-12-20 14:26:53 -06:00
sdkjfhsdkjhfsdlkjhfsdf
f5b9ae97ef fix insets for incoming vs outgoin
// FREEBIE
2017-12-20 14:26:53 -06:00
sdkjfhsdkjhfsdlkjhfsdf
eeaea5fa01 better match for corner radius
// FREEBIE
2017-12-20 14:26:53 -06:00
sdkjfhsdkjhfsdlkjhfsdf
0ea3a36559 make sure captioned attachment doesn't grow too large
// FREEBIE
2017-12-20 14:26:53 -06:00
sdkjfhsdkjhfsdlkjhfsdf
2c20cb9e7b make sure mediaview isn't too tall in detail view
// FREEBIE
2017-12-20 14:26:53 -06:00
sdkjfhsdkjhfsdlkjhfsdf
411de65b40 TODO: Show caption in details
TODO:
- [ ] layout is shite

// FREEBIE
2017-12-20 14:26:53 -06:00
sdkjfhsdkjhfsdlkjhfsdf
0e9c9a9bb3 Separate gestures for text/vs media
// FREEBIE
2017-12-20 14:26:53 -06:00
sdkjfhsdkjhfsdlkjhfsdf
92477c78b7 cleanup before PR 2017-12-20 14:26:53 -06:00
Michael Kirk
bce18637f0 render attachments with captions
// FREEBIE
2017-12-20 14:26:53 -06:00
Michael Kirk
3176cb5a62 text sizing correctly 2017-12-20 14:26:53 -06:00
Michael Kirk
f8866c4e0b Fix some constraints, get other attachment types looking good
TODO
- [ ] message bubble sizes are not correct. Not always wide enough to
      fit their content.

// FREEBIE
2017-12-20 14:26:53 -06:00
Michael Kirk
76ca52f33c caption bubble properly sized, but all attachments make space now 2017-12-20 14:26:53 -06:00
Michael Kirk
3eb3c268a9 Towards a caption in message
TODO

- [ ] adjust height properly
- [ ] all media types
- [ ] include caption in message details
- [ ] gestures working on both independently
- [ ] perf benchmark

// FREEBIE
2017-12-20 14:26:53 -06:00
Michael Kirk
e20f44024c WIP: Support sending attachment captions
Looks fine on other clients, but locally we don't display the caption.

// FREEBIE
2017-12-20 14:26:53 -06:00
Michael Kirk
0964c16417 cleanup, plus ill fated attempt to offset content beyond keyboard height.
Probably should just pin scrollview above initial toolbar height. I
think it's somewhat convoluted because of the scroll view zoom
functionality that we already use in this view.

// FREEBIE
2017-12-20 14:26:53 -06:00
Michael Kirk
26be69975a cleanup constraint based layout 2017-12-20 14:26:53 -06:00
Michael Kirk
3a078c831d lays out in iOS11, but doesn't resize 2017-12-20 14:26:53 -06:00
Michael Kirk
03e786a145 input toolbar looks good on iOS9/10, but totally broken on 11
// FREEBIE
2017-12-20 14:26:53 -06:00
Michael Kirk
96906440a7 remove height animation, ensure growing text area has content in proper
place.

// FREEBIE
2017-12-20 14:26:53 -06:00
Michael Kirk
562e706ec9 animate height change, but looks goofy 2017-12-20 14:26:53 -06:00
Michael Kirk
a5c5dd3f96 WIP, extract subclass 2017-12-20 14:26:53 -06:00
Michael Kirk
9ee9a0efeb resizing input accessory view.
// FREEBIE
2017-12-20 14:26:52 -06:00
Michael Kirk
f9524b02e2 multiline must be textview, not textfield
// FREEBIE
2017-12-20 14:26:52 -06:00
Michael Kirk
57a5e62db8 WIP - attachment caption 2017-12-20 14:26:52 -06:00
sdkjfhsdkjhfsdlkjhfsdf
76481a86a5 stabalize sort for same-named SignalAccounts
// FREEBIE
2017-12-20 13:49:15 -06:00
Matthew Chen
4e8b836e03 Merge branch 'charlesmchen/sessionDatabase2' 2017-12-20 11:32:57 -05:00
Matthew Chen
05100b1143 Respond to CR. 2017-12-20 11:32:48 -05:00
Matthew Chen
6b0e3508a5 Respond to CR. 2017-12-20 11:28:07 -05:00
Matthew Chen
245304116f Respond to CR. 2017-12-20 11:19:09 -05:00
Matthew Chen
085f8a6f64 Clean up ahead of PR. 2017-12-19 12:02:58 -05:00
Matthew Chen
70926d7f10 Clean up ahead of PR. 2017-12-19 11:50:01 -05:00
Matthew Chen
6b58b4cbde Rework database view registration. 2017-12-19 11:42:06 -05:00
Matthew Chen
fe67cd924c Rework database view registration. 2017-12-19 11:42:06 -05:00
Matthew Chen
f88b954ab5 Clean up TSStorageManager usage. 2017-12-19 11:41:31 -05:00
Matthew Chen
d3efb2e1c9 Clean up TSStorageManager usage. 2017-12-19 11:41:31 -05:00
Matthew Chen
9258b0883e Clean up TSStorageManager usage. 2017-12-19 11:41:31 -05:00
Matthew Chen
d52eba739d Clean up TSStorageManager usage. 2017-12-19 11:41:31 -05:00
Matthew Chen
85686d3144 Continue TSStorageManager refactor. 2017-12-19 11:41:30 -05:00
Matthew Chen
b496a1095b Merge branch 'charlesmchen/sessionDatabase_' 2017-12-19 11:40:59 -05:00
Matthew Chen
9a990b58e8 Respond to CR. 2017-12-19 11:38:25 -05:00
Matthew Chen
1163e76dee Clean up ahead of PR. 2017-12-19 11:16:01 -05:00
Matthew Chen
9815bca825 Clean up ahead of PR. 2017-12-19 11:16:01 -05:00
Matthew Chen
92b870ca12 Clean up ahead of PR. 2017-12-19 11:16:01 -05:00
Matthew Chen
5dcf4b3bbc Clean up ahead of PR. 2017-12-19 11:16:01 -05:00
Matthew Chen
137fe6fb8b Pull out OWSStorage base class for TSStorageManager. 2017-12-19 11:16:01 -05:00
Matthew Chen
a29c4ce5d6 Pull out OWSStorage base class for TSStorageManager. 2017-12-19 11:16:01 -05:00
Matthew Chen
40ec869072 Merge branch 'charlesmchen/attachmentDownloadsVsBackground' 2017-12-19 11:10:24 -05:00
Matthew Chen
a572285ad2 Respond to CR. 2017-12-19 11:10:12 -05:00
Matthew Chen
2cc3752901 Improve background task logic. 2017-12-19 11:05:17 -05:00
Matthew Chen
c3b6de4f83 Improve background task logic. 2017-12-19 11:05:17 -05:00