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

Allow URL customisations for Google, Outlook and Yahoo #191

Merged
merged 2 commits into from
Jan 30, 2024

Conversation

alies-dev
Copy link
Collaborator

@alies-dev alies-dev commented Jan 28, 2024

Google, Outlook and Yahoo have custom GET parameters that it's currently not possible to set from Link class. This PR allow to add such parameters.

@alies-dev alies-dev self-assigned this Jan 28, 2024
@alies-dev alies-dev changed the title Web service link customisation Allow URL customisations for Google, Outlook and Yahoo Jan 28, 2024
@alies-dev alies-dev marked this pull request as ready for review January 28, 2024 08:55
@alies-dev
Copy link
Collaborator Author

Hey @atymic. What do you think about this feature and the implementation?

@alies-dev alies-dev merged commit d9ec68c into master Jan 30, 2024
15 checks passed
@alies-dev alies-dev deleted the web-service-link-customization branch January 30, 2024 06:09
Copy link
Contributor

@atymic atymic left a comment

Choose a reason for hiding this comment

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

Looks great! Thanks @alies-dev

{
$link = $this->createShortEventLink();

$this->assertMatchesSnapshot($link->google(['recur' => 'RRULE:FREQ=DAILY']));
Copy link
Contributor

Choose a reason for hiding this comment

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

Oh google does support re-occuring!
Did you find documentation for the params?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

My company also maintains docs for services like Google calendar: https://github.com/InteractionDesignFoundation/add-event-to-calendar-docs/blob/master/services/google.md

Links to these docs you can find on PHPDoc (class-level docs on generators)

Copy link
Contributor

Choose a reason for hiding this comment

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

Ahh awesome. Didn't realise google support recurring rules. Shame other providers dont

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.

None yet

2 participants