From a8646e76a803108d338c5431cdaf17af37ed75f1 Mon Sep 17 00:00:00 2001 From: Albrecht Degering Date: Wed, 19 Aug 2026 18:47:46 +0200 Subject: [PATCH] refactor(webui): adopt semantic workspace actions --- webui/src/features/tasks/TasksPage.tsx | 68 +++++++++++++------------- 1 file changed, 35 insertions(+), 33 deletions(-) diff --git a/webui/src/features/tasks/TasksPage.tsx b/webui/src/features/tasks/TasksPage.tsx index 5eefe35..04b79aa 100644 --- a/webui/src/features/tasks/TasksPage.tsx +++ b/webui/src/features/tasks/TasksPage.tsx @@ -6,15 +6,12 @@ import { ExternalLink, ListChecks, Plus, - RefreshCw, RotateCcw, Search, XCircle } from "lucide-react"; import { Link } from "react-router"; -import { FormGrid, ToolbarGroup, - ActionToolbar, - AdminIconButton, +import { FormGrid, Button, DateTimeField, Dialog, @@ -27,6 +24,7 @@ import { FormGrid, ToolbarGroup, SelectionListItem, StatePanel, StatusBadge, + WorkspaceActionBar, WorkspaceFrame, WorkspaceLayout, hasScope, @@ -140,26 +138,24 @@ export default function TasksPage({ settings, auth }: { settings: ApiSettings; a helpContextId="tasks.page.inbox" helpModuleId="tasks" primary={<> - - i18n:govoplan-tasks.work - - - + void load(), loading: loading || busy, label: "i18n:govoplan-tasks.refresh" }} + className="tasks-sidebar-bar" + contextActions={i18n:govoplan-tasks.work} + createAction={canWrite ? ( + + ) : undefined} + />