Skip to content

Add a horizontal schedule minimap bar to Static Kernel Viewer and Trace Viewer V2. - #3779

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_994576183
Oct 10, 2026
Merged

copybara-service[bot] merged 1 commit into
masterfrom
test_994576183

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Add a horizontal schedule minimap bar to Static Kernel Viewer and Trace Viewer V2.

  • Introduce <kernel-minimap> above the timeline canvas in Static Kernel Viewer (via [canvasTopBar] content projection) and behind the enable_minimap feature flag in TraceViewerContainer, rendering downsampled activity across functional unit or trace lanes, a region/marker strip (Kernel Control Flow, JAX Source Code, Steps, XLA Modules, Framework Name Scope), and an interactive viewport lens.
  • Support both unitless bundle axes and microsecond time axes (ps, ns, us, ms, s), Trace Viewer V2 slice colors and dark/light canvas themes (MinimapTheme), click-to-pan, viewport lens drag, left/right resize handles, double-click/button reset, and hover inspection.
  • Add unit and Scuba golden screenshot tests (kernel_minimap_test.ts, static_kernel_viewer_test.ts, and trace_viewer_container_test.ts) for zoomed, dark-theme, time-axis, and feature-flagged states.

@copybara-service
copybara-service Bot force-pushed the test_994576183 branch 2 times, most recently from 56a8897 to bdfaa04 Compare October 10, 2026 02:03
…ce Viewer V2.

- Introduce `<kernel-minimap>` above the timeline canvas in Static Kernel Viewer (via `[canvasTopBar]` content projection) and behind the `enable_minimap` feature flag in `TraceViewerContainer`, rendering downsampled activity across functional unit or trace lanes, a region/marker strip (`Kernel Control Flow`, `JAX Source Code`, `Steps`, `XLA Modules`, `Framework Name Scope`), and an interactive viewport lens.
- Support both unitless bundle axes and microsecond time axes (`ps`, `ns`, `us`, `ms`, `s`), Trace Viewer V2 slice colors and dark/light canvas themes (`MinimapTheme`), click-to-pan, viewport lens drag, left/right resize handles, double-click/button reset, and hover inspection.
- Add unit and Scuba golden screenshot tests (`kernel_minimap_test.ts`, `static_kernel_viewer_test.ts`, and `trace_viewer_container_test.ts`) for zoomed, dark-theme, time-axis, and feature-flagged states.

PiperOrigin-RevId: 996894735
@copybara-service
copybara-service Bot merged commit c4e2fe1 into master Oct 10, 2026
5 checks passed
@copybara-service
copybara-service Bot deleted the test_994576183 branch October 10, 2026 02:32
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