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 12dd3084e5
commit d4e563a19c
52 files changed
+1425 -131

No files matched your search

+3
View File
@@ -152,6 +152,9 @@ func wireOrgSurface(srv *webui.Server, store storecontract.TaskStore) {
if orgs, ok := store.(org.API); ok {
srv.Orgs = orgs
}
if schedules, ok := store.(webui.ScheduleStore); ok {
srv.Schedules = schedules
}
}
// wireCatalog attaches the Gateway-owned surfaces the dashboard reads over the
+3
View File
@@ -11,6 +11,9 @@ import (
"github.com/samcharles93/archie-core/internal/webui"
)
// The State Store client serves the dashboard's schedules (wireOrgSurface).
var _ webui.ScheduleStore = (*staterpc.Client)(nil)
func wireServiceLogs(opts Options, srv *webui.Server, tasks *staterpc.Client, chat *gatewayrpc.Client, feed *logging.Feed) (func(), error) {
srv.LogFeed = feed
srv.LogSources = map[string]webui.LogSource{