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:
52 files changed
+1425
-131
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user