humhub / legal

3 stars 8 forks source link

Enhancement Cookie Banner #93

Open ArchBlood opened 5 days ago

ArchBlood commented 5 days ago

I'd like to introduce something rather different when it comes to the Cookie notice, currently it only shows a small notice without being able to allow user preferences, so I'd like to propose this to be implemented, I've been working on a small demo and hope that it's up to HumHub's standards for this very thing?

UI Examples

Screenshot_1 Screenshot_2

luke- commented 4 days ago

It's basically interesting, but we only use functional cookies in HumHub atm.

There would also need to be an admin interface/module api here to manage individual cookies if necessary.

ArchBlood commented 4 days ago

It's basically interesting, but we only use functional cookies in HumHub atm.

There would also need to be an admin interface/module api here to manage individual cookies if necessary.

I also thought about this as well, we could replace the Cookie notification page with something like this? Which handles what is seen in the cookie banner. Screenshot_1

luke- commented 3 days ago

Yes, something like that would be needed. How would it work if you reject a cookie?

ArchBlood commented 3 days ago

Yes, something like that would be needed. How would it work if you reject a cookie?

That's a good question, currently I think it would work the same as it already does, personally I think we should make an event similar to the export so that other modules can be injected into it. :thinking:

luke- commented 3 days ago

Currently, it is more of a hint than a way to manage and, if necessary, disable individual cookies. Somehow, this status would have to be forwarded to the respective module.

ArchBlood commented 3 days ago

Currently, it is more of a hint than a way to manage and, if necessary, disable individual cookies. Somehow, this status would have to be forwarded to the respective module.

I can look into this more when I have the time to implement such a change, but would probably be more of a core thing to look at rather than just the legal tools module, although I'd like to focus on finishing #89 if possible, at the moment it works as needed, although the JavaScript could probably be looked at for a better implementation.