Skip to content
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

feat(ics): add status X-MICROSOFT allDay support. closes #611 #613

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aldenquimby
Copy link

See #611

Inspired by ical-generator

@@ -13,6 +13,7 @@ interface CalendarEvent {
busy?: boolean;
guests?: string[];
url?: string;
status?: 'CONFIRMED' | 'TENTATIVE' | 'CANCELLED';
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer string literal unions over enums, but happy to switch this to an enum if that's what is preferred for this codebase

@@ -70,6 +70,7 @@ for (const service of [
title: "Birthday party",
start: "2019-12-29",
allDay: true,
status: "CONFIRMED",
Copy link
Author

@aldenquimby aldenquimby Sep 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Figured adding to a random test was sufficient, but I could add a new test just for this if you'd like. I would probably break out a new describe that is ics-specific, since status doesn't apply to the other services

@aldenquimby
Copy link
Author

@AnandChowdhary how does this look?

@aldenquimby
Copy link
Author

@AnandChowdhary been a few months here - anything else I can do to help get this shipped? Thank you 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant