From 03cb07ab68a4b49a5fd72897665c0e2d0445fedc Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Fri, 22 May 2026 08:50:40 -0500 Subject: [PATCH] frontend --- .../config-form/section-configs/detect.ts | 19 +++++++++++++++++++ .../config-form/sections/BaseSection.tsx | 7 ++++++- web/src/pages/Replay.tsx | 12 ++++++++++++ 3 files changed, 37 insertions(+), 1 deletion(-) diff --git a/web/src/components/config-form/section-configs/detect.ts b/web/src/components/config-form/section-configs/detect.ts index 5bbd219822..964a802d3f 100644 --- a/web/src/components/config-form/section-configs/detect.ts +++ b/web/src/components/config-form/section-configs/detect.ts @@ -72,6 +72,25 @@ const detect: SectionConfigOverrides = { "max_disappeared", ], }, + replay: { + restartRequired: [], + fieldOrder: ["width", "height", "fps"], + fieldGroups: { + resolution: ["width", "height", "fps"], + }, + hiddenFields: [ + "enabled", + "enabled_in_config", + "min_initialized", + "max_disappeared", + "annotation_offset", + "stationary", + "interval", + "threshold", + "max_frames", + ], + advancedFields: [], + }, }; export default detect; diff --git a/web/src/components/config-form/sections/BaseSection.tsx b/web/src/components/config-form/sections/BaseSection.tsx index b4b566fc51..9998377276 100644 --- a/web/src/components/config-form/sections/BaseSection.tsx +++ b/web/src/components/config-form/sections/BaseSection.tsx @@ -1288,7 +1288,12 @@ export function ConfigSection({
- {title} + + {title} + {showOverrideIndicator && effectiveLevel === "camera" && (profileOverridesSection || isOverridden) && diff --git a/web/src/pages/Replay.tsx b/web/src/pages/Replay.tsx index b2253130bc..a775ee4312 100644 --- a/web/src/pages/Replay.tsx +++ b/web/src/pages/Replay.tsx @@ -354,6 +354,18 @@ export default function Replay() {
) : (
+