Repository navigation
fix(ui): keep new-session identity anchored as the composer grows - #122242
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Member
Author
|
Pre-merge record for
|
Member
Author
|
Merged via squash.
|
vincentkoc
added a commit
to tangtaizong666/openclaw
that referenced
this pull request
Aug 11, 2026
…-prep * commit 'edb7a1692e58d78ff7e196db39ea8eff297b2e19': (1351 commits) fix(telegram): expose live location updates to hooks (openclaw#122185) fix(ui): remove the pre-creation session row (openclaw#122259) fix(openai): surface failed realtime response outcomes (openclaw#121177) fix(logging): publish diagnostics ZIP through staged atomic overwrite (openclaw#122130) test(cli): trim duplicate MCP probe process cases (openclaw#122260) feat(agents): replay persisted native video (openclaw#122257) fix(test): serialize default e2e runner (openclaw#122203) fix(ui): always show full assistant responses (openclaw#122207) feat(mcp): per-requester OAuth for MCP servers (openclaw#122166) fix(ui): preserve focus on composer accessory clicks (openclaw#122243) fix(backup): exclude state temp files (openclaw#122250) fix(browser): let attached workers exit after CDP use (openclaw#122103) test(cli): trim duplicate Claw authoring process cases (openclaw#122248) refactor(outbound): inline delivery diagnostics (openclaw#122219) refactor: eliminate final wrapper-shadowing hazards (openclaw#122157) fix(ui): keep new-session identity anchored (openclaw#122242) test(cli): trim duplicate gateway process cases (openclaw#122240) fix(media): decode local file URLs safely (openclaw#122192) refactor(agents): centralize typed activity event emission (openclaw#122188) fix(ui): effort slider matches selected level after model switches (openclaw#122125) ...
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 12, 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.
Closes #122226
What Problem This Solves
Fixes an issue where users drafting a new session would see the assistant identity and workspace picker jump upward when pasted or long text made the composer grow.
Why This Change Was Made
The
/newcomposition now uses upper-third gravity and stays top-anchored inside its existing scroll region. The identity, hint, workspace picker, and composer top remain fixed; the existing textarea grows downward to its ten-line cap and then scrolls internally.Recent chats remain visible below the composer. Once growth is one-directional, they no longer move anything above the draft, and preserving them avoids removing useful navigation merely because the composer is non-empty.
User Impact
Typing or pasting a long first prompt no longer repositions the new-session identity or target controls. The empty screen starts higher, long drafts remain bounded, and Recent chats stay available in both light and dark themes.
Evidence
Captured with the real Control UI mock-Gateway surface in Chromium at 1440×900. Before ref:
32a43960c66bd1568712ca8d8c7e432932813271. After ref:f8e744af7d4c0517c1f129b24327bb6ca50493c8.Light theme — before
Light theme — after
Dark theme — before
Dark theme — after
The browser geometry check measures the full growth sequence:
Focused red/green regression proof:
Commands:
Testbox lease
tbx_01kzs5g8nzwafbdebvxzr7zk0k/ run https://github.com/openclaw/openclaw/actions/runs/31529124663 passed the full changed gate plus the focused Chromium suite on the patch-identical pre-rebase head. The final rebase adopted only unrelated main changes; the focused suite and all screenshots were rerun on the final head.Production delta:
+5/-8(net-3). Test delta:+23/-1(net+22). Exact-head PR CI is green: https://github.com/openclaw/openclaw/actions/runs/31532017749.