feat(web): manage independent schedules and restore recorded stage navigation
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user