diff --git a/openpilot/starpilot/galaxy/tests/test_layout_preview.mjs b/openpilot/starpilot/galaxy/tests/test_layout_preview.mjs index b36b18a723..4facb035fa 100644 --- a/openpilot/starpilot/galaxy/tests/test_layout_preview.mjs +++ b/openpilot/starpilot/galaxy/tests/test_layout_preview.mjs @@ -19,7 +19,7 @@ function fixture() { return { feed, requests, updates, timers, revoked, tick, reply, get unauthorized() { return unauthorized } } } -assert.deepEqual(PREVIEW_SCENES.map(({ id }) => id), ["engaged", "aol", "long_only", "experimental", "braking", +assert.deepEqual(PREVIEW_SCENES.map(({ id }) => id), ["engaged", "aol", "long_only", "experimental", "braking", "stopped", "cem_stop_light", "cem_lead", "cem_curve", "slc_pending", "slc_max", "slc_equal", "slc_pedal", "slc_retained", "slc_disengaged", "slc_unavailable", "slc_display"]) assert.equal(PREVIEW_SCENES.find(({ id }) => id === "experimental").label, "Manual experimental") diff --git a/openpilot/starpilot/galaxy/web/js/layout-preview.js b/openpilot/starpilot/galaxy/web/js/layout-preview.js index 993a0c7910..02e32eb762 100644 --- a/openpilot/starpilot/galaxy/web/js/layout-preview.js +++ b/openpilot/starpilot/galaxy/web/js/layout-preview.js @@ -4,6 +4,7 @@ export const PREVIEW_SCENES = [ { id: "long_only", label: "Longitudinal only" }, { id: "experimental", label: "Manual experimental" }, { id: "braking", label: "Braking" }, + { id: "stopped", label: "Stopped timer" }, { id: "cem_stop_light", label: "CEM · Traffic light" }, { id: "cem_lead", label: "CEM · Stopped lead" }, { id: "cem_curve", label: "CEM · Curve" }, diff --git a/openpilot/starpilot/galaxy/web/js/onroad-layout.js b/openpilot/starpilot/galaxy/web/js/onroad-layout.js index 1922cec7b4..bebf4e283d 100644 --- a/openpilot/starpilot/galaxy/web/js/onroad-layout.js +++ b/openpilot/starpilot/galaxy/web/js/onroad-layout.js @@ -339,9 +339,9 @@ export const LayoutWidgetPreview = {