Skip to content

improve(ui): remove new session picker tooltips - #144651

Merged
Patrick-Erichsen merged 1 commit into
mainfrom
codex/remove-new-session-picker-tooltips
Sep 11, 2026
Merged

Patrick-Erichsen merged 1 commit into
mainfrom
codex/remove-new-session-picker-tooltips

Conversation

@Patrick-Erichsen

@Patrick-Erichsen Patrick-Erichsen commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Hovering the New Session environment and workspace pickers displays the unhelpful labels “Where” and “What”. This removes both tooltips as requested by the maintainer.

Why This Change Was Made

Remove the two picker-level title attributes at their owning templates. Keep the accessible labels, dropdown behavior, and explanatory tooltips inside the menus.

User Impact

The Local and workspace controls stay clear while hovered, and both menus work as before.

Evidence

Real Chromium against an isolated local Gateway at /new, using the same workspace, dark theme, locale, and interaction sequence before and after. Baseline: 0b48b3e78c91; candidate: ae5545794dda, the two-line deletion in this PR. Inspected crops below exclude unrelated account/sidebar content.

Desktop (1440×900):

Both picker hover states before and after

Phone (390×844):

Both picker hover states before and after on a phone-sized viewport

Browser assertions verified zero open tooltips after hovering either control at 390×844, 768×1024, 1366×768, and 1440×900. Both menus opened and closed with Escape; accessible names stayed Where: Local and What: workspace-clawhub-demo. Before the change, the same hover flow displayed “Where” and “What”. The UI entry asset changed from index-DT62Pscu.js to index-DMvxlA0Q.js.

Validation:

  • pnpm build — passed.
  • node ../scripts/run-node-package-bin.mts vite build (from ui) — passed.
  • node scripts/run-vitest.mjs ui/src/pages/new-session/where-chip.test.ts ui/src/pages/new-session/project-chip.test.ts — 52 tests passed.
  • Independent autoreview through P2 — no actionable findings.
  • node scripts/check-changed.mjs -- ui/src/pages/new-session/where-chip.ts ui/src/pages/new-session/project-chip.ts — passed (format, lint, type checks, i18n, guards, and dead-export scans).

No new test was added for this reversible attribute-only removal; real browser comparisons and existing picker tests cover it. Loading, error, and content-heavy screens are unrelated to the removed constant titles. No model turn or channel delivery was needed for this UI-only change. Production LOC: +0/−2; tests: unchanged.

@clawsweeper

clawsweeper Bot commented Sep 11, 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.

@openclaw-barnacle openclaw-barnacle Bot added the app: web-ui App: web-ui label Sep 11, 2026
@Patrick-Erichsen
Patrick-Erichsen marked this pull request as ready for review September 11, 2026 04:23
@openclaw-barnacle openclaw-barnacle Bot added size: XS maintainer Maintainer-authored PR labels Sep 11, 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 11, 2026
@clawsweeper

clawsweeper Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 11, 2026, 12:31 AM ET / 04:31 UTC.

ClawSweeper review

What this changes

Removes the New Session environment and workspace picker hover titles while preserving accessible labels, menu interactions, and explanatory hints inside the menus.

Merge readiness

✅ Ready for maintainer review

This remains a useful, focused polish change: current main and v2026.9.4 retain the unwanted tooltips. The inspected browser comparisons support the intended result, and no actionable correctness or security defects were found.

Priority: P3
Reviewed head: ae5545794dda2eb7c424d2b850dd760073f668c4

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, maintainable patch with strong proportional visual proof and no actionable findings.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected desktop and phone comparisons show the changed picker templates at /new without the former hover bubbles; the captured Chromium/Gateway account ties the result to this head and reports preserved accessible names and menu interactions.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (screenshot): Inspected desktop and phone comparisons show the changed picker templates at /new without the former hover bubbles; the captured Chromium/Gateway account ties the result to this head and reports preserved accessible names and menu interactions.
Evidence reviewed 7 items Verified introduced change: The pinned merge-base-to-head diff removes only the two picker title attributes; accessible names, disabled states, event handlers, and menu hints remain unchanged. The host-verified test merge also changes only these templates.
Existing tooltip owner: The shared tooltip adapter discovers title/data-tooltip hints and preserves explicit accessible labels; removing these hints at their owning templates avoids introducing a second tooltip policy.
Current main still needs the change: Both title bindings remain on fetched main: project-chip.ts:166 and where-chip.ts:257.
Findings None None.
Security None None.

