Repository navigation
feat(ui): session dashboard shell β board face, chat dock, reset guard - #110728
Conversation
There was a problem hiding this comment.
π‘ Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8129c6a650
βΉοΈ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with π.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| const confirmation = await confirmConversationResetForCurrentSession(host); | ||
| if (confirmation !== "confirmed") { | ||
| return confirmation; | ||
| } | ||
| await opts.sendResetMessage(args ? `/reset ${args}` : "/reset", opts); |
There was a problem hiding this comment.
Route queued /reset through board confirmation
In a board-bearing session, typing /reset from the composer still bypasses this new guard: handleSendChat queues local reset commands and drainStoredChatOutbox converts localCommandName === "reset" into a plain /reset message before dispatchChatSlashCommand is called (ui/src/pages/chat/chat-send.ts:1772). That means the confirmation added here is only exercised by direct dispatch/non-queued callers, so the main reset path can still clear context without the dashboard-preservation warning.
Useful? React with πΒ / π.
|
Codex review: needs real behavior proof before merge. Reviewed July 18, 2026, 12:55 PM ET / 16:55 UTC. Summary PR surface: Source +1560, Tests +938. Total +2498 across 31 files. Reproducibility: yes. from source with medium confidence: open a board-bearing session on the dashboard face, side-dock chat on a wide window, and open a workspace/tasks/detail rail; the chatβs rail decisions use full-pane rather than dock width. A browser run is still needed to confirm the visible overflow/squeeze on the current head. Review metrics: 1 noteworthy metric.
Stored data model Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Risk before merge
Maintainer options:
Next step before merge
Security Review findings
Review detailsBest possible solution: Size embedded chat layout decisions from the active dashboard dock dimensions or force its secondary rails into the narrow/bottom presentation while side-docked, then attach redacted browser proof covering left/right/bottom/hidden docks and a narrow side-dock case with an existing rail open. Do we have a high-confidence way to reproduce the issue? Yes, from source with medium confidence: open a board-bearing session on the dashboard face, side-dock chat on a wide window, and open a workspace/tasks/detail rail; the chatβs rail decisions use full-pane rather than dock width. A browser run is still needed to confirm the visible overflow/squeeze on the current head. Is this the best way to solve the issue? No. The current shell is not the best landing state while side-docked chat still bases responsive layout on the enclosing pane; the narrow embedded surface needs its own measured layout input or a forced narrow rail layout. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 837db49ebb24. Label changesLabel justifications:
Evidence reviewedPR surface: Source +1560, Tests +938. Total +2498 across 31 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
There was a problem hiding this comment.
π‘ Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9b3cfc1381
βΉοΈ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with π.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| assistantAttachmentAuthToken: resolveAssistantAttachmentAuthToken(state as never), | ||
| basePath: state.basePath, | ||
| }; | ||
| const chat = renderChat(props); |
There was a problem hiding this comment.
Size dashboard chat layout from the dock
When the dashboard face side-docks chat, this chat template was already built from props whose rail/sidebar decisions use the full pane width (this.paneWidth) rather than the dock width. On a wide window with the default 420px side dock and an open workspace/tasks/detail rail, those rails remain side-docked because paneWidth exceeds the 800px/680px thresholds, so a 280px rail or detail panel is laid out inside the narrow chat dock and squeezes/overflows the composer. Build the chat props from the actual dock size, or force the chat rails/detail panel into their narrow/bottom layout while chat is embedded in a side dock.
Useful? React with πΒ / π.
|
@copilot resolve the merge conflicts in this pull request |
β¦-dock # Conflicts: # ui/src/components/app-sidebar-session-list.ts
Resolved and pushed in 4eea004. I merged latest |
openclaw#110728) * feat(ui): add session dashboard shell * fix(ui): defer confirmed reset during active runs * fix(ui): align dashboard shell with shared controls --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]>
openclaw#110728) * feat(ui): add session dashboard shell * fix(ui): defer confirmed reset during active runs * fix(ui): align dashboard shell with shared controls --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]>
What Problem This Solves
Shell half of the session-dashboard program (design:
docs/web/dashboard-architecture.md): sessions get a second "board" face with the chat docked beside it. This PR delivers the host surface β Chat|Dashboard face toggle, dockable/hideable chat pane (left/right/bottom/hidden;DockPanelSidegainsleft), reset-confirm dialog for board-bearing sessions ("context resets, the dashboard stays"), sidebar board glyph on sessions with boards, and per-session face/tab persistence.Why This Change Was Made
Built against the frozen board contract with a provider seam:
NullProvideris the default, so with no board the chat experience is pixel-identical to today. The sibling grid PR (#110644) supplies<openclaw-board-view>; the gateway domain PR wires the real provider later. Mock provider + fixtures cover development and tests until then.User Impact
None until a board provider exists (NullProvider default renders nothing new). With the mock/dev harness: face toggle, docked chat on all three sides plus hidden with reopen rail, reset warning.
Evidence
check-changedgreen on Blacksmith Testbox pre-rebase; formatting/lint/typecheck clean.