Skip to content

Experiment Designer: undo/redo for all edits #54

@mbreiser

Description

@mbreiser

Feature Request

Add undo/redo functionality to the Experiment Designer for all edit operations:

  • Command additions, deletions, and reordering
  • Condition additions, deletions, and reordering
  • Phase command edits
  • Plugin config changes
  • Field value changes (condition ID, pattern, duration, etc.)

Approach

Implement an undo stack that captures experiment state snapshots (or diffs) before each mutation. Keyboard shortcuts: Ctrl+Z (undo), Ctrl+Shift+Z or Ctrl+Y (redo).

Context

Currently all edits are immediate and irreversible. Accidental deletions or reorders require re-importing the YAML or manually recreating the lost state. An undo/redo stack would make the editor much safer to use, especially for complex experiments with many conditions.

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions