Files
cal.diy/specs/cancellation-reason-requirement/CLAUDE.md
T
e3a9f54ba5 feat: Configure cancellation reason (#26872)
* 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>
2026-02-24 13:35:51 -03:00

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

  1. Read specs/cancellation-reason-requirement/design.md
  2. Check specs/cancellation-reason-requirement/implementation.md for current progress
  3. 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)