* feat: Configure cancellation reason * fix: use enums * tests: add unit tests * fix: type error * chore: remove duplicate dialog * fix: type erro * refator: improvements * refator: improvements --------- Co-authored-by: Keith Williams <keithwillcode@gmail.com> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
780 B
780 B
CLAUDE.md — Cancellation Reason Requirement
Project Context
A setting in Event Type Advanced settings to configure when cancellation reasons are required (mandatory for both, host only, attendee only, or optional).
Before Starting Work
- Read specs/cancellation-reason-requirement/design.md
- Check specs/cancellation-reason-requirement/implementation.md for current progress
- Look at existing patterns in apps/web/modules/event-types/components/tabs/advanced/
Code Patterns
- Follow RequiresConfirmationController pattern for settings UI
- Use metadata schema in packages/prisma/zod-utils.ts
- Follow existing translation patterns
Don't
- Don't add features not in design.md
- Don't skip tests
- Don't modify reschedule reason behavior (out of scope)