Commit Graph

231 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
73b0081b47 Fix for RTL 2021-05-05 15:25:55 -03:00
Nora Trapp
a22a09b7be Little fixes 2021-05-05 15:25:55 -03: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
008d5ed3e5 Fix cancel button in link previews, fix missing "loading" indicator for link previews. 2021-04-24 09:48:00 -03:00
Matthew Chen
d992177e7e Manual layout: Link Previews. 2021-04-22 23:05:27 -03:00
Nora Trapp
399607d400 Improve message details keyboard interactions. 2021-04-06 15:49:41 -07:00
Matthew Chen
afd2aeef5c Payments UI. 2021-04-06 13:57:07 -03:00
Nora Trapp
fa6662403e Revert "Merge branch 'nt/animations'"
This reverts commit 1ec4ae3b05, reversing
changes made to 1ed1371c71.
2021-03-17 13:17:17 -07:00
Nora Trapp
70f6e62877 Animate quoted replies 2021-03-16 19:48:59 -03:00
Nora Trapp
43c29c300b Fix issue where sticker suggestions linger after sending attachment 2021-01-23 15:42:56 -08:00
Nora Trapp
06f2657cac Improve sticker horizontal list view reuse 2021-01-23 15:33:48 -08:00
Michelle Linington
593cb20482 Remove sticker tooltip 2021-01-22 13:51:50 -08:00
Matthew Chen
1546fbe72a Use dynamic type in contact cell subtitles. 2021-01-21 22:32:42 -03:00
Jordan Rose
fbcfa530df Remove camera preview from Attach menu 2021-01-11 14:42:33 -08:00
Matthew Chen
3dfc0f8b28 Fix glitch in sticker suggestions toolbar presentation/dismissal animation. 2021-01-07 14:18:50 -03:00
Matthew Chen
9facd0ad18 Revert "Fix auto-scroll issue around first message in thread."
This reverts commit 5a3ca232489ccf454ba566d35bdf67f59f6ace86.
2020-12-18 11:26:13 -03:00
Matthew Chen
f9f4779a65 Fix auto-scroll issue around first message in thread. 2020-12-18 11:26:13 -03:00
Matthew Chen
e82165466b Observe changes to input height in input accessory view placeholder. 2020-12-18 11:26:13 -03:00
Nora Trapp
3f1ea63d7a Merge branch 'release/5.0.1' into release/5.1.0 2020-12-10 14:33:49 -08:00
Michelle Linington
fea0215f05 IOS-838: ConversationInputTextView cursor adjustments don't behave properly
At the moment, when trying to drag the input/selection cursor(s) in
the ConverationInputTextView, as soon as you reach the top or bottom
edge of a draft with >4 lines, you'll immediately scroll to the very top
or the very bottom.

This is because we're currently overriding the default implementation of
setContentOffset:animated: to always perform the adjustment without
animation. We do this because we don't want the animated content offset
adjustment to interfere with the growing the bounds of the text view.
This can cause the text to overshoot the updated bounds pre-iOS 13.

But we only grow the text view in response to the text changing. So
instead of disabling all content offset animations, we can get away with
just disabling content offset animations while the text is changing.

So this commit:
- Sets a flag between -textViewShouldChange... and -textViewDidChange:
- On iOS 13 and later, we'll always respect the animate argument of
  setContentOffset:animated:
- Pre-iOS 13, we'll ignore the animate parameter if the flag is set
2020-12-10 14:23:30 -08:00
Matthew Chen
111338b59d Rewrite conversation view. 2020-12-10 12:44:13 -03:00
Matthew Chen
83354dd131 Add logging around quoted reply preview lifecycle. 2020-10-08 13:15:16 -03:00
Matthew Chen
22aac34f99 DRY singleton accessors. 2020-09-17 21:13:14 -03:00
Matthew Chen
6135e3c482 Update link previews for group invite links. 2020-09-08 17:33:50 -03:00
Michelle Linington
6174ab2d41 Added a whole bunch more UI changes
This is now pretty close to the design spec. Most significant change
here is adding a new stack view configuration joining the title and the
thumbnail, both floating above description text.
2020-09-03 18:25:05 -07:00
Michelle Linington
a0cfcc87f0 Pull request feedback and removing unnecessary code
- Rename URL -> Url to follow convention
- Remove some duplicated/unnecessary code
- Parse the returned image Data with ImageData
2020-08-26 16:49:22 -07:00
Michelle Linington
1f9b6906df IOS-807: Fetch link preview content directly
This change updates the link preview fetch flow to fetch content
directly rather than through the proxy. This means we can remove the
allowed domain list and fetch content from most provided domains.

This almost moves HTML content parsing outside of OWSLinkPreview.
Currently we'll still only fetch the same content, but it's extensible
enough to fetch all sorts of different opengraph tags.

AFHTTPSessionManager will no longer faildebug on a request failure.
Since we're going to be firing opportunistic fetch requests as we parse
a URL, it's expected that some will fail.
2020-08-26 16:47:49 -07:00
Nora Trapp
64178b6ea2 Allow receiving link previews from non-whitelisted domains 2020-08-13 13:40:24 -07:00
Nora Trapp
566d53d3fc Fix mention picker when caching keyboard height 2020-08-13 10:58:27 -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
Matthew Chen
28b43544b3 Implement attachment upload v3. 2020-08-01 12:06:57 -03:00
Nora Trapp
65ed060639 Refine MentionTextView, add cut/copy/paste support 2020-07-27 14:30:52 -07:00
Nora Trapp
ff17567a6b ConversationInputTextView subclasses MentionTextView 2020-07-27 14:30:52 -07:00
Tomislav Eric
df27e5c73b Fix: empty string activates send button 2020-06-23 19:53:34 -07:00
Matthew Chen
ba801f05ce Label the "slow write transactions" logging with the source of the transaction. 2020-06-07 10:37:55 -03:00
Nora Trapp
8a10d631f9 Add haptic feedback 2020-06-01 12:52:59 -07:00
Nora Trapp
57a810658a Goodbye iOS 10 2020-05-27 17:34:32 -07:00
Matthew Chen
6b4f192b1b Remove usage of retainUntilComplete. 2020-05-22 09:51:12 -03:00
Matthew Chen
b799d1d311 Fix more build warnings. 2020-04-10 13:17:08 -03:00
Nora Trapp
4ad7479ff9 Use new accent blue color everywhere except launch screen related views 2020-03-04 10:00:55 -08:00
Nora Trapp
f7b02a900a Add lottie animation to attachment keyboard presentation 2020-02-28 13:22:47 -08:00
Michael Kirk
c62205cb75 remove sticker feature flags 2020-02-12 15:19:56 -07:00
Nora Trapp
93663765a7 Fix vertical alignment of conversation + attachment approval textView 2020-01-25 14:43:46 -08:00
Nora Trapp
4d55468bd3 Merge branch 'release/3.2.0' 2020-01-02 16:50:14 -08:00
Michael Kirk
4a7bdaf44c avoid undesirable vertical scroll in sticker recommender 2020-01-02 16:38:56 -07:00
Michael Kirk
5371fd902a ConversationSearch 2020-01-02 14:09:57 -07:00