Repository navigation
feat: add first-class dashboard command - #137685
Conversation
|
Codex review: blocked before merge. Reviewed September 4, 2026, 2:58 AM ET / 06:58 UTC. ClawSweeper reviewWhat this changesAdds a built-in Merge readiness⛔ Blocked before merge - 5 items remain Keep open: the branch introduces two P1 command-dispatch defects, and its protected namespace transfer needs maintainer approval. Priority: P1 Review scores
Verification
How this fits togetherThe Control UI chat composer turns sidebar clicks and typed slash commands into native command dispatch. The dashboard command then selects a skill and continues the agent run with dashboard-specific instructions. flowchart LR
A[Sidebar launcher or typed draft] --> B[Chat composer]
B --> C[Native slash-command detection]
C --> D[Dashboard command handler]
D --> E[Control UI skill selection]
E --> F[Agent run creates dashboard]
Decision needed
Why: The PR introduces a user-visible command namespace transfer; the contributor's preference is not maintainer approval, and the protected label requires human direction. Before merge
Findings
Agent review detailsSecurityNone. PR surfaceSource +141, Tests +301, Docs +7. Total +449 across 31 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Approve the alias transfer only if desired, then bind Do we have a high-confidence way to reproduce the issue? Yes—source inspection provides high-confidence reproduction paths for both failures: create a workspace Is this the best way to solve the issue? No—the current implementation conflates normal precedence with a first-class bundled command and conflates parser capture semantics with permission for inline execution. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against a550b3f7a1c3. LabelsLabel justifications:
EvidenceAcceptance criteria:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (7 earlier review cycles)
|
Before / after proofBefore: original side-panel state After — Dashboard is the last option, “Open a tab” is gone, and Side chat uses the chat-plus icon: After — clicking Dashboard focuses the composer and inserts the exact value dashboard-entry.mp4Captured from a real isolated OpenClaw gateway at |
|
🦞👀 Pull request received. I will update this pull request when review starts. |
047c8f5 to
c23a032
Compare
Refreshed before / after proof — exact PR head
|
c23a032 to
3cbc373
Compare
3cbc373 to
4041e78
Compare
4041e78 to
73ae1be
Compare
Maintainer decision and land-ready evidenceDecision: accept the This resolves the remaining compatibility decision in the latest ClawSweeper review. The other P1 is also resolved: the Side panel launcher appends a separate Exact reviewed head: Validation:
Before/after proof: #137685 (comment) The real-browser visual assets were captured on the earlier visual implementation head Known gaps: none in the implementation. The earlier @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review Final exact head: Both P1 findings from the prior review are fixed:
Validation:
The final follow-up commits are nonvisual routing/refactor changes. The real-browser before/after UI proof remains here: #137685 (comment) Maintainer approval for reserving |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
* feat(ui): add dashboard composer launcher * feat: add first-class dashboard command * test: include dashboard in side panel actions * fix(ui): preserve drafts when launching dashboard command * fix(ui): dispatch multi-word dashboard requests * fix: harden dashboard command dispatch * refactor: share dashboard skill loaders
…ision The core /dashboard command (added in openclaw#137685) registers a native Telegram command spec that collides with the Telegram Mini App plugin's channel-owned /dashboard. The collision resolver in buildPluginTelegramMenuCommands rejects the plugin candidate, so the owner-gated DM-only Mini App launch ticket handler is never registered. Yield the Telegram native surface to the channel-owned plugin: filter core native command specs whose names collide with plugin-registered Telegram commands from both the grammy handler list and the collision-reservation set. The core /dashboard text handler remains reachable on every other surface. Fixes openclaw#142336







What Problem This Solves
The empty Side panel does not offer a direct dashboard command, and dashboard creation is only discoverable indirectly through the Control UI skill.
Why This Change Was Made
/dashboard [request]as a first-class built-in Tools command./dashboardthe shared dashboard icon in the chat composer command menu.control-uiskill while preserving exact skill-file selections for the agent runtime./dashboardin the main composer without opening a panel tab.User Impact
People can discover dashboard creation alongside other first-class tools, invoke it as
/dashboard, optionally append requirements, or start the same command from the Side panel.Validation
pnpm vitest run src/auto-reply/reply/commands-dashboard.test.ts src/auto-reply/reply/get-reply-inline-actions.skip-when-config-empty.test.ts src/skills/discovery/chat-commands.test.ts ui/src/pages/chat/components/chat-sidebar-region.test.ts src/auto-reply/commands-registry.test.ts ui/src/lib/chat/commands.test.ts src/docs/slash-commands-doc.test.ts(188 passed)node scripts/check-changed.mjscontrol_ui -> skills/control-ui/SKILL.mdStack