Repository navigation
fix(ui): new-session placeholder row flashes above the sidebar session list - #174888
Merged
Merged
Conversation
The provisional row shown while the Gateway admits a new session rendered above the whole session list, outside agent roster groups and with its own inset, so a nameless blob appeared between the toolbar and the list and then jumped into place. Render it at the top of the native list, or under its agent in the roster, with the same lead column as real rows. Co-authored-by: Patrick-Erichsen <[email protected]>
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
roboclaw-bot
marked this pull request as ready for review
October 17, 2026 00:29
roboclaw-bot
enabled auto-merge (squash)
October 17, 2026 00:33
Collaborator
Author
|
Merged via squash auto-merge.
|
This was referenced Oct 17, 2026
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 17, 2026
…aw#174888) The provisional row shown while the Gateway admits a new session rendered above the whole session list, outside agent roster groups and with its own inset, so a nameless blob appeared between the toolbar and the list and then jumped into place. Render it at the top of the native list, or under its agent in the roster, with the same lead column as real rows. Co-authored-by: Patrick-Erichsen <[email protected]>
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: right after Start session, a nameless gray blob row flashed between the sidebar's owner/filter toolbar and the session list, above the agent header in the agent roster, then jumped into place once the Gateway admitted the session.
User Impact
User impact: the temporary "creating" row now appears where the new session will actually live: at the top of the session list, or under its agent in the agent roster. It is aligned with the real rows, so nothing flashes or jumps while the session is admitted.
Why This Change Was Made
#172863 added a provisional selected row for unadmitted creates, but rendered it once, outside both the native list and the roster groups, with its own 24px inset. The row now renders from a single helper inside its destination: the native session list body, or the matching agent's roster group, filtered by the agent id in the pending session key. It reuses the real rows' lead column and roster
--teamgrid, so the title edge matches. Selection, no actions, rejection cleanup, and the naming blob are unchanged.Evidence
Mocked-Gateway Control UI E2E, dark theme,
sessions.createdeferred so the provisional state is held. Same-frame sidebar crops:ui/src/e2e/new-session-pending-sidebar.e2e.test.ts: the provisional-row test now runs in both chip and roster modes and asserts the row sits in its destination container, with its title inset equal to a real row's. Onmain, both modes fail at the placement assertion. With the fix, all 4 tests pass (~5.3s;--maxWorkers=1wall ~20s including the Vite build).sidebar-roster.e2e,mobile-new-conversation.e2e,app-sidebar-session-row-render.test, andapp-sidebar.projection-memo.testall pass.pnpm tsgo:uiandpnpm tsgo:test:uipass, oxfmt is clean, and stylelint is clean. Oxlint shows only warnings on unchanged lines.git diff --checkis clean.Work sessions