Skip to content

Make the outline-fade composer standard and tighten its fade - #1099

Merged
ivanfenenko merged 1 commit into
mainfrom
fix/composer-outline-fade-default
Nov 23, 2026
Merged

ivanfenenko merged 1 commit into
mainfrom
fix/composer-outline-fade-default

Conversation

@ivanfenenko

@ivanfenenko ivanfenenko commented Nov 22, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Follow-up to #1096. Makes the outline and fade the standard Session Composer, and fixes how it sits over the timeline.

  • Remove the session_composer_outline_fade flag and the old floating style. Docked stays behind session_composer_docked, off by default.
  • Remove the 30pt of padding that Add flagged outline-fade and docked Session Composer styles #1096 added above the composer. The last message rests 16pt above it again, or 52pt with an activity pill, on both platforms.
  • Make the fade 16pt at the end of the timeline. It grows to 46pt while the reader is scrolled away from the end.
  • Replace the solid background behind the composer with the earlier 70% tint, so the timeline stays visible as it scrolls around and below the composer.
  • Replace the docked composer's outline with a soft shadow above its top edge. Permission requests keep their colored edge.

Checks

  • iOS and Android both covered
  • Screenshots for UI changes: both platforms, both composer styles, at the timeline end, scrolled away, and with the keyboard up (see the verification comment).
  • Targeted tests pass locally: SessionComposerStyle and SessionChatPillSlots on both platforms, OpenCodeSessionComposerChrome and FeatureFlag on Android, and SessionChatLongUserMessageRowHeightTests on iOS (3 of 3 runs). The full suites were not run locally.
  • Live run against the scenario harness on an iOS simulator and an Android emulator, using a v2 server.
  • ios-checks is red on this commit: the test app crashed during testUserMessageOf190000Lines_hasASmallRow. That test renders no composer scrim and passes locally, so this change does not appear to be the cause. The crash report was not inspected and the job has not been rerun.

Risks / Follow-ups

  • Not checked: the v1 protocol, the fade's 200 ms animation frame by frame, dark theme, and a permission request's colored edge on the docked composer.

Proof this PR
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Remove its flag and the added timeline gap, keep the timeline visible behind the composer, and replace the docked outline with a soft shadow.
@ivanfenenko

Copy link
Copy Markdown
Collaborator Author

Docked composer on iOS, rendered from mock data. Native controls appear as yellow placeholders in this renderer. Android was not captured.

Dark Light
iOS docked composer, dark iOS docked composer, light

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review: no finding that 2+ of 3 passes agreed on.

1 finding(s) from a single pass, not posted
  • ios/OpenCode Mobile/OpenCode Mobile/UI/SessionChat/View/SessionChatTimelineView.swift:562 medium: Stacked iOS scrims render a ~91% opaque veil instead of the intended 70% tint (glm-5.3-flash)

opencode pr-review · passes: muse-spark-1.3-contributor, glm-5.3-flash, deepseek-v4.1-flash · $0.120

@ivanfenenko

Copy link
Copy Markdown
Collaborator Author

Composer verification

Real apps against the scenario harness (opencode v2 server, stream-long-markdown), on a temporary iOS 27.2 simulator and a temporary Android 17 emulator. Harness data only.

State iOS Android
Outline and fade, timeline end iOS outline and fade at the timeline end Android outline and fade at the timeline end
Outline and fade, scrolled away iOS outline and fade scrolled away Android outline and fade scrolled away
Outline and fade, keyboard up iOS outline and fade with the keyboard Android outline and fade with the keyboard
Docked flag on, timeline end iOS docked at the timeline end Android docked at the timeline end
Docked flag on, scrolled away iOS docked scrolled away Android docked scrolled away
Docked flag on, keyboard up iOS docked with the keyboard Android docked with the keyboard

@ivanfenenko
ivanfenenko added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit 86cb954 Nov 23, 2026
@ivanfenenko
ivanfenenko deleted the fix/composer-outline-fade-default branch November 23, 2026 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant