feat: add trace timeline minimap#2552
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: d18f5a1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
🟡 Tier 3 — StandardIntroduces new logic, modifies core functionality, or touches areas with non-trivial risk. Why this tier:
Review process: Full human review — logic, architecture, edge cases. Stats
|
fa57d90 to
6c91de6
Compare
E2E Test Results✅ All tests passed • 223 passed • 3 skipped • 1489s
Tests ran across 4 shards in parallel. |
6c91de6 to
3e6e618
Compare
Summary
TimelineMinimap: time axis + one bar per span over the full trace range. Brush to zoom, drag the viewport rect to pan, drag its edges to resize, double-click or reset button to zoom out. Dimmed overlay + framed rect show the current viewport.TimelineViewportControllerinTimelineChart— imperative bridge (getState, rAF-throttledsubscribe,zoomToRange,panToOffset,reset) exposed viaonReady, so the minimap reads/drives the chart's scroll-based zoom/pan without re-rendering virtualized rows. Wheel-zoom refactored through a sharedcommitViewportso wheel, native scroll, and minimap stay in sync.getMaxEventValueso chart and minimap derive an identical range.DBTraceWaterfallChart(shown once rows load with visible spans).Screenshots or video
Screen.Recording.2026-06-30.at.16.20.44.mov
How to test on Vercel preview
Preview routes:
/searchSteps:
References