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

fix: created COOKIE CONSENT FORM feature flag #1442

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

snmln
Copy link
Contributor

@snmln snmln commented Feb 5, 2025

Related Ticket: {link related ticket here}

Description of Changes

GHG team communicated issues with the cookie consent ENV flag. There is no existing ENV flag, this component was previously designed to leverage the existence of cookieConsentForm content as a ternary validation to conditionally show the cookie consent form or not. for future maintenance of this item I have added a cookie consent flag ENABLE_COOKIE_CONSENT_FORM to enable the standard functionality.

Notes & Questions About Changes

Added ENABLE_COOKIE_CONSENT_FORM to the .env .

Validation / Testing

To test pull down branch and navigation to .env file and change ENABLE_COOKIE_CONSENT_FORM = TRUE You might also need to delete your local cookies by opening dev tools > application tab > cookies > right click 'clear'. Confirm that the cookie consent form renders on the front-end.

Go to.env file and change ENABLE_COOKIE_CONSENT_FORM = FALSE confirm that the cookie consent form does not render on the front-end.

Copy link

netlify bot commented Feb 5, 2025

Deploy Preview for veda-ui ready!

Name Link
🔨 Latest commit 793462d
🔍 Latest deploy log https://app.netlify.com/sites/veda-ui/deploys/67a3bd5e5088e5000881e955
😎 Deploy Preview https://deploy-preview-1442--veda-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@snmln snmln linked an issue Feb 5, 2025 that may be closed by this pull request
@snmln snmln changed the title [Bug] created COOKIE CONSENT FORM feature flag [FIX] created COOKIE CONSENT FORM feature flag Feb 5, 2025
@snmln snmln changed the title [FIX] created COOKIE CONSENT FORM feature flag [fix] created COOKIE CONSENT FORM feature flag Feb 5, 2025
@snmln snmln changed the title [fix] created COOKIE CONSENT FORM feature flag fix: created COOKIE CONSENT FORM feature flag Feb 5, 2025
Copy link
Collaborator

@dzole0311 dzole0311 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as described. Thanks for also adjusting the hexes @snmln!

@snmln snmln merged commit b225996 into main Feb 7, 2025
10 of 13 checks passed
@snmln snmln deleted the 1416-cookie-consent-variable branch February 7, 2025 13:26
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.

[Bug] Env variable COOKIE_CONSENT_FORM not working
2 participants