Skip to content

fix(ui): remove duplicate Ask OpenClaw toolbar button - #147189

Merged
steipete merged 3 commits into
mainfrom
codex/remove-ask-openclaw-toolbar
Sep 13, 2026
Merged

steipete merged 3 commits into
mainfrom
codex/remove-ask-openclaw-toolbar

Conversation

@steipete

@steipete steipete commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

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

  • Existing shell test fails against the original button and passes with its removal.
  • All 20 focused tests pass across shell dock suppression, Inbox browser layout, expanded-panel toolbar clearance, and the mocked-Gateway assistant flow. The latter covers Home → Ask OpenClaw, command-palette access, history, and persisted session reuse.
  • Verified the toolbar and Home → Ask OpenClaw in real Chrome against the isolated synthetic mock Gateway.
  • Independent Codex reviews: no actionable findings through P2, including the updated Home capability fixture.
  • All changed-file checks pass. Exact-head CI passed, including the real-Gateway UI suite. ClawSweeper completed with no actionable findings.

Before:

Before: separate Home and Ask OpenClaw toolbar buttons

After:

After: Home followed directly by Inbox

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.
@clawsweeper

clawsweeper Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@steipete
steipete marked this pull request as ready for review September 13, 2026 16:39
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui size: S maintainer Maintainer-authored PR labels Sep 13, 2026
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 13, 2026
@clawsweeper

clawsweeper Bot commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 13, 2026, 12:57 PM ET / 16:57 UTC.

ClawSweeper review

What this changes

Removes 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
Reviewed head: 65c59a02886cf85b082f27017718279d5796d7a4

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused simplification with clear visual proof, meaningful retained coverage, and no actionable findings.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): The inspected Chrome before/after captures directly demonstrate the shell renderer and spacing change against the reported isolated mock Gateway: Home remains and Inbox follows it without the separate Ask OpenClaw launcher.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (screenshot): The inspected Chrome before/after captures directly demonstrate the shell renderer and spacing change against the reported isolated mock Gateway: Home remains and Inbox follows it without the separate Ask OpenClaw launcher.
Evidence reviewed 9 items Introduced production change: The merge-base comparison confirms that the production change removes one launcher, preserves the Home event and availability gate, and removes its obsolete width reservation.
Still necessary on main: The fetched main revision still contains both Home and Ask OpenClaw entries in the toolbar renderer. The subsequent follow-history operation failed fetching an unavailable object; the source inspection itself succeeded.
Latest release comparison: The supplied latest-release commit also contains both toolbar launchers; this removal is not present in that release.
Findings None None.
Security None None.

How this fits together

The 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
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source -34, Tests -2, Docs 0. Total -36 across 7 files.

View PR surface stats
Area Files Added Removed Net
Source 3 18 52 -34
Tests 3 12 14 -2
Docs 1 1 1 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 7 31 67 -36

Review metrics

None.

Technical review

Best 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.

Labels

Label changes:

  • add P3: This is a bounded toolbar simplification with existing assistant access paths preserved.
  • add proof: sufficient: Contributor real behavior proof is sufficient. The inspected Chrome before/after captures directly demonstrate the shell renderer and spacing change against the reported isolated mock Gateway: Home remains and Inbox follows it without the separate Ask OpenClaw launcher.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. The inspected Chrome before/after captures directly demonstrate the shell renderer and spacing change against the reported isolated mock Gateway: Home remains and Inbox follows it without the separate Ask OpenClaw launcher.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (screenshot): The inspected Chrome before/after captures directly demonstrate the shell renderer and spacing change against the reported isolated mock Gateway: Home remains and Inbox follows it without the separate Ask OpenClaw launcher.

Label justifications:

  • P3: This is a bounded toolbar simplification with existing assistant access paths preserved.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (screenshot): The inspected Chrome before/after captures directly demonstrate the shell renderer and spacing change against the reported isolated mock Gateway: Home remains and Inbox follows it without the separate Ask OpenClaw launcher.
  • proof: sufficient: Contributor real behavior proof is sufficient. The inspected Chrome before/after captures directly demonstrate the shell renderer and spacing change against the reported isolated mock Gateway: Home remains and Inbox follows it without the separate Ask OpenClaw launcher.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. The inspected Chrome before/after captures directly demonstrate the shell renderer and spacing change against the reported isolated mock Gateway: Home remains and Inbox follows it without the separate Ask OpenClaw launcher.

Evidence

What I checked:

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
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.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@steipete
steipete merged commit a0afaaa into main Sep 13, 2026
142 of 144 checks passed
@steipete
steipete deleted the codex/remove-ask-openclaw-toolbar branch September 13, 2026 17:06
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 14, 2026
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui docs Improvements or additions to documentation maintainer Maintainer-authored PR P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant