From b0cb5b70d042dd36ec79462397a85fe9f184d235 Mon Sep 17 00:00:00 2001 From: SaelixCode Date: Fri, 3 Jul 2026 13:17:54 -0400 Subject: [PATCH] fix: replace Timeline/All tasks buttons with SegmentedControl The two loose Button elements had indistinguishable selected/unselected states (secondary vs ghost). Replaced with the SegmentedControl component already used elsewhere on the same page, which has a clear active highlight indicator. --- .../components/ScheduledOperationsView.tsx | 28 ++++++------------- .../ScheduledOperationsView.test.tsx | 18 ++++++------ 2 files changed, 17 insertions(+), 29 deletions(-) diff --git a/frontend/src/components/ScheduledOperationsView.tsx b/frontend/src/components/ScheduledOperationsView.tsx index aa6ac329..0eb5dc2b 100644 --- a/frontend/src/components/ScheduledOperationsView.tsx +++ b/frontend/src/components/ScheduledOperationsView.tsx @@ -484,26 +484,14 @@ export default function ScheduledOperationsView({ filterNodeId, onClearFilter, p Scheduled Operations
-
- - -
+ + value={view} + options={[ + { value: 'timeline', label: 'Timeline', icon: CalendarClock }, + { value: 'table', label: 'All tasks', icon: Table2 }, + ]} + onChange={(v) => setView(v)} + />