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

Add DESCRIPTION to ICS output #158

Merged
merged 1 commit into from
Dec 11, 2022
Merged

Add DESCRIPTION to ICS output #158

merged 1 commit into from
Dec 11, 2022

Conversation

cdubz
Copy link
Contributor

@cdubz cdubz commented Oct 6, 2022

Context and Purposes

Closes #157.

Notes

All the ICS tests are failing on master. Since I added a new field to the output I replaced the snapshots and now those tests are all passing. I'm unsure if this has inadvertently overwritten some sort of regression -- the only difference in the snapshots appears to be the changes I made for this branch.

@alies-dev alies-dev self-requested a review December 11, 2022 02:37
Copy link
Collaborator

@alies-dev alies-dev left a comment

Choose a reason for hiding this comment

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

@cdubz

Looks good to me!

If X-ALT-DESC;FMTTYPE has a limited support, we should remove it. The goal of this library to support only core functionality and be extendable for custom Generators. So, if someone needs X-ALT-DESC;FMTTYPE=text/html or other custom fields, you can always create your own generator and use \Spatie\CalendarLinks\Link::formatWith() method.

In case of ICS, there is another way of customisation: use $options parameter within \Spatie\CalendarLinks\Link::ics().

Thanks!

@alies-dev alies-dev merged commit ef4ddbf into spatie:master Dec 11, 2022
@cdubz cdubz deleted the 157-description-ics branch December 11, 2022 06:05
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.

Add support for DESCRIPTION in ICS output
2 participants