Repository navigation
fix(ui): remove duplicate Ask OpenClaw toolbar button - #147189
Conversation
Use Home as the collapsed-sidebar entry point for the shared assistant dock. Remove obsolete launcher rendering and spacing, and retain access, layout, and shared-conversation coverage.
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed September 13, 2026, 12:57 PM ET / 16:57 UTC. ClawSweeper reviewWhat this changesRemoves the separate Ask OpenClaw button from the collapsed sidebar toolbar, retains Home as the shared dock launcher, and updates spacing, existing tests, and documentation. Merge readiness✅ Ready for maintainer review This remains a useful, focused cleanup: current main still shows the duplicate launcher. The inspected screenshots demonstrate the visual result, and no actionable correctness or security findings remain. Priority: P3 Review scores
Verification
How this fits togetherThe Control UI shell renders navigation controls according to sidebar state and Gateway capabilities. Home opens a shared assistant dock containing the selected agent’s conversation and, for authorized operators, Ask OpenClaw. flowchart TD
A[Sidebar state] --> C[Toolbar rendering]
B[Gateway capabilities and access] --> C
C --> D[Home button]
D --> E[Shared assistant dock]
E --> F[Agent Home conversation]
E --> G[Ask OpenClaw tab]
H[Command palette] --> G
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource -34, Tests -2, Docs 0. Total -36 across 7 files. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep one collapsed-toolbar Home launcher while preserving the shared dock tabs and direct Settings and command-palette access. Do we have a high-confidence way to reproduce the issue? Not applicable as a defect reproduction: this is a UI cleanup, and current-main source plus the supplied before capture establish the duplicate launcher. Is this the best way to solve the issue? Yes. Removing the redundant renderer branch and spacing rule reuses the existing shared dock without adding competing state or changing access rules. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 80e086fb1492. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
* fix(ui): remove duplicate Ask OpenClaw toolbar button Use Home as the collapsed-sidebar entry point for the shared assistant dock. Remove obsolete launcher rendering and spacing, and retain access, layout, and shared-conversation coverage. * test(ui): keep toolbar clearance proof on Home * refactor(ui): keep Home toolbar markup in its renderer
What Problem This Solves
The collapsed sidebar toolbar still showed a separate Ask OpenClaw button even though that conversation is already available in the Home dock.
Why This Change Was Made
Remove the duplicate launcher and simplify its rendering helper to the single Home entry point. Keep the existing Home button and its access rules, and remove the extra reserved toolbar width so Inbox sits next to Home. Update the existing toolbar/layout fixtures and the panel guide.
User Impact
The collapsed toolbar is shorter. Open Home → Ask OpenClaw for system setup and repair; Settings and the command palette continue to provide their existing entry points.
Evidence
Before:
After: