Skip to content

feat: Disable editing of graph-structural and flow-routing fields #395

Description

@lornakelly

Description

The node side panel currently edits any field. Some of those fields do not describe a task's behaviour - they describe the shape of the graph. Editing them adds, deletes, reorders or re-routes nodes and edges, which the edit pipeline is not yet built to handle.

Audit task types and disable the editing of fields that would cause the above. The following should be investigated and disabled where applicable.

  • switch
  • do
  • for.do
  • for.branches
  • switch
  • listen - forEach.do
  • then clause - routes edges

Motivation

Adding, deleting and reordering nodes is out of scope for this milestone — the panel edits a task's properties, not the shape of the graph.

Proposed Implementation

No response

Definition of Done

  • Implementation: Fully implemented according to the Open Workflow spec.
  • Unit Tests: Comprehensive unit tests are included and passing.
  • Integration Tests: Verified within the monorepo and target environments (Web/VS Code).
  • Documentation: Updated README.md, ADRs, or official docs.
  • Performance: No significant regression in editor responsiveness.
  • Accessibility: UI changes comply with accessibility standards.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions