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
@@ -1,7 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import { computed, nextTick, onBeforeUnmount, onMounted, ref } from "vue";
|
||||
import { Handle, Position } from "@vue-flow/core";
|
||||
import { CircleAlert, CircleCheck, CircleMinus, CircleX, Copy, EllipsisVertical, Flag, LoaderCircle, Pencil, Play, Repeat, Settings2, SkipForward, Tag, Trash2, Workflow, Zap, BookOpen } from "@lucide/vue";
|
||||
import { CircleAlert, CircleCheck, CircleMinus, CircleX, Copy, EllipsisVertical, Flag, LoaderCircle, Pencil, Play, Repeat, Settings2, SkipForward, Tag, Trash2, Workflow, Zap, BookOpen, CalendarClock } from "@lucide/vue";
|
||||
|
||||
import { Badge } from "@/components/ui/badge";
|
||||
import { Button } from "@/components/ui/button";
|
||||
@@ -26,6 +26,7 @@ const props = defineProps<{ data: StepCardData }>();
|
||||
const TRIGGER_KINDS = {
|
||||
issue: { icon: Tag, label: "Issue route" },
|
||||
event: { icon: Zap, label: "Event binding" },
|
||||
schedule: { icon: CalendarClock, label: "Schedule" },
|
||||
playbook: { icon: BookOpen, label: "Playbook" },
|
||||
workflow: { icon: Workflow, label: "Workflow" },
|
||||
} as const;
|
||||
|
||||
Reference in new issue
Block a user