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

Save preference for explore / calendar page #6

Open
sebastianlay opened this issue Nov 17, 2020 · 0 comments
Open

Save preference for explore / calendar page #6

sebastianlay opened this issue Nov 17, 2020 · 0 comments

Comments

@sebastianlay
Copy link
Contributor

sebastianlay commented Nov 17, 2020

We should somehow determine whether a visitor prefers one view over the other (explore vs. calendar view) and redirect the visitor to the appropriate view when he returns to the site later. Doing this upfront doesn't make sense since the visitor has not seen the two views yet. A better way would probable be to simply remember which of the two views the visitor saw last and redirect to that one. Saving this preference would be most easily done via a cookie. We would then have to check whether some form of cookie banner is necessary or if we can avoid it.

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

No branches or pull requests

1 participant