Skip to content

fix: dismiss sidebar session tooltip when menu opens - #127044

Merged
shakkernerd merged 1 commit into
mainfrom
fix/sidebar-menu-tooltip
Aug 21, 2026
Merged

shakkernerd merged 1 commit into
mainfrom
fix/sidebar-menu-tooltip

Conversation

@shakkernerd

Copy link
Copy Markdown
Contributor

Closes #127039

What Problem This Solves

Fixes an issue where users opening a session's overflow menu could have its hover tooltip remain visible and obscure the menu's upper actions.

Why This Change Was Made

The session overflow hint now uses OpenClaw's shared tooltip and is disabled from the authoritative session-menu state while that menu is open. This closes the tooltip for click, keyboard, and context-menu opening paths and prevents it from reopening until the menu closes.

User Impact

Session overflow menus now open unobstructed, while the normal hover hint remains available when the menu is closed.

Evidence

@clawsweeper

clawsweeper Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: S maintainer Maintainer-authored PR labels Aug 21, 2026
@shakkernerd shakkernerd self-assigned this Aug 21, 2026
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. 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 Aug 21, 2026
@clawsweeper

clawsweeper Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 21, 2026, 1:55 AM ET / 05:55 UTC.

ClawSweeper review

What this changes

The PR moves the sidebar session-menu hint to OpenClaw’s shared tooltip and suppresses it while that session’s menu is open.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

Keep open: this active, maintainer-authored PR cleanly addresses a reproducible Control UI tooltip overlap, with no blocking source-level finding.

Priority: P3
Reviewed head: 42b10a19ad304dba72b476ff484c3b8c2a47c997

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused source-backed repair with a meaningful interaction regression test and no blocking correctness finding.
Proof confidence 🌊 off-meta tidepool Not applicable: This member-authored PR is outside the external-contributor proof gate; its body nevertheless links focused UI validation and a before/after Chromium artifact.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This member-authored PR is outside the external-contributor proof gate; its body nevertheless links focused UI validation and a before/after Chromium artifact.
Evidence reviewed 6 items Current-main defect: The current-main session-menu button retains a native title while its expanded state is driven separately, leaving the browser tooltip outside the menu lifecycle.
Canonical menu state: All row opening paths converge on the controller’s session-menu state, and closing the menu clears that state and requests a UI update.
Shared-tooltip repair: The new disabled state closes an existing popup and prevents delayed or focus-triggered reopening while disabled; the adapter continues to own Web Awesome popup state.
Findings None None.
Security None None.

Live Verification

Command: pnpm ui:build

Result: PASS (completed)

pnpm ui:build
runner@runnervm76f27:/tmp/clawsweeper-live-proof-127044-IloKoQ/target$ pnpm ui:build
$ node scripts/ui.js build
$ vite build
pnpm ui:build
vite v8.1.5 building client environment for production...
transforming...












































Assertions:

  • PASS expect_output: vite v

How this fits together

The Control UI sidebar renders session action buttons and asks the sidebar menu controller to open session menus. The shared tooltip wrapper supplies the hover hint and now closes it when the controller marks that row’s menu open.

flowchart LR
  A[Sidebar session row] --> B[Menu button interaction]
  B --> C[Sidebar menu controller]
  C --> D[Open menu state]
  D --> E[Shared tooltip disabled]
  E --> F[Unobstructed session menu]
Loading

Before merge

  • Resolve merge risk (P1) - Production code grows by net 14 lines for a narrow UI defect; the growth is proportionate only because the shared tooltip must close an already-open popup and cancel pending reopens without replacing the menu trigger.
  • Complete next step (P2) - No repair lane is needed: the patch has no discrete source-level blocker, and this protected maintainer PR awaits normal exact-head validation.
Agent review details

Security

None.

PR surface

Source +32. Total +32 across 3 files.

View PR surface stats
Area Files Added Removed Net
Source 3 57 25 +32
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 3 57 25 +32

Review metrics

Metric Value Why it matters
Production versus test LOC production +32/-18 (net +14); tests +25/-7 (net +18) The shared-tooltip state is the smallest stable owner for closing an active popup without recreating the menu trigger; the test growth covers the affected sidebar interaction.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #127039
Summary: This PR is the focused candidate repair for the linked sidebar-tooltip bug report.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Retain the shared tooltip disable path driven by canonical session-menu state, then merge after exact-head checks confirm the focused UI proof remains valid.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Retain the shared tooltip disable path driven by canonical session-menu state, then merge after exact-head checks confirm the focused UI proof remains valid.

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

Yes—source-reproducible with high confidence: current main retains the native title while the central menu controller opens the popup independently, matching the linked visual report. The reviewer did not execute the UI locally.

Is this the best way to solve the issue?

Yes. The controller’s menu state covers click, keyboard, and context-menu opening, while the shared tooltip owns closing its own popup and pending timers; a row-local title mutation would split that lifecycle.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 0e75204f0505.

Labels

Label changes:

  • add P3: This is a focused visual sidebar polish fix: it prevents menu actions being obscured without affecting delivery, sessions, authentication, or availability.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This member-authored PR is outside the external-contributor proof gate; its body nevertheless links focused UI validation and a before/after Chromium artifact.

Label justifications:

  • P3: This is a focused visual sidebar polish fix: it prevents menu actions being obscured without affecting delivery, sessions, authentication, or availability.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This member-authored PR is outside the external-contributor proof gate; its body nevertheless links focused UI validation and a before/after Chromium artifact.

Evidence

What I checked:

Likely related people:

  • openclaw-mantis[bot]: Current-base blame points to the latest available Control UI history commit, though that generated locale-refresh commit is not enough to establish human ownership. (role: recent Control UI tree carrier; confidence: low; commits: bafa32fd544b; files: ui/src/components/app-sidebar-session-row-render.ts, ui/src/components/tooltip.ts, ui/src/test-helpers/app-sidebar-cases/interactions.ts)

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.

@shakkernerd
shakkernerd force-pushed the fix/sidebar-menu-tooltip branch from 42b10a1 to 3e01aa1 Compare August 21, 2026 06:08
@shakkernerd
shakkernerd merged commit d15f570 into main Aug 21, 2026
146 checks passed
@shakkernerd
shakkernerd deleted the fix/sidebar-menu-tooltip branch August 21, 2026 06:14
@shakkernerd

Copy link
Copy Markdown
Contributor Author

Fixed: Sidebar session overflow menus now open without their hover tooltip obscuring menu actions.

vincentkoc added a commit that referenced this pull request Aug 21, 2026
* origin/main: (107 commits)
  perf(test): speed up Agents page observation polling (#127063)
  fix(android): explicitly target notification intents (#127055)
  fix(agents): preserve literal Unicode-space paths (#126797)
  fix(agents): distinguish review routing from enforcement (#126216)
  fix(ui): associate steering work by target run (#126997)
  fix(ui): collapse completed pre-steer work
  fix(codex): preserve steering transcript order
  fix(gateway): retain Bonjour cleanup on startup failure (#127062)
  fix(release): require concrete validation retry groups (#127012)
  fix(file-transfer): expose directory page tokens (#127051)
  perf: trim setup detection worker imports (#127053)
  fix(onboard): make --auth-choice help match the accepted set (#127030)
  fix(gateway): await cron exit watcher drain (#126963)
  fix(telegram): preserve direct-topic self-history (#127050)
  fix: dismiss sidebar session menu tooltip (#127044)
  perf(test): speed up pairing access polling (#127047)
  perf(cli): remove ineffective dynamic imports (#127046)
  fix(gateway): recover credential-file accounts after secrets reload (#126999)
  fix(gateway): restore scheduler-owned Gateway context (#126640)
  fix(macos): keep first-run onboarding visible after Gateway changes (#127038)
  ...

# Conflicts:
#	.github/workflows/full-release-validation.yml
#	test/scripts/full-release-validation-at-sha.test.ts
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 22, 2026
Dismiss the sidebar session tooltip whenever its overflow menu opens, preserving unobstructed menu actions and stable row semantics.

Refs openclaw#127039.
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. 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.

[Bug]: Sidebar session tooltip obscures the overflow menu after opening it

1 participant