-
Notifications
You must be signed in to change notification settings - Fork 30
WIP - Enable visible recaptcha on all newsletters page #14213
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
base: main
Are you sure you want to change the base?
WIP - Enable visible recaptcha on all newsletters page #14213
Conversation
… into the AllEditorialNewslettersPage so we can toggle visible or invisible recaptcha on that page
Hello 👋! When you're ready to run Chromatic, please apply the You will need to reapply the label each time you want to run Chromatic. |
@@ -174,7 +174,10 @@ | |||
}, | |||
"googleRecaptchaSiteKey": { | |||
"type": "string" | |||
} | |||
}, | |||
"googleRecaptchaSiteKeyVisible": { |
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.
Did you run make gen-schemas
?
@@ -78,6 +78,8 @@ export const renderEditorialNewslettersPage = ({ | |||
abTests: newslettersPage.config.abTests, | |||
brazeApiKey: newslettersPage.config.brazeApiKey, | |||
googleRecaptchaSiteKey: newslettersPage.config.googleRecaptchaSiteKey, |
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.
This is now implicitly the invisible key. Do we want to do further refactoring ?
What does this change?
WIP!
AllEditorialNewslettersPage
ReactGoogleRecaptcha
if thenewslettersPage.config.switches.manyNewsletterVisibleRecaptcha
feature switch is enabled/frontend/dev/...
and/frontend/code/...
parameter storesWhy?
So we can toggle visible or invisible reCAPTCHA v2 on that page to test which performs better against bots.
Screenshots
<ManyNewslettersForm/>