Skip to content

Show the inference region only where latency is plotted - #455

Open
seribaymadina wants to merge 1 commit into
mainfrom
region-scope
Open

Show the inference region only where latency is plotted#455
seribaymadina wants to merge 1 commit into
mainfrom
region-scope

Conversation

@seribaymadina

@seribaymadina seribaymadina commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

The region marker had spread to the WER bar chart and the accuracy scatter, where a network round-trip says nothing about quality. A globe also rode the top of every cross-region WER bar, reading as if it applied to neighbouring models too.

It now shows on the timeline tooltip, the latency distribution, and the region filter chips.

Fish Audio's three us-west-1 TTS models are the only ones tagged today.

Greptile Summary

The PR confines inference-region indicators to latency-related timeline tooltips and region filter chips, removing them from quality charts.

  • Removes region badges from WER bars and latency/accuracy scatter tooltips.
  • Adds region badges to timeline tooltip model rows.
  • Adds a globe icon to inference-region facet options.

Confidence Score: 4/5

The timeline region badge popover should be moved outside the tooltip's overflow-clipped model list before merging.

The region label renders, but its interactive explanation is mounted beneath an overflow-scrolling ancestor and is especially constrained in the 106px mobile pinned tooltip.

Files Needing Attention: web/components/charts/tooltips/TimelineTooltip.tsx

Reviews (1): Last reviewed commit: "Show the inference region only where lat..." | Re-trigger Greptile

Greptile also left 1 inline comment on this PR.

The region marker had spread to the WER bar chart and the accuracy
scatter, where a network round-trip says nothing about quality. A globe
also rode the top of every cross-region WER bar, which read as if it
applied to neighbouring models too.

It now appears on the timeline tooltip, the latency distribution, and the
region filter chips.
@seribaymadina
seribaymadina requested a review from a team as a code owner August 5, 2026 21:23
@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 103a1e43-9f54-4f24-a9c6-cb0f6be575cc

📥 Commits

Reviewing files that changed from the base of the PR and between 0799052 and 3d843ec.

📒 Files selected for processing (7)
  • web/components/charts/tooltips/BarTooltip.tsx
  • web/components/charts/tooltips/ScatterTooltip.tsx
  • web/components/charts/tooltips/TimelineTooltip.tsx
  • web/components/dashboard/LatencyAccuracySection.tsx
  • web/components/dashboard/QualityBarSection.tsx
  • web/components/layout/FacetFilter.tsx
  • web/components/visualizations/TimelineChart.tsx
💤 Files with no reviewable changes (2)
  • web/components/dashboard/LatencyAccuracySection.tsx
  • web/components/charts/tooltips/BarTooltip.tsx

Walkthrough

The PR removes cross-region badges and props from bar and scatter tooltips. It adds cross-region badge support to timeline tooltips and passes the model map through all timeline tooltip instances. Dashboard quality and latency sections remove obsolete region wiring while retaining dedicated-inference indicators. Region facet options now display a globe icon.

Suggested reviewers: borgesius

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly states that inference regions now appear only where latency is plotted.
Description check ✅ Passed The description accurately explains the removal and retention of inference-region markers across the affected charts and filters.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

}}
>
{provider}
<RegionBadge region={crossRegionModels?.get(modelName)} />

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P1 Region popover is scroll-clipped

When a user opens this badge in a non-compact timeline tooltip, its absolutely positioned explanation remains inside the tooltip's overflow-scrolling model list, causing the popover to be clipped or confined to the inner scroll area—especially in the 106px mobile pinned tooltip.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

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.

2 participants