feat(web): manage independent schedules and restore recorded stage navigation

This commit is contained in:
2026-10-21 02:06:15 +01:00
parent 4ab49a2749
commit 1e4654381e
31 changed files with 843 additions and 52 deletions
+2 -2
View File
@@ -3,7 +3,6 @@ package examples
import (
"embed"
"git.a-wan.net/alan/pipelines/internal/protocol"
"strings"
)
// Only checked-in Markdown examples are shipped. No runtime databases or user drafts.
@@ -27,7 +26,8 @@ func Catalog() []protocol.Template {
for _, item := range starters {
data, _ := sources.ReadFile(item.Key + ".md")
item.Source = string(data)
item.Scheduled = strings.Contains(item.Source, "```schedule")
// Schedules are saved run configurations, never starter definitions.
item.Scheduled = false
result = append(result, item)
}
return result