feat(ui): schedules table, runs page and Schedule trigger

Schedules list as a table with enable, run now, edit, duplicate, delete and
view runs; built-ins only enable, retime and run. The runs page links each
run's tasks through its capture's dispatches. The Start node gains a Schedule
trigger that picks or creates a schedule and binds the schedule source to the
workflow. Times show in a per-browser display zone set under Appearance; the
cron time zone and run retention are edited on the Schedules page.
This commit is contained in:
sam committed 2026-10-26 00:57:52 +11:00
1 parent 8026c07319
commit 0f75475b91
52 files changed
+1425 -131

No files matched your search

+6 -2
View File
@@ -14,10 +14,11 @@ import {
useAppearanceStore,
} from "@/stores/appearance";
import { Section } from "@/components/ui/section";
import { ZoneSelect } from "@/components/ui/zone-select";
const appearance = useAppearanceStore();
const { density, motion, overscroll, printWidth, theme, tooltipsEnabled } = storeToRefs(appearance);
const { setDensity, setMotion, setOverscroll, setPrintWidth, setTheme, setTooltips } = appearance;
const { density, motion, overscroll, printWidth, theme, timeZone, tooltipsEnabled } = storeToRefs(appearance);
const { setDensity, setMotion, setOverscroll, setPrintWidth, setTheme, setTimeZone, setTooltips } = appearance;
/**
* Appearance: how the dashboard looks, on this browser. These preferences are
@@ -66,6 +67,9 @@ function chooseMotion(value: unknown): void {
<ToggleGroupItem value="reduced">Reduced</ToggleGroupItem>
</ToggleGroup>
</SettingRow>
<SettingRow label="Time zone" for="appearance-zone">
<ZoneSelect id="appearance-zone" :model-value="timeZone" empty-label="Browser" aria-label="Time zone" @update:model-value="setTimeZone" />
</SettingRow>
<SettingRow label="Tooltips">
<Switch :model-value="tooltipsEnabled" aria-label="Tooltips" @update:model-value="setTooltips" />
</SettingRow>