Repository navigation
Conversation
Sending a photo, sending from far up a long session, or sending text that wraps differently in the bubble made the message stutter on its way in. - Photo sends: the attachment row vanished at once and the card's own animateContentSize pinned its controls to the top, so the toolbar jumped up under the flying photo. The card now skips that resize while the photos fly, and the row's place closes on the photos' spring (iOS shrinks the composer in the send's transaction). - The flight waited 6 frames for its bubble before guessing; it now waits up to sendBubbleWaitMax (0.3 s), as iOS SendFlight.waits does. - Scrolled-up sends and Jump to Latest: the cut scrolled to the end and stepped back only after that frame was drawn, flashing the end. The cut and the step back now remeasure together (iOS sizes the rows from the cut in one pass). - Wrapping text: the field kept drawing the sent text under its flying copy, and the copy and the bubble's own lines crossfaded linearly, so two wraps were readable at once. The field hides the captured text until it clears, the words fade out by p = 1/3 and the bubble fades in from p = 0.2. The "Message" placeholder no longer shows for the send's first frame under a photo send (its snap to hidden landed a frame late). Verified on the VM emulator against session-lab, frame by frame at 1x and 0.25x: photo, three photos plus long text, wide photo scrolled up, text only, keyboard open and closed; IME Send, Ctrl+Enter, steer, queue into the pill, failed send then Retry, Revert to Here then send, first message in a new session, Jump to Latest from far up, auto-follow while streaming, light and dark. scripts/check.sh :feature:composer :feature:session :feature:transcript passes.
Member
Author
|
Replaced by #62, which drops the send flight completely. It uses a bottom-anchored native list, and the composer resets with standard Compose animations. Closing this; the branch is kept. |
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sending a photo, sending from far up a long session, or sending text that wraps differently in the bubble made the message stutter on its way into the transcript.
Causes and fixes
animateContentSizekept its content pinned to the top, so the toolbar jumped up under the flying photo. The card now skips that resize while the photos fly, and the row's place closes on the photos' spring, as iOS shrinks the composer in the send's own transaction. The flight also waited only 6 frames for its bubble; it now waits up tosendBubbleWaitMax(0.3 s), as iOSSendFlight.waitsdoes.Verified on the VM emulator against session-lab, stepping through frames at 1× and 0.25×: one photo, three photos with long text, a wide photo while scrolled up, text only, keyboard open and closed. No regressions in IME Send, Ctrl+Enter, steer, queue into the pill, failed send then Retry, Revert to Here then send, the first message in a new session, Jump to Latest from far up, auto-follow while streaming, or dark mode.
scripts/check.sh :feature:composer :feature:session :feature:transcriptpasses. There are no iOS tests for these paths to port.Limits. Emulator timing is stretched (software rendering). Session-lab rejects large uploads, so the test photos are small (360×640, 640×240, 400×400).
Before / after
Left is the v0.7.0 release, right is this branch: a photo send, a send while scrolled up with a photo, and long text with three photos.
before-after.mp4
The same frame of a photo send: before, the toolbar has jumped up under the flying photo; after, the composer holds its shape.

The frame after tapping Send while scrolled up: before, the list flashes its end; after, it hasn't moved yet and cuts straight to the glide.
