Flows YAML — Monaco editor base, list view, create/edit/delete #1071
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks#1071
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
User story
As an operator, I want a browser-based YAML editor with a flow list, create-from-template dialog, edit/save, and delete, so that I can manage flows without leaving the dashboard or editing files on the host.
Acceptance criteria
Routes (
apps/web/src/routes/)flows/index.tsx— searchable table: name, source badge (default / custom), trigger summary, enabled pill, last-run pill, mtime. Row actions: edit, dry-run, disable, delete (custom only).flows/new.tsx— name input + starter template picker (blank, pr-opened, issue-labeled, …). Loads template YAML into editor on submit.flows/$name.tsx— split-pane: Monaco editor left, side-panel placeholder right (panel content lands in #flows-12 / #flows-13).Editor stack
monaco-editor+monaco-yamllazy-loaded as a route-level chunk.design/tokens.json)./schemas/flows.schema.jsononce on mount.Save bar
PUT /flows/:namewithexpected_mtime; 409 → diff prompt with current server contents.Bundle audit
Tests
POST /flows.PUT /flows/:nameand updates dirty state.Out of scope
References
docs/specs/flows-yaml.md§10.3.1, §10.3.5, §10.3.6, §10.3.8, §10.3.9.