Skip to content

Add events to calendar - Solves #1 #2

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

Merged
merged 8 commits into from
May 20, 2019
Merged

Conversation

dreamyguy
Copy link
Owner

No description provided.

dreamyguy added 8 commits May 18, 2019 15:28
WHenever the user sets a date in the future, she or he will be given the opportunity to create a calendar event based on the chosen date.

This is going to be expended upon but this first iteration introduces this possibility to the 'discover moment' dialog. By setting a value to any of the inpur fields, a 'Add to calendar' link will appear.

The link and the options that show after clicking on it aren't styled at this point, but will be.
This also solves the collateral problem of using 'nowDate' for calculation: elements wrapped by the condition get re-rendered, breaking accessibility as the element looses focus.

With this fix we get the time at the time of first render, which is called 'nowDailyDate' in the application.
@dreamyguy dreamyguy merged commit 27da79f into master May 20, 2019
@dreamyguy dreamyguy deleted the add-events-to-calendar branch May 20, 2019 07:20
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