Commit graph

447 commits

Author SHA1 Message Date
Michael Kirk
74019b2ae4 Fix keyboard animation glitch after sending
// FREEBIE
2018-01-09 12:31:41 -05:00
Michael Kirk
1ec409ad2b CR: re-enable default keyboard toggle
// FREEBIE
2018-01-08 16:29:42 -05:00
Michael Kirk
8d2934d86e CR: remove unnecessary code, comments
// FREEBIE
2018-01-08 15:11:35 -05:00
Michael Kirk
412fe2735e Rename FullImageViewController -> MediaDetailViewController
// FREEBIE
2018-01-08 01:10:32 -05:00
Michael Kirk
918e3f7dfe Videos play in full-screen media view controller, use modern movie
player.

// FREEBIE
2018-01-08 01:10:32 -05:00
Michael Kirk
81268012e5 Better keyboard management.
- fixes problems on iOS11.2 where emoji keyboard sometimes obscures text
  input.
- better animation for interactive pan gesture when viewing message
  details
- more intuitive swipe-to-dismiss keyboard in conversation view
- converge on one mnethod for dismissing keyboard in conversation view

- [ ] Pop keyboard, then hit attachment, dismisses keyboard, which is
      fine, but the content should immediately scroll down with the
      keyboard, instead it stays up, and scrolls down only once the
      attachment action sheet has been dismissed.

// FREEBIE
2018-01-08 01:10:31 -05:00
sdkjfhsdkjhfsdlkjhfsdf
b87079d4b4 Sharing attachment shows progress / retry dialog
// FREEBIE
2017-12-20 20:57:17 -06:00
sdkjfhsdkjhfsdlkjhfsdf
513e33b0fd Cleanup before code review
// FREEBIE
2017-12-20 14:26:53 -06:00
sdkjfhsdkjhfsdlkjhfsdf
cf091758a5 Fix oversized text messages
// FREEBIE
2017-12-20 14:26:53 -06:00
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
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
a5c5dd3f96 WIP, extract subclass 2017-12-20 14:26:53 -06:00
Matthew Chen
6b0e3508a5 Respond to CR. 2017-12-20 11:28:07 -05:00
Matthew Chen
9258b0883e Clean up TSStorageManager usage. 2017-12-19 11:41:31 -05:00
Matthew Chen
9a990b58e8 Respond to CR. 2017-12-19 11:38:25 -05:00
Matthew Chen
3643414da1 Respond to CR. 2017-12-15 11:16:07 -05:00
Matthew Chen
e45d63e862 Clean up ahead of PR. 2017-12-15 11:11:57 -05:00
Matthew Chen
0c9d9ba679 Fix issues around cross process db changes. 2017-12-15 11:11:57 -05:00
Michael Kirk
8996741277 DocumentPicker converts to mp4 when necessary
// FREEBIE
2017-12-11 20:34:47 -05:00
Michael Kirk
031e40d090 Use SignalAttachment logic in conversation view too
// FREEBIE
2017-12-11 20:16:34 -05:00
Matthew Chen
74efcb9041 Rework thread safety in profile manager. 2017-12-11 12:28:28 -05:00
Matthew Chen
80ae5e0fcf Respond to CR. 2017-12-11 10:37:20 -05:00
Matthew Chen
11b4848530 Respond to CR. 2017-12-11 10:37:20 -05:00
Matthew Chen
84061cca9f Change image resizing/quality behavior, preferring smaller images in the common case. 2017-12-11 10:37:20 -05:00
Matthew Chen
125aabb0a3 Change image resizing/quality behavior, preferring smaller images in the common case. 2017-12-11 10:37:20 -05:00
Michael Kirk
d9cca77e23 update header references
// FREEBIE
2017-12-08 13:32:52 -05:00
Matthew Chen
b4e8df79da Migrate environment to SignalMessaging. 2017-12-05 10:29:29 -05:00
Matthew Chen
6d87df88aa Migrate environment to SignalMessaging. 2017-12-05 10:29:28 -05:00
Matthew Chen
bf21d0c0ed Enable logging in SAE; rework log file management to include multiple log directories. 2017-12-01 12:55:47 -05:00
Matthew Chen
64762eb427 Observe YapDatabaseModifiedExternallyNotification. 2017-11-30 10:28:05 -05:00
Michael Kirk
9ac3ce3758 Memoize bubble factory
Shaves 5% off of initial conversation load.

// FREEBIE
2017-11-29 14:53:04 -08:00
Michael Kirk
fd829ba575 Merge branch 'hotfix/2.19.1' 2017-11-29 14:07:33 -08:00
Michael Kirk
a11d83187b WIP: Framework-friendly - compiles but crashes on launch
// FREEBIE
2017-11-29 13:58:27 -08:00
Michael Kirk
9d1e3dc223 We need to change file extensions when converting data
// FREEBIE
2017-11-29 12:43:05 -08:00
Michael Kirk
1a99b34913 Fix iOS8 crash on type
// FREEBIE
2017-11-29 10:15:57 -08:00
Michael Kirk
a542471bbe center "Loading More Messages" label
// FREEBIE
2017-11-22 13:32:20 -05:00
Matthew Chen
f9f0f1c27d Revert "Force conversation view cells to update layout immediately."
This reverts commit ef820a3719.
2017-11-22 13:12:15 -05:00
Matthew Chen
35bdc86ab5 Reload adjacent rows using original indices, not final indices. 2017-11-22 13:06:54 -05:00
Matthew Chen
71f5ef5940 Improve handling of unread indicator edge cases. 2017-11-22 10:39:38 -05:00
Matthew Chen
2ec1e7e925 Respond to CR. 2017-11-22 09:39:43 -05:00
Matthew Chen
2d241623b7 Improve handling of edge cases around unread indicator delimiting deleted message(s). 2017-11-21 18:17:19 -05:00
Matthew Chen
5ef9d53c91 Update conversation view UI to reflect unread state. 2017-11-21 17:53:52 -05:00
Matthew Chen
ef820a3719 Force conversation view cells to update layout immediately.
// FREEBIE
2017-11-21 17:52:14 -05:00
Michael Kirk
370364c936 Scroll down button scrolls to unread
// FREEBIE
2017-11-21 11:42:33 -05:00
Matthew Chen
b0c9add29c Update layout of "scroll down button" to reflect RTL. 2017-11-21 11:27:01 -05:00
Matthew Chen
92ef507810 Make swipe-for-details RTL-safe. 2017-11-21 11:17:05 -05:00
Matthew Chen
aea2bf3e00 Fix scroll state insets in conversation view. 2017-11-20 17:17:10 -05:00
Matthew Chen
5cfa7e35f4 Respond to CR. 2017-11-20 17:08:10 -05:00
Michael Kirk
34811a635b Fixes: "connected call" showing as "unconnected outgoing" call.
Expire viewItem cache when resetting mappings

// FREEBIE
2017-11-20 17:04:54 -05:00
Matthew Chen
b76d9a4e68 Remove redundant logTag methods. 2017-11-20 16:51:58 -05:00
Matthew Chen
a4879f6bb5 Remove redundant logTag methods. 2017-11-20 16:51:58 -05:00
Matthew Chen
8eb4e682d9 Revert "Show menu controller from centroid of message cells."
This reverts commit 08bb1c909d.
2017-11-20 15:21:48 -05:00
Matthew Chen
cebeea9189 Reduce extremes of Jumbomoji behavior. 2017-11-20 15:02:45 -05:00
Matthew Chen
d8ae5841d6 Respond to CR.
// FREEBIE
2017-11-20 14:50:43 -05:00
Matthew Chen
45c7d80d97 Improving handling of edge cases in conversation view. 2017-11-20 14:44:10 -05:00
Matthew Chen
6d4a05bbea Improving handling of edge cases in conversation view. 2017-11-20 14:44:10 -05:00
Matthew Chen
658746093d Use finalIndex in row changes. 2017-11-20 14:44:10 -05:00
Michael Kirk
8ee030bea1 Don't dismiss keyboard when view appears
// FREEBIE
2017-11-20 14:30:55 -05:00
Matthew Chen
7b1a846f79 Dismiss keyboard when leaving conversation view. 2017-11-20 13:12:57 -05:00
Matthew Chen
572de11763 Apply dynamic type sizing to Jumbomoji. 2017-11-16 18:25:59 -05:00
Matthew Chen
937ac5830d Skip animations in conversation view. 2017-11-16 17:59:32 -05:00
Matthew Chen
b67179b45d Skip animations in conversation view. 2017-11-16 17:53:05 -05:00
Matthew Chen
0ccddb696a Add workaround for bug in iOS 11.1 beta around hit area of custom back buttons.
// FREEBIE
2017-11-16 17:32:39 -05:00
Matthew Chen
96274a60a9 Respond to CR.
// FREEBIE
2017-11-16 17:30:19 -05:00
Matthew Chen
7aae47b021 Reduce font size of "load more" indicator. 2017-11-16 17:30:19 -05:00
Matthew Chen
dffd776ace Increase the max text message length. 2017-11-16 17:29:26 -05:00
Michael Kirk
228e350e2a message details shows failed bubble when appropriate
// FREEBIE
2017-11-16 17:05:31 -05:00
Matthew Chen
6b8f4c7dde Dismiss menu controller if message cell is hidden or recycled. 2017-11-16 16:35:53 -05:00
Matthew Chen
08bb1c909d Show menu controller from centroid of message cells. 2017-11-16 15:38:11 -05:00
Matthew Chen
aad93d2d89 Fix broken assert in conversation view item. 2017-11-16 13:23:47 -05:00
Matthew Chen
ddf4bf28cc Load attachments for conversation view items using long-lived db connection. 2017-11-16 13:16:18 -05:00
Matthew Chen
df5aa5ef67 Update UI to reflect changes to disappearing messages configuration. 2017-11-16 12:25:43 -05:00
Michael Kirk
9675cbb1e1 Scroll only as far as necessary
// FREEBIE
2017-11-15 17:30:45 -05:00
Matthew Chen
cc90f4cb80 Respond to CR.
// FREEBIE
2017-11-15 15:46:27 -05:00
Matthew Chen
86fdd6dea2 Fix edge cases in conversation view. 2017-11-15 15:43:03 -05:00
Matthew Chen
6413bc8e4c Evacuate the view item cache. 2017-11-15 13:36:56 -05:00
Matthew Chen
19ba564f80 Respond to CR.
// FREEBIE
2017-11-15 13:21:31 -05:00
Matthew Chen
c6160a5a1e Rework the "update with..." methods to avoid re-saving deleted models. 2017-11-15 07:16:12 -05:00
Michael Kirk
8c69e00a3f Adapt ConversationViewController to iPhoneX
// FREEBIE
2017-11-14 12:37:09 -05:00
Matthew Chen
c3b6c9055e Disable partial text selection; ignore taps outside links; ignore taps on non-sent messages, link-icy all links. 2017-11-13 18:46:41 -05:00
Matthew Chen
3da1d8c63f Disable partial text selection; ignore taps outside links; ignore taps on non-sent messages, link-icy all links. 2017-11-13 11:18:38 -05:00
Matthew Chen
c91dda43e0 Disable partial text selection; ignore taps outside links; ignore taps on non-sent messages, link-icy all links. 2017-11-13 11:15:58 -05:00
Matthew Chen
c3087cf3df Don't dismiss keyboard when tapping in the conversation view. 2017-11-13 10:41:41 -05:00
Matthew Chen
bf0f33e4b0 Temporarily alter animations in conversation view. 2017-11-10 14:51:34 -05:00
Matthew Chen
af6a7c103c Add a comment. 2017-11-10 14:08:52 -05:00
Matthew Chen
42a70e0def Revert "Temporarily make logging around conversation view row updates more verbose."
This reverts commit 105b033761.
2017-11-10 14:04:56 -05:00
Matthew Chen
f0a8e08df9 Temporarily alter animations in conversation view. 2017-11-10 13:17:38 -05:00
Matthew Chen
0abdbffe1f Improve handling of attachment edge cases. 2017-11-10 13:12:43 -05:00
Matthew Chen
b5f7a4746f Temporarily alter animations in conversation view. 2017-11-10 12:41:11 -05:00
Matthew Chen
3814464595 Increase content insets of attachment button. 2017-11-10 11:47:56 -05:00
Matthew Chen
105b033761 Temporarily make logging around conversation view row updates more verbose. 2017-11-10 11:37:16 -05:00