Repository navigation
Add flagged outline-fade and docked Session Composer styles - #1096
Merged
Merged
Conversation
Collaborator
Author
ivanfenenko
marked this pull request as ready for review
November 22, 2026 15:48
There was a problem hiding this comment.
Automated review: no finding that 2+ of 3 passes agreed on.
3 finding(s) from a single pass, not posted
ios/OpenCode Mobile/OpenCode Mobile/Components/Input/OpenCodeSessionComposerChrome.swift:24medium: Docked fill centered so it covers timeline above shell (muse-spark-1.3-contributor)ios/OpenCode Mobile/OpenCode Mobile/UI/SessionChat/View/SessionChatTimelineView.swift:1048low: iOS adds fade clearance on top of pill reserve, Android takes max (muse-spark-1.3-contributor)ios/OpenCode Mobile/OpenCode Mobile/UI/SessionChat/SessionChatView.swift:446low: Draft-state composer scrim omits keyboardOverlap, so the fade does not track the raised composer (glm-5.3-flash)
opencode pr-review · passes: muse-spark-1.3-contributor, glm-5.3-flash, deepseek-v4.1-flash · $0.124 · 1 pass(es) stopped early
This was referenced Nov 22, 2026
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.






















Summary
In dark mode the agent message and the Session Composer share the same raised fill, so it is hard to see where one ends and the other begins. This adds two composer styles on iOS and Android, each behind a feature flag in Settings > Developer Tools > Feature Flags:
session_composer_outline_fade): the composer keeps floating, gains a 1pt outline, and the timeline fades into the background above it.session_composer_docked): a full-width bar attached to the keyboard or bottom edge, with a 1pt top edge.Both flags are off by default, so the current composer is unchanged until one is turned on. If both are on, Docked wins. The outline color is derived from theme tokens, using the same sRGB blend on both platforms. Permission and error outlines keep priority.
Checks
Android:
:app:assembleDebugpasses, and the 39 focused tests pass. The full unit suite (3,501 tests) is not green, for reasons that also occur without this change:settledThought_isAStepandthoughtDurationLabel_matchesTuiBucketsdepend on the machine's locale.SseRecoveryFaultOracleTestis flaky: it failed 3 of 5 runs with this change and 4 of 5 runs on the base commit, in the same two tests.iOS: the full unit suite passes (3,864 tests). UI tests were not run. The suite resolved older Firebase-related package pins because
Package.resolvedis out of date onmain. That file is not changed here.Real app against the scenario harness, on a v2 server: checked both styles for scrolling behind the composer, keyboard open and closed, floating pills, drags that start in the fade, and permission requests. With both flags off, the Android composer area was pixel-identical to the baseline.
Risks / Follow-ups
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.