HyphaApp / hypha

Submission management software for open calls
https://www.hypha.app
BSD 3-Clause "New" or "Revised" License
67 stars 39 forks source link

Cookie popup enhancements #3925

Closed wes-otf closed 1 month ago

wes-otf commented 3 months ago

As OTF works to implement better policies around the GDPR, one of those is to improve the cookie pop-up. I think as we have lots of international adopters these changes would also benefit the overall community. A few changes that should take place:

Here's an example of what I imagine the Learn More aspect of the pop-up to function like, using an example from StackOverflow:

Screenshot 2024-05-13 at 14 59 38


Curious to hear thoughts!

frjo commented 3 months ago

Good initiative! This needs some work.

  1. My overall goal would be to keep the cookie consent as small and unintrusive as possible. Just having one at all is annoying enough to the visitors.
  2. Making the button text configurable is a good idea, you can also use translations for that.
  3. The "Cookie consent message" field is richtext so links etc. can be added. But a specific "more info" link can be convenient to have. I think both the text and the url need to be configurable.
  4. We should have a link in the footer to allow users to reopen the dialog and update the choice.
  5. The cookieconsent setting should be saved in localStorage instead of in a cookie.

We also need documentation how to implement this so the buttons actually works when you add trackers.

On the OTF page I believe Matomo is always active regardless of what the users select, "Decline & Accept".