Skip to content

[Bug] Make Runs/Blueprints tooltips functional on model card page#21

Open
nojibe wants to merge 1 commit into
weval-org:mainfrom
nojibe:ken/fix/cursor-help-model-card
Open

[Bug] Make Runs/Blueprints tooltips functional on model card page#21
nojibe wants to merge 1 commit into
weval-org:mainfrom
nojibe:ken/fix/cursor-help-model-card

Conversation

@nojibe
Copy link
Copy Markdown

@nojibe nojibe commented May 5, 2026

Description

Fixes a bug where the "Runs" and "Blueprints" tooltip triggers in the Performance Summary on /cards/{model} pages would not render at times. It would just show the cursor.

Now:
Screenshot 2026-05-05 at 10 54 18 AM

Screenshot 2026-05-05 at 10 54 04 AM

Summary

Root cause

cards/[modelId]/page.tsx is a Server Component, and Radix UI Tooltip needs a client boundary to hydrate — without one, the triggers mount, but the popover never attaches, with no error.

Fix

Extracted the Performance Summary stats into a small Client Component (PerformanceSummaryStats.tsx) so only that sub-tree opts into a client boundary, rather than converting the whole page.

Additional Change

Added the "info" icon to clarify that hovering will render a tooltip.

Testing

  • Navigate to https://weval.org/cards/claude-sonnet-4 (or any model card)
  • Hover over "Runs" and "Blueprints" in the Performance Summary
  • Confirm tooltips now appear on hover
  • Confirm cursor-help (question mark cursor) is present on hover

Fixes in-app bug report from nnojibe@gmail.com.

Closes #15

▎ PR written with assistance from Claude (Anthropic).

- Extract stats into PerformanceSummaryStats client component so
  Radix UI tooltip hydration works (page.tsx is a Server Component)
- Use TooltipTrigger as native button (no asChild) for reliable
  pointer-event capture
- Add info icon (ℹ) to the right of each label
- Set delayDuration={200} on TooltipProvider

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

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

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@nojibe nojibe changed the title [Bug] make Runs/Blueprints tooltips functional on model card page [Bug] Make Runs/Blueprints tooltips functional on model card page May 5, 2026
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.

[Bug] My cursor turns into a question mark when I hover over Blueprint and Runs on...

1 participant