Repository navigation
improve(ui): remove new session picker tooltips - #144651
Conversation
|
🦞👀 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 11, 2026, 12:31 AM ET / 04:31 UTC. ClawSweeper reviewWhat this changesRemoves 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 Review scores
Verification
How this fits togetherThe 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]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource -2. Total -2 across 2 files. View PR surface stats
Review metricsNone. Technical reviewBest 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. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Ready to land 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 |
|
Merged via squash.
|
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
titleattributes 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):
Phone (390×844):
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: LocalandWhat: workspace-clawhub-demo. Before the change, the same hover flow displayed “Where” and “What”. The UI entry asset changed fromindex-DT62Pscu.jstoindex-DMvxlA0Q.js.Validation:
pnpm build— passed.node ../scripts/run-node-package-bin.mts vite build(fromui) — 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.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.