-
Notifications
You must be signed in to change notification settings - Fork 16
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
Cookie banner styling #1855
Cookie banner styling #1855
Conversation
Your Render PR Server URL is https://storage-ui-stage-pr-1855.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c7g5n70nlki6i1rl1r6g. |
Your Render PR Server URL is https://chainsafe-components-stage-pr-1855.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c7g5n7gnlki6i1rl1rj0. |
Your Render PR Server URL is https://files-ui-stage-pr-1855.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c7g5n88nlki6i1rl1ro0. |
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.
💯
Oops, I couldn't work out how to test this 🤦♂️ Cleared my browser, tried editing local storage etc but could not get it to show. Any tips? |
Showing the banner is quite a long process, where it first checks that the posthog is initialized etc. This is something we don't have in render to prevent having our tests in the analytics. The easiest to test it would then be to edit the code here https://github.com/ChainSafe/ui-monorepo/blob/dev/packages/files-ui/src/Contexts/PosthogContext.tsx#L97 and make sure you're in a private tab. |
Managed to successfully test this on local by adding the necessary ENV variables:
|
closes #1845
Submission checklist:
Layout
Theme