Skip to content

feat: workflow editor improvements -- list page, YAML import, conditionals, minimap, copy/paste #1029

@Aureliolo

Description

@Aureliolo

Summary

Follow-up improvements for the visual workflow editor (#247, PR #1018). Consolidates #1007, #1009, #1010, #1011 into this single tracking issue.

Items

1. Workflow list/management page

The editor currently auto-creates a single workflow on first visit. Add a /workflows list page with:

  • Table/card view of all saved workflow definitions
  • Create new, duplicate, delete actions
  • Click to open in editor (/workflows/editor?id=...)
  • Filter by workflow type

2. Bidirectional YAML editing

The YAML preview panel is currently read-only. Allow users to edit YAML directly and have changes reflected on the canvas:

  • Toggle between visual editor and YAML editor modes
  • Parse YAML changes back into nodes/edges (YAML import -- formerly feat: YAML import for workflow definitions #1009)
  • Validate on parse, show inline errors for invalid YAML
  • Preserve node positions when round-tripping through YAML

3. Multi-workflow support in editor

  • Workflow selector/dropdown in the editor toolbar
  • Quick-switch between workflows without navigating away
  • "Save as new" / duplicate workflow action

4. Structured conditional expression builder (formerly #1007)

Replace free-text conditions on workflow conditional edges with a structured expression builder:

  • Field comparisons (e.g., task.status == 'completed')
  • Status checks, logical operators (AND/OR/NOT), nested groups
  • Visual UI that produces structured expressions
  • Advanced free-text fallback mode

5. Minimap for large workflows (formerly #1010)

Add the @xyflow/react MiniMap control to the canvas for overview navigation in large workflows.

6. Copy/paste node groups (formerly #1011)

Select multiple nodes and duplicate them as a group, preserving internal edge connections. Speeds up building workflows with repetitive patterns.

Dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    prio:lowNice to have, can deferscope:medium1-3 days of workspec:human-interactionDESIGN_SPEC Section 13 - Human Interaction Layertype:featureNew feature implementationv0.6Minor version v0.6v0.6.3Patch release v0.6.3

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions