Skip to content

feat(schedule-actions): pause form with warning banner (SLICE-2b)#23

Closed
Assem-Uber wants to merge 1 commit into
feat/schedule-actions-pause-resume-uifrom
feat/schedule-actions-pause-form
Closed

feat(schedule-actions): pause form with warning banner (SLICE-2b)#23
Assem-Uber wants to merge 1 commit into
feat/schedule-actions-pause-resume-uifrom
feat/schedule-actions-pause-form

Conversation

@Assem-Uber

Copy link
Copy Markdown
Owner

Summary

  • Adds the pause schedule form with a required reason field and static warning banner.
  • Extends the schedule-actions modal shell with banner support, initialFormValues, and 900px width.
  • Resume stays confirmation-only until SLICE-2c merges.

Changes

  • schedule-action-pause-form/ — horizontal reason field + Zod schema
  • Pause config: withForm: true, warning banner, no hardcoded reason
  • Modal content: banner slot, form validation mode (onSubmit / onChange revalidate)

Testing

  • npm run typecheck
  • npm run lint
  • npm run test:unit:browser -- schedule-actions (23 tests)

Stack

Made with Cursor

Replace confirmation-only pause with a required reason form, static warning
banner, and modal shell extensions (banner slot, initialFormValues, 900px).
Resume stays confirmation-only until SLICE-2c.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Assem-Uber

Copy link
Copy Markdown
Owner Author

Superseded by cadence-workflow#1422 (upstream target).

@Assem-Uber Assem-Uber closed this Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant