Skip to content

Curtailment: edit modal component #293

@negarn

Description

@negarn

🤖 This issue was created by Negar's AI agent.

Parent: #172

Scope

  • Add/reuse edit mode for the curtailment modal component.
  • Clicking the active curtailment Manage CTA opens the existing Plan a curtailment modal in edit mode.
  • Pre-populate fields from the active curtailment event, including target, priority, scope, restore settings, duration controls, maintenance flags, and reason.
  • Save submits update curtailment event rather than start curtailment.

Acceptance criteria

  • Manage CTA opens the modal in edit mode with title Manage curtailment.
  • New curtailment planning still opens the default Plan a curtailment modal.
  • Edit mode preserves preview/update error handling.
  • Focused component/page tests cover the Manage CTA and prefilled edit fields.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions