From ee1e01baa6d3067f0d2667095a24609f894efc87 Mon Sep 17 00:00:00 2001 From: Benjamin Pelletier Date: Fri, 16 Oct 2026 17:07:56 -0700 Subject: [PATCH] Add sequence view timeline index page --- .../timeline/templates/scenario.html | 736 +----------------- .../html/templates/timeline/canvas.html | 11 + .../html/templates/timeline/controls.html | 11 + .../html/templates/timeline/horizontal.js | 98 +++ .../html/templates/timeline/style.html | 207 +++++ .../html/templates/timeline/viewport.js | 456 +++++++++++ .../reports/sequence_view/README.md | 4 + .../reports/sequence_view/generate.py | 13 +- .../reports/sequence_view/timeline.py | 172 ++++ .../templates/sequence_view/overview.html | 2 +- .../templates/sequence_view/timeline.html | 252 ++++++ 11 files changed, 1235 insertions(+), 727 deletions(-) create mode 100644 monitoring/monitorlib/html/templates/timeline/canvas.html create mode 100644 monitoring/monitorlib/html/templates/timeline/controls.html create mode 100644 monitoring/monitorlib/html/templates/timeline/horizontal.js create mode 100644 monitoring/monitorlib/html/templates/timeline/style.html create mode 100644 monitoring/monitorlib/html/templates/timeline/viewport.js create mode 100644 monitoring/uss_qualifier/reports/sequence_view/timeline.py create mode 100644 monitoring/uss_qualifier/reports/templates/sequence_view/timeline.html diff --git a/monitoring/benchmarker/artifacts/timeline/templates/scenario.html b/monitoring/benchmarker/artifacts/timeline/templates/scenario.html index 9e07dcaa51..2e9490e2cf 100644 --- a/monitoring/benchmarker/artifacts/timeline/templates/scenario.html +++ b/monitoring/benchmarker/artifacts/timeline/templates/scenario.html @@ -1,216 +1,11 @@ +{% set timeline_horizontal = true %} Scenario {{ scenario_index }} ({{ scenario_name }}) Timeline - {{ spec.name }} - + {% include "timeline/style.html" %}
@@ -245,16 +40,7 @@

Scenario {{ scenario_index }} ({{ scenario_name }}) Timeline

-
- - - -
- -
- - -
+ {% include "timeline/controls.html" %} Duration: {{ timeline_data.duration_shorthand }} {{ timeline_data.stats.total_steps }} Steps @@ -264,13 +50,7 @@

Scenario {{ scenario_index }} ({{ scenario_name }}) Timeline

-
- -
-
- Controls: Left-drag or Mouse wheel to scroll • Shift + Left-drag or Shift + Wheel to zoom time • Ctrl/Alt + Wheel or pinch to zoom lanes • Horizontal wheel or bottom bar to scroll lanes • Hover Time column to inspect active operations -
-
+ {% include "timeline/canvas.html" %} + + +