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:
gsxdsm
2026-03-31 19:53:35 -07:00
parent 3d7c9ef070
commit 40164e6b04
5 changed files with 247 additions and 8 deletions

View 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