[Bug] Make Runs/Blueprints tooltips functional on model card page#21
Open
nojibe wants to merge 1 commit into
Open
[Bug] Make Runs/Blueprints tooltips functional on model card page#21nojibe wants to merge 1 commit into
nojibe wants to merge 1 commit into
Conversation
- 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:

Summary
Root cause
cards/[modelId]/page.tsxis 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
Fixes in-app bug report from nnojibe@gmail.com.
Closes #15
▎ PR written with assistance from Claude (Anthropic).