Skip to content

feat: Add slot timeline component#377

Merged
samcm merged 1 commit intomasterfrom
samcm/slot-timeline-flame
Jan 16, 2026
Merged

feat: Add slot timeline component#377
samcm merged 1 commit intomasterfrom
samcm/slot-timeline-flame

Conversation

@samcm
Copy link
Member

@samcm samcm commented Jan 16, 2026

Adds a new Timeline tab to the slot breakdown, OLTP/Jaeger style.

image

…zation

Break down the 1390-line monolithic component into 11 focused modules with clear separation of concerns. New architecture:
- SlotProgressTimeline.tsx (319 lines): Main component & state orchestration
- useTraceSpans.ts (919 lines): All span-building logic extracted into custom hook
- TimelineHeader, TimelineGrid, TimelineLegend: Reusable UI components
- TimelineTooltip, TimelineRow: Extracted sub-components for future optimization
- constants.ts, utils.ts, types.ts: Shared utilities and type definitions

Features:
- Exclude outliers toggle (default: ON) for cleaner parent span calculations
- Point-in-time display: individual node observations now show absolute time instead of fake durations
- Contributor filtering with URL parameter persistence
- Outlier detection via IQR-based statistical analysis
- Classification-based node coloring (internal=teal, individual=violet)

Add Timeline tab to slot detail page with integrated contributor filter that persists to URL.
Always fetch blob and data column data (handles Fulu fork edge cases).
@samcm samcm requested a review from Savid as a code owner January 16, 2026 04:06
@samcm samcm changed the title refactor: SlotProgressTimeline as Jaeger-style trace visualization feat: Add slot timeline component Jan 16, 2026
@samcm samcm merged commit b95af3d into master Jan 16, 2026
2 of 3 checks passed
@samcm samcm deleted the samcm/slot-timeline-flame branch January 16, 2026 07:06
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