fix(KB-649): fix multi-step scheduled task editor step addition and validation
- Fix step addition flow in ScheduleStepsEditor component - Add form validation for multi-step schedules in ScheduleForm - Add integration tests for multi-step scheduled task flow - Update related CLI and core tests for consistency - Include changeset for the fix
This commit is contained in:
11
.changeset/fix-multi-step-scheduled-task-editor.md
Normal file
11
.changeset/fix-multi-step-scheduled-task-editor.md
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
"@gsxdsm/fusion": patch
|
||||
---
|
||||
|
||||
Fix Add Command Step and Add AI Prompt Step buttons in scheduled task editor
|
||||
|
||||
- Added client-side validation for multi-step schedules to ensure all steps have required content before submission
|
||||
- ScheduleStepsEditor now exposes editing state via `onEditingChange` callback for parent form validation
|
||||
- Form validation prevents submission when steps are incomplete or being edited
|
||||
- Added specific error messages for incomplete steps (e.g., "Step 1: Command is required")
|
||||
- Added integration tests for multi-step flow
|
||||
Reference in New Issue
Block a user