Commit Graph

54 Commits

Author SHA1 Message Date
Nora Trapp
5b96b8585f Record a voice memo draft if interrupted while recording is not locked. 2021-05-10 11:29:59 -07:00
Nora Trapp
1f9c090c47 Design feedback 2021-05-05 15:25:55 -03:00
Nora Trapp
6e360bf637 Add voice memo draft UI 2021-05-05 15:25:54 -03:00
Nora Trapp
3a74bc21b2 Re-style voice memo recording view 2021-05-05 15:25:54 -03:00
Matthew Chen
afd2aeef5c Payments UI. 2021-04-06 13:57:07 -03:00
Jordan Rose
fbcfa530df Remove camera preview from Attach menu 2021-01-11 14:42:33 -08:00
Matthew Chen
111338b59d Rewrite conversation view. 2020-12-10 12:44:13 -03:00
Nora Trapp
4696a4d993 Mention sending 2020-08-04 14:08:30 -07:00
Nora Trapp
74e5d719bb Add support for mentions to drafts 2020-08-04 14:08:29 -07:00
Nora Trapp
65ed060639 Refine MentionTextView, add cut/copy/paste support 2020-07-27 14:30:52 -07:00
Matthew Chen
4fe82b041c Fix build warnings around initializers. 2020-04-08 16:05:54 -03:00
Nora Trapp
b88a99e047 Keyboard Shortcuts 2019-10-22 15:16:33 -07:00
Nora Trapp
c6f8cec015 PR Feedback 2019-10-17 11:41:58 -07:00
Michael Kirk
d19e48da5c "Add More" from recents selection 2019-08-16 13:51:19 -07:00
Nora Trapp
2fc6e86a80 Ensure user is not blocked before showing attachment keyboard. 2019-08-09 13:05:16 -07:00
Nora Trapp
b560fc0afd Show live camera preview in attachment keyboard 2019-08-09 12:54:34 -07:00
Nora Trapp
17f961f6ad Allow location sharing 2019-08-09 12:53:19 -07:00
Nora Trapp
329ca05e1a Allow attachment keyboard to send photos 2019-08-07 16:43:25 -07:00
Nora Trapp
868e49f1ff Match StickerKeyboard to system keyboard size, set scaffolding for other custom keyboards. 2019-08-06 10:53:31 -07:00
Nora Trapp
13a80ef8aa Accept autocorrect suggestions in all the textViews that can be dismissed without the keyboard 2019-06-13 09:24:03 -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
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
Matthew Chen
720f27074e Sketch out sticker tooltips. 2019-05-20 14:22:40 -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
Matthew Chen
1ee8f71d1c More sticker-related navigation. 2019-05-01 09:56:07 -04:00
Matthew Chen
dec4513f46 Send stickers. 2019-04-26 12:34:56 -04:00
Michael Kirk
d29ce740cb Voice Note Lock 2019-02-06 17:34:29 -07:00
Matthew Chen
416aa2b347 Add rough draft of link preview view to composer. 2019-01-23 09:11:13 -05:00
Matthew Chen
b8e2cb6267 Respond to CR. 2019-01-15 16:33:54 -05:00
Matthew Chen
18c890bb95 Fix input toolbar margins issue. 2019-01-15 16:30:32 -05:00
Michael Kirk
5d9cd86d13 size toolbar WRT draft 2018-09-04 10:38:43 -06:00
Michael Kirk
94a23e63b6 resize bar after send 2018-07-03 10:18:21 -06:00
Michael Kirk
fd22c6cf20 fix warnings in conversation input toolbar 2018-06-29 16:49:35 -06:00
Michael Kirk
16df4f589e conversation colors
// FREEBIE
2018-06-29 11:52:41 -06:00
Michael Kirk
a9459757f0 Lingering var renames QuotedReplyDraft -> QuotedReplyModel
// FREEBIE
2018-04-09 12:47:56 -04:00
Michael Kirk
cb5d3d4f85 Use QuotedReplyModel to access attachment data
This view model loads the attachment when it's build.

// FREEBIE
2018-04-09 12:47:56 -04:00
Michael Kirk
253435b27f extract QuotedReplyDraft model 2018-04-09 12:47:56 -04:00
Michael Kirk
bf401bad90 Send quoted messages
MVP

- [x] populate from menu
- [x] send quoted message

TODO

- [] thumbnail
- [] paperclip icon showing for text message
- [] cancel button asset
- [] fonts
- [] colors
- [] adjust content inset/offset when showing quote edit

NICE TO HAVE

- [] animate presentation
- [] animate dismiss
- [] non-paperclip icon for generic attachments

// FREEBIE
2018-04-04 10:59:04 -04:00
Matthew Chen
8e4f2ca0ed Rework proto schema changes for quoted replies.
Sketch out model changes for quoted replies.

Sketch out quoted reply input preview.

Send quoted messages protos.

Update models to reflect quoted messages.

Rework interaction initializers.

Rework interaction initializers.

Add debug UI methods for generating quoted reply variations.

Add debug UI methods for generating quoted reply variations.
2018-04-02 16:17:46 -04:00
Michael Kirk
e39ca59eeb Merge tag '2.19.5.0' 2018-02-01 14:03:43 -08:00
Michael Kirk
f41dfa509c Re-aquire first responder when necessary.
// FREEBIE
2018-01-19 15:05:50 -05:00
Michael Kirk
5dde17d939 Show approval/caption view in app.
ApprovalView/Captioning is shown for:
- Images/Videos from Library
- Images/Video from Camera
- Document Picker
- GIFs

Voice notes are intentionally not captionable.

Also, in main app, hide status bar when ApprovalView is presented

// FREEBIE
2018-01-17 18:19:48 -05:00
Michael Kirk
74e03aad01 Fix intermittent content offset problem
Using the CollectionView's frame to determine if we're at the bottom
doesn't make sense unless the collection view is correctly layed out.

// FREEBIE
2018-01-11 23:04:18 -05:00
Michael Kirk
74019b2ae4 Fix keyboard animation glitch after sending
// FREEBIE
2018-01-09 12:31:41 -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
Matthew Chen
3fa2f22beb Fixes for input toolbar.
// FREEBIE
2017-10-24 11:43:42 -04:00
Matthew Chen
b0aa84e420 Clean up conversation view.
// FREEBIE
2017-10-19 23:02:59 -04:00
Matthew Chen
c2608785e1 Reduce relayout and reload churn; respond to dynamic type changes.
// FREEBIE
2017-10-19 22:53:06 -04:00