-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
feat: add "isModalForced" to ModuleOptions #78
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Setting the new option to true, the modal is shown on every page load, which I do not expect.
thank you for your testing, and sorry, that was not also my expectation. |
Thank you. Please ensure all commits follow the Conventional Commit format: https://www.conventionalcommits.org/en/v1.0.0/ |
I did not understand the Error above on ubuntu. Is there anything I can do for that? |
I merged master into your branch. |
I couldn't figure out, what should I do. pnpm lint gives following error, even I merged latest master branch under dargmuesli/nuxt-cookie-control .
|
Have you run |
yes, but it does not help to fix... |
got it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When the user rejects all cookies, the modal is shown on the next page load. Is this intended?
actually yes. because necessary cookies should be allowed by user. |
Well, if it's possible to hide the modal and use the page by pressing "decline all"... then it does not make sense to me to later show the modal again. You get my idea? |
you are right. thus I hide close button, if isForceModal is true. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thank you!
# [5.4.0](5.3.0...5.4.0) (2023-04-11) ### Features * add "isModalForced" to ModuleOptions ([#78](#78)) ([341ac73](341ac73))
🎉 This PR is included in version 5.4.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
📚 Description
this commit allow to force to display Cookie Modal.
that means to force users to choose any options for cookie setting.
📝 Checklist