Files
bible/kit/patterns/modal-workflows/contract.md

10 lines
337 B
Markdown

# Contract: Modal Workflows
## Shared Rules
- Destructive actions require explicit confirmation.
- Validation and backend errors are rendered in human-readable form.
- UI state transitions are explicit (`open` / `submit` / `success` / `error` / `cancel`).
- API contracts and UI copy should be documented in the host project's Bible.