-
Notifications
You must be signed in to change notification settings - Fork 229
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
Use Brand with Script Link component on services with variants #4009
Comments
Display site not currently on in component, eg. display "Lat" on Cyrillic Serbian site. |
Notify core pod when picking this ticket up. |
Talk @jamesbrumpton about cypress tests re: what is to be e2e and what is unit tests. |
Blocked on BBC-archive/psammead#2256 |
Blocked on BBC-archive/psammead#2467 |
Blocked on BBC-archive/psammead#2454 |
This work has been done here and merged into the Navigation feature branch which is not ready to go live until all of the work is complete. |
Is your feature request related to a problem? Please describe.
Import the
Script Link
component into Simorgh and use on:Describe the solution you'd like
Use the alpha Brand component which includes the Script Link -BBC-archive/psammead#2474
The script link contains an
onClick
prop, which can be passed an event handler that sets the variant preference cookie when the user interacts with the link.Add translations for variants:
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Testing notes
Will need functionality testing
Will need cypress tests
Will need cross-browser testing
Will need some a11y testing
Dev insight: Will Cypress tests be required or are unit tests sufficient? Will there be any potential regression? etc
Additional context
WSFRONTPGS-100
The text was updated successfully, but these errors were encountered: