-
Notifications
You must be signed in to change notification settings - Fork 10.2k
fix: improve ics app availability checks with multiple calendars, and recurring or cancelled events #22611
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…r the start of the availability range, whichever is later
WalkthroughThe Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
packages/app-store/ics-feedcalendar/lib/CalendarService.tsOops! Something went wrong! :( ESLint: 8.57.1 ESLint couldn't find the plugin "eslint-plugin-playwright". (The package "eslint-plugin-playwright" was not found when loaded as a Node module from the directory "".) It's likely that the plugin isn't installed correctly. Try reinstalling by running the following:
The plugin "eslint-plugin-playwright" was referenced from the config file in ".eslintrc.js". If you still can't figure out the problem, please stop by https://eslint.org/chat/help to chat with the team. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
@rubenbupe is attempting to deploy a commit to the cal Team on Vercel. A member of the Team first needs to authorize it. |
Graphite Automations"Add consumer team as reviewer" took an action on this PR • (07/17/25)1 reviewer was added to this PR based on Keith Williams's automation. "Add community label" took an action on this PR • (07/17/25)1 label was added to this PR based on Keith Williams's automation. |
This PR is being marked as stale due to inactivity. |
What does this PR do?
Fixes ICS availability logic for scenarios involving multiple calendars, recurring events, and cancelled events.
Background:
While using the ICS integration with Proton Calendar, I encountered “ghost events” that blocked my schedule unexpectedly. Upon investigation, I found that the availability check was also processing calendars that were not selected under the "Check for conflicts" section. Additionally, this led me to discover further issues related to how recurring and cancelled events were handled.
This PR improves ICS calendar feed processing by:
This may be related to bugs involving “ghost events,” as described in:
Visual Demo
Image Demo:
I have configured two calendars with the ICS app, which are the two you can see in the picture below. Only calendar 2 (pink) is selected in the “Check for conflicts” section.
Reference calendars:
Mandatory Tasks
How should this be tested?