Skip to content

fix(dashboard): keep tooltips open for text selection - #1189

Draft
dcramer wants to merge 1 commit into
mainfrom
codex/fix-interactive-tooltips
Draft

fix(dashboard): keep tooltips open for text selection#1189
dcramer wants to merge 1 commit into
mainfrom
codex/fix-interactive-tooltips

Conversation

@dcramer

@dcramer dcramer commented Aug 2, 2026

Copy link
Copy Markdown
Member

Dashboard tooltips now stay open as the pointer moves from the trigger into their content, so cost and usage breakdown text can be selected. Both metric tooltips and the shared chart tooltip accept pointer input and coordinate trigger focus or hover with tooltip hover through a short close grace period.

Previously, tooltip content disabled pointer events and the surface closed immediately when the trigger was left. Browser regression coverage now enters the conversation cost tooltip, selects a cost value, and verifies that the tooltip remains visible; visual QA against the mock conversation dashboard showed the selected state without clipping or layout changes.

@vercel

vercel Bot commented Aug 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
junior-docs Ready Ready Preview Aug 2, 2026 3:31am

Request Review

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 811d7c2. Configure here.

onMouseLeave={() => {
tooltipHoveredRef.current = false;
scheduleTooltipClose();
}}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Selection drag dismisses open tooltips

Low Severity

Tooltip leave handlers clear the hover ref and schedule close as soon as the pointer exits the surface. A drag-select that briefly leaves the bounds therefore dismisses the tooltip after the grace period and drops the selection, which undercuts selecting longer cost or usage breakdown text.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 811d7c2. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant