Automatically treat declined calendar events as "free" for availability

Open
#30,173 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

@ArjunCodess is already working on this.

Since Sep 19, 2026.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
57/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
api, backend

Research direction

Start by tracing Cal.diy’s CalDAV event availability handling and the existing logic that respects an event’s “mark as free” setting. Extend the relevant availability behavior so declined events do not block booking, then verify it with an availability or booking scenario covering declined, free, and busy events.

Written by the indexing model from the issue text.

Description

✨ feature 🚨 needs approval
Is your proposal related to a problem?

When a calendar event is declined by the user in a connected CalDAV calendar (tested with Mailbox.org), Cal.diy continues to treat the corresponding time slot as busy and blocks it from being booked. This happens even though the user has explicitly declined the event and would reasonably expect the slot to become available again.

Through manual testing, I confirmed that Cal.diy does correctly respect an event's "mark as free" setting: when a test event was manually marked as "free" in the calendar, Cal.diy allowed bookings for that time slot; when the "free" marking was removed, bookings were blocked again. However, simply declining an event invitation does not have the same effect — the event continues to block availability unless it is also manually marked as "free."

This creates unnecessary friction: users have to remember to perform an additional manual step (marking the event as "free") every time they decline an invitation, or their calendar keeps blocking availability for a slot they are not actually attending.

Describe the solution you'd like

I would like Cal.diy to treat a declined event invitation as equivalent to marking that event as "free," so that declining an event automatically frees up the corresponding time slot without requiring an additional manual step.

Describe alternatives you've considered

Currently, the only workaround is to manually mark every declined event as "free" in the calendar in addition to declining it. This works, but requires an extra manual step for every declined invitation and is easy to forget, leading to slots being unnecessarily blocked.

House rules
  • If this issue has a 🚨 needs approval label, don't start coding yet. Wait until a core member approves feature request by removing this label, then you can start coding.
    • For clarity: Non-core member issues automatically get the 🚨 needs approval label.
    • Your feature ideas are invaluable to us! However, they undergo review to ensure alignment with the product's direction.
    • Follow Best Practices lined out in our Contributor Docs
Dominant language
TypeScript
Stars
50k
Forks
15.6k
Avg merge
5d 1h
Merged PRs (30d)
15

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from calcom/cal.diy

All issues in calcom/cal.diy

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.