Commit Graph

1138 Commits (0e78f9912b9a7d0db8395b22b7a784c2e906bd5c)

Author SHA1 Message Date
Matthew Chen 04440ed1e6 Add ImageEditorStrokeItem. 6 years ago
Matthew Chen 8704ffe93c Sketch out image editor undo/redo. 6 years ago
Matthew Chen 57232683fc Sketch out image editor undo/redo. 6 years ago
Matthew Chen f95526bff7 Start sketching out image editor. 6 years ago
Matthew Chen 26a25f861b Start sketching out image editor. 6 years ago
Michael Kirk fd6a56b3af format bench in ms 6 years ago
Michael Kirk 6232b1ef67 CR: add debug asserts 6 years ago
Michael Kirk 81bc357bbb more robust handling of unsaved outgoing messages 6 years ago
Michael Kirk 668cc22af3 Perf: Insert outgoing message into conversation before save completes.
This was a huge savings - e.g. 50-70% of the time between tapping send and
rendering the message takes place in the save/postWriteTransaction blocks
6 years ago
Michael Kirk 67cc1027cc Fix compiler warnings 6 years ago
Michael Kirk ac2c9cc521 Benchmark Events by ID 6 years ago
Matthew Chen 19a2bfeaad More conversation viewmodel perf improvements. 6 years ago
Matthew Chen fea40d571c Move contact offers to Conversation view model. 6 years ago
Matthew Chen d717ee5411 Parse and apply profile fetches off main thread. 6 years ago
Michael Kirk 6ece45a2e4 toggle multisend feature flag 6 years ago
Michael Kirk c0cb7df10a rename hasEverHadMessage -> shouldThreadBeVisible 6 years ago
Michael Kirk b7ab036c04 warn_unused_result on AnyPromise methods 6 years ago
Matthew Chen 48bd0cfa06 Add missing retains to promises. 6 years ago
Michael Kirk 858ba6ef37 fix missing video thumbnails in approval view 6 years ago
Michael Kirk 3e48ed105d keyboard is always dark in attachment approval 6 years ago
Michael Kirk 2f92995cd6 Add placeholder text to message input field 6 years ago
Michael Kirk eb96eec94a Merge branch 'release/2.32.0' 6 years ago
Michael Kirk 34737567c2 fix voice over for settings bar button item 6 years ago
Michael Kirk de73c220da increment version canary 6 years ago
Michael Kirk 1a5c47df2f Fix SAE, limit max attachments 6 years ago
Matthew Chen d70aa4418f Merge branch 'release/2.32.0' 6 years ago
Matthew Chen 894fd1379c Fix spurious assert. 6 years ago
Matthew Chen aa4fea64cf Improve Profiles Debug UI. 6 years ago
Matthew Chen d6ca969c62 Backup local profile. 6 years ago
Matthew Chen c7f5047056 Handle iCloud status. 6 years ago
Michael Kirk 128bb9be8c Merge tag '2.32.0.17' 6 years ago
Michael Kirk 71ab5817eb fix captionview visibility 6 years ago
Matthew Chen c5744321ba Backup misc collections. 6 years ago
Matthew Chen 4556025566 Update migrations. 6 years ago
Michael Kirk 61758dcf05 Only show caption for multiple images 7 years ago
Michael Kirk 0ac8f13c0b remove redunant method, consolidate naming, adding array getter 7 years ago
Michael Kirk 6fdd5d1001 dont initializer pagerScrollView as sideEffect 7 years ago
Michael Kirk 9bcc6a6c57 show navbar for photo/album picker, not approval 7 years ago
Matthew Chen dcaaff7eac Add isRegisteredAndReady to TSAccountManager. 7 years ago
Matthew Chen 8110e0c765 Clean up usage of TSAccountManager. 7 years ago
Michael Kirk 26ca47b511 Avoid CaptionTextView animation glitch while dismissing MessageTextView 7 years ago
Michael Kirk 78c74d87bc Merge tag '2.32.0.16' 7 years ago
Michael Kirk 9317ee9c99 design comment 7 years ago
Michael Kirk e3120a5b87 cleanup keyboard animation code 7 years ago
Michael Kirk 0562619ca9 smaller margins between rail images, avoid choppy change as the margin updates
are not being animated smoothly.
7 years ago
Michael Kirk 55807f9a4d iPhoneX compatible keyboard animations 7 years ago
Michael Kirk 279694e704 keyboard animation cleanup 7 years ago
Michael Kirk 0808458392 fix caption dismiss animation/placeholder for multiline message body 7 years ago
Michael Kirk 4f1f09f231 Use snapshot view to avoid momentary missing bottomToolbar while switching
firstResponder from CaptionView to AttachmentApprovalViewController.
7 years ago
Michael Kirk 3bfda7ea81 Smooth kbd dismiss: avoid bouncing CaptionView due to quick transition of firstResponder 7 years ago
Michael Kirk b108f284bd WIP: hide caption keyboard
It's tricky because we're hopping from one first responder to another.

Specifically, from the CaptionView.textView, which shows the keyboard, to
making the AttachmentApprovalViewController first responder, which shows the
BottomToolbar message text field, so in short order, we're getting multiple
notifications.

User hit's "Done" with caption

- Point A - CaptionView is positioned at the top of the keyboard
- Hide keyboard (frame change details must be calculated by y offset, since willChanage notification doesn't "shrink" the keyboard frame, it just offsets it to be non-visible.
- Point B - caption view is positioned at the bottom of the screen, input accessory view not visible
- Show Keyboard (not actually showing the *keyboard* here, but rather the VC's input accessory view)
- Point C - caption view is positioned atop the input accessory view

We want to animated smoothly from A->C, skipping B. But how do we do that robustly? We could track something like "last known input accessory view height" and never present the captionView below that. But I'm worried it won't be very robust since the input accessory view can change height, e.g. text view grows with text content or dynamic text changes.
7 years ago
Michael Kirk 838012d1ec Caption length limit and label 7 years ago
Michael Kirk e0f7513df0 white tint for attachment approval textview cursors 7 years ago
Michael Kirk a946ec0056 new icon assets per design 7 years ago
Michael Kirk 8776dd1909 New "add caption" and "done" assets 7 years ago
Michael Kirk feb5a0c444 fix initial CaptionView layout glitch 7 years ago
Michael Kirk e65eeff0fd Keyboard should cover _Caption_ TextView when _Message_ TextView becomes first responder. 7 years ago
Michael Kirk 33750baf67 finally got dismiss-before-swipe 7 years ago
Michael Kirk dd82803a10 second abandoned attempt to require dismiss before page 7 years ago
Michael Kirk b98b3d1fdd WIP: require dismiss before swipe 7 years ago
Michael Kirk 706dd3d0c1 initial layout of keyboard is correct across pages 7 years ago
Michael Kirk 280664c763 WIP: keyboard 7 years ago
Michael Kirk eed2558050 Avoid glitch in keyboard dismiss.
iOS adjusts the inputAccessoryView's host input views layout margins when
popping/dismissing the keyboard, which causes a noticeable glitch.
7 years ago
Michael Kirk 8b5d1d9e69 Only add delete button once 7 years ago
Michael Kirk 28f8fc5911 per cr, avoid unnecessary 7 years ago
Michael Kirk fcc4b516a5 fix typo in logging 7 years ago
Michael Kirk 4f0092615a Support captions *and* independent message body 7 years ago
Michael Kirk cd88ef2bec CaptionView text field per page 7 years ago
Michael Kirk 79995cc52c rename captioning -> messageText
TODO
-[] caption field per photo, separate from album message
-[] caption field sticks to keyboard on becoming first responder
-[] swipe updates caption field (not album message)
-[] limit caption length to 240 chars
-[] add more asset

TODO picker
-[] Done becomes "next"
-[] shared navbar, album picker doesn't cover entire screen
-[] new selected checkmark asset
7 years ago
Michael Kirk 47affb81c0 Move gallery rail into input accessory view
TODO

-[] caption field per photo, separate from album message
-[] caption field sticks to keyboard on becoming first responder
-[] swipe updates caption field (not album message)
-[] limit caption length to 240 chars
-[] add more asset

TODO picker
-[] Done becomes "next"
-[] shared navbar, album picker doesn't cover entire screen
-[] new selected checkmark asset
7 years ago
Matthew Chen 544bdbd7f5 Fix edge cases around registration. 7 years ago
Matthew Chen 3edf3ed199 Don't use UD for "self" profile fetches. 7 years ago
Michael Kirk 31782af2f1 dark theme section headers in tile gallery 7 years ago
Michael Kirk 6cdef57e2a Merge tag '2.32.0.15' 7 years ago
Michael Kirk 18766280f6 fix crash when non-registered user upgrades 7 years ago
Michael Kirk dbe8e5706d avoid crash on iOS9/10 7 years ago
Matthew Chen 8eb2550e0c Respond to CR. 7 years ago
Matthew Chen 8b24fba095 Add "add more" button to image picker. Provide caption editing continuity. 7 years ago
Michael Kirk 87bfdbb72c Sender Rail 7 years ago
Matthew Chen ea080eda72 Sketch out the photo collection picker. 7 years ago
Michael Kirk 92135af8be Merge branch 'release/2.32.0' 7 years ago
Michael Kirk ff63c31dae CR: rename colors 7 years ago
Michael Kirk 47a7114317 Gallery pager style changes 7 years ago
Matthew Chen 3135e6f6f7 Respond to CR. 7 years ago
Matthew Chen aeadea67e2 Send multiple attachments from the share extension. 7 years ago
Matthew Chen 2bad0c20b6 Only fetch profiles in the main app. 7 years ago
Matthew Chen 7f89c90f16 Fix bug when sending non-body attachments (e.g. group avatars). 7 years ago
Matthew Chen f7e7477f54 Add sharing scenarios to Debug UI. 7 years ago
Matthew Chen 860eb44edc Fix breakage in share extension. 7 years ago
Michael Kirk b19cfbc55e Fixup AppReadiness vis a vis RI 7 years ago
Michael Kirk 3faa700d66 Merge tag '2.31.0.31' into release/2.32.0 7 years ago
Matthew Chen 0e749d5521 Fix build break. 7 years ago
Matthew Chen 49c8e6db7d Merge remote-tracking branch 'origin/release/2.31.0' 7 years ago
Matthew Chen 4b213df950 Fix race in ProximityMonitoringManager. 7 years ago
Michael Kirk 0d7e94f2f6 Fix: Voice Messages don't restore audio to speaker when held up to the ear past
the voice notes duration.

Specifically:

- start a voice note
- hold to ear until complete
- remove from ear
- start another voice note (or the same one) with the phone away from your ear

You'd expect audio to play through the external speaker, but instead it comes
through the earpiece.

Based on the added logging, this seems to be an apple bug.
7 years ago
Michael Kirk ae63e399b2 use new key to verify local profile 7 years ago
Michael Kirk 5ed123d863 Fix overzealous profile key rotation 7 years ago
Michael Kirk 0aca0c15c1 specify recipient when profile download fails 7 years ago
Michael Kirk 209e79ce34 Don't add blocked contact to your profile whitelist 7 years ago
Michael Kirk 2bd3e5ef23 cast to same integer signedness for comparison 7 years ago