Repository navigation
fix(ui): mobile session creation shows a different header and menu button - #188738
Merged
roboclaw-bot merged 4 commits intoOct 30, 2026
Merged
Conversation
… button While a new session is being created on a phone, the pending screen fell back to the squeezed desktop chat header, so its menu button, padding and title changed when the admitted chat took over. The /new topbar also kept an older 32px drawer button. The pending screen now renders the mobile chat header itself, with session controls disabled until the Gateway admits the session. One MobileNavToggle serves the topbar, the mobile chat header and the merged catalog header. Co-authored-by: vyctorbrzezowski <[email protected]>
…tton Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: c8f3a2f0-712b-48c0-b640-c11bd7f310b1
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review in progressClawSweeper is reviewing this revision. This supersedes any previous blocked status. |
roboclaw-bot
marked this pull request as ready for review
October 30, 2026 21:49
Tighten the new pending-header regression test and drop the merged-chrome toggle registration test: drawer registration is now owned solely by MobileNavToggle, whose mount/unmount release the shell chrome test covers. Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 6d015af3-65f1-41f5-829d-c069422e85f0
roboclaw-bot
deleted the
openclaw/fix-mobile-session-creation-menu-icon
branch
October 30, 2026 22:15
Collaborator
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 31, 2026
…tton (openclaw#188738) * fix(ui): session creation on mobile shows a different header and menu button While a new session is being created on a phone, the pending screen fell back to the squeezed desktop chat header, so its menu button, padding and title changed when the admitted chat took over. The /new topbar also kept an older 32px drawer button. The pending screen now renders the mobile chat header itself, with session controls disabled until the Gateway admits the session. One MobileNavToggle serves the topbar, the mobile chat header and the merged catalog header. Co-authored-by: vyctorbrzezowski <[email protected]> * fix(ui): mobile session creation shows a different header and menu button Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: c8f3a2f0-712b-48c0-b640-c11bd7f310b1 * test(ui): keep mobile creation coverage within the test-line budget Tighten the new pending-header regression test and drop the merged-chrome toggle registration test: drawer registration is now owned solely by MobileNavToggle, whose mount/unmount release the shell chrome test covers. Co-authored-by: vyctorbrzezowski <[email protected]> * Publish openclaw/fix-mobile-session-creation-menu-icon Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 6d015af3-65f1-41f5-829d-c069422e85f0 --------- Co-authored-by: vyctorbrzezowski <[email protected]>
This was referenced Nov 1, 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.
What Problem This Solves
Fixes: on phones, the screen shown while a new session is being created uses a different header and menu button than the chat it turns into, so the header visibly changes when the session opens.
Reported by @vyctorbrzezowski.
Work sessions
User Impact
User impact: from the moment you press Start on a phone, the session shows the same header it will keep: the round, outlined menu button, the title placeholder and the Panels/⋯ capsule. Nothing jumps when the Gateway accepts the session. The
/new, Sessions and other narrow-layout pages also use the same menu button as chat.Why This Change Was Made
Before the Gateway accepts a new session, the pending screen has no mobile panel host, so its header fell back to the squeezed desktop chat header. The pending screen now renders the mobile chat header directly. Details, Panels and the session menu stay visible but disabled until the session is accepted, so the layout does not shift when they become usable.
One
MobileNavTogglecomponent now serves the shell top bar, the mobile chat header and the merged catalog header, replacing three separately styled drawer buttons. The top bar keeps its connection-status dot.Evidence
Mocked Control UI at 390×844, dark theme. Each image is the top 220px of the screen, shown at 2×.
/newdraftAccepted chat, for comparison:
mobile-new-conversation.e2e.test.ts→ "shows the chat header while creating a session". It holdssessions.create, asserts the pending screen renders the mobile chat header (not the desktop fallback), and checks that the menu button's size, border, background and glyph match on the draft page, the pending screen and the accepted chat. It fails on the base (32px transparent button without the glyph) and passes with this change.chat-pane-header.test.tsx; drawer registration now lives only inMobileNavToggle, whose release on unmountshell-chrome.test.tsxstill covers. Net test-line delta stays within thetest-linesratchet.new-session-page.instant-threadandnew-session-page.transitionnow expect the mobile header on the pending screen at phone widths; desktop expectations are unchanged. The instant-thread case still asserts the header keeps its position when the session is accepted.pnpm tsgo:ui, oxlint, oxfmt, stylelint,pnpm check:control-ui-controllers,pnpm ui:buildandpnpm ui:check-performanceall pass.7c0162c03fc8..9ffcaeecccdf(product change): scoped-clean, no actionable findings. The later commit only trims tests.Worked on by