Repository navigation
feat(chat): one-row glass composer with $ beside it - #964
Merged
Merged
Conversation
The composer is a single row: +, the message field and send, in glass tinted 3% white with a lit rim and 28pt corners. A round $ sits left of the field and splits from the field's glass on the draft's first character, rejoining it when the draft is cleared. Send pops in on a draft and is gone without one. An empty field takes focus from a tap anywhere right of +. Text that wraps or holds a newline stacks the field: the text takes the full width and + and send drop to a row below. It stays stacked until the draft is cleared, so editing near the wrap point does not flip the layout. The caret and text spring into place together rather than the caret trailing on UIKit's own animation. The bar now reports its height with `onGeometryChange`. The `GeometryReader` report delivered only the height an animated stack started from, so the bar's clip stayed one row tall and cut off the top line. When the composer shrinks, the clip eases down on the stack spring while the transcript moves in one frame, as #908 does. The + menu holds camera and photos. It opens from the $'s margin at 220pt, its rows sharpening out of a blur as it grows from +, and springs back into + without a colour jump. The composer stays visible under the camera and photo cards, and a capture or pick collapses into its chip with the photo drawn throughout.
It describes the two-row layout this PR replaced with one row.
bmc08gt
force-pushed
the
feat/chat-composer-one-row
branch
from
October 5, 2026 22:23
a7456e9 to
776bd6d
Compare
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.
Last of four stacked PRs for chat photos, on top of #963. Moves the composer to one glass row.
onGeometryChange. TheGeometryReaderreport missed the end height of an animated stack, so the clip cut off the top line.Stack: #961 → #962 → #963 → this.