How this fits together

The Control UI’s New Session page presents environment and workspace choices before starting a conversation. Its picker templates supply accessible controls and optional titles to the shared tooltip renderer.

flowchart LR
  A[Environment and workspace selections] --> B[New Session picker templates]
  B --> C[Accessible picker buttons]
  C --> D[Open selection menus]
  B --> E[Optional title hints]
  E --> F[Shared tooltip renderer]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source -2. Total -2 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 2 0 2 -2
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 0 2 -2

Review metrics

None.

Technical review

Best possible solution:

Keep tooltip content owned by the existing templates, preserving accessible picker names and useful menu-level explanations.

Do we have a high-confidence way to reproduce the issue?

Not applicable as a bug reproduction: this is requested UI polish, with the existing hover labels established by current source and the supplied before/after browser captures.

Is this the best way to solve the issue?

Yes. Removing the constant titles at their owning templates is the narrowest solution and retains accessible names and useful contextual hints.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against b7402c5b9e99.

Labels

Label changes:

  • add P3: This is a low-risk visual polish change that leaves picker functionality intact.
  • add proof: sufficient: Contributor real behavior proof is sufficient. Inspected desktop and phone comparisons show the changed picker templates at /new without the former hover bubbles; the captured Chromium/Gateway account ties the result to this head and reports preserved accessible names and menu interactions.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. Inspected desktop and phone comparisons show the changed picker templates at /new without the former hover bubbles; the captured Chromium/Gateway account ties the result to this head and reports preserved accessible names and menu interactions.
  • 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): Inspected desktop and phone comparisons show the changed picker templates at /new without the former hover bubbles; the captured Chromium/Gateway account ties the result to this head and reports preserved accessible names and menu interactions.

Label justifications:

  • P3: This is a low-risk visual polish change that leaves picker functionality intact.
  • 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): Inspected desktop and phone comparisons show the changed picker templates at /new without the former hover bubbles; the captured Chromium/Gateway account ties the result to this head and reports preserved accessible names and menu interactions.
  • proof: sufficient: Contributor real behavior proof is sufficient. Inspected desktop and phone comparisons show the changed picker templates at /new without the former hover bubbles; the captured Chromium/Gateway account ties the result to this head and reports preserved accessible names and menu interactions.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. Inspected desktop and phone comparisons show the changed picker templates at /new without the former hover bubbles; the captured Chromium/Gateway account ties the result to this head and reports preserved accessible names and menu interactions.

Evidence

What I checked:

Likely related people:

  • Patrick-Erichsen: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Peter Steinberger: 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.

@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

Ready to land ae5545794dda2eb7c424d2b850dd760073f668c4. Removes the two picker title attributes (+0/−2 production lines). Desktop/mobile before-and-after proof is embedded above; real Gateway checks at four viewport sizes confirm no hover tooltips and working menus, Escape, and accessible names.

Validation: production build, changed-file checks, and all 52 picker tests passed. Independent P2 review and the latest ClawSweeper review have no findings or outstanding merge actions. Exact-head CI run 34562030976, including required openclaw/ci-gate, passed. Proceeding through the native prepare/merge flow under the requested autoland authorization.

@Patrick-Erichsen
Patrick-Erichsen merged commit e0c750a into main Sep 11, 2026
188 checks passed
@Patrick-Erichsen
Patrick-Erichsen deleted the codex/remove-new-session-picker-tooltips branch September 11, 2026 04:42
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

Merged via squash.

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 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: XS 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