Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Consent banner stories for all services #1366

Merged
merged 8 commits into from
Jul 23, 2019
Merged

Conversation

sareh
Copy link
Contributor

@sareh sareh commented Jul 18, 2019

Resolves #700

Overall change: Updates consent banner's storybook to have placeholder text. Can use the drop-down to select a different script.

Code changes:

  • Updates consent banner's storybook to have placeholder text.

Screen Shot consent banner storybook

When selecting from the drop-down, you should be able to change the text and see placeholder text for the relevant language/script.


  • I have assigned myself to this PR and the corresponding issues
  • Tests added for new features
  • Test engineer approval

@sareh sareh self-assigned this Jul 18, 2019
@sareh sareh changed the title Add input provider for Consent banner story Consent banner stories for all services Jul 18, 2019
@sareh
Copy link
Contributor Author

sareh commented Jul 19, 2019

Talking with Clare and Laura, they were happy with just having placeholder text rather than having the exact translation used in Storybook, so that's what I've implemented here.

name: 'text',
defaultText: 'Changes to our Privacy and Cookie Policy ',
},
{ name: 'acceptText', defaultText: 'OK' },
Copy link
Contributor

Choose a reason for hiding this comment

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

Doesn't look like the acceptText or rejectText knobs are being used for anything - the text knob is being used 3 times instead

Copy link
Contributor

@dr3 dr3 left a comment

Choose a reason for hiding this comment

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

@sareh
Copy link
Contributor Author

sareh commented Jul 22, 2019

Thanks, I've just made the changes. :)

@paruchurisilpa
Copy link
Contributor

Done regression on storybook and looks good to me, can be merged..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ConsentBanner stories need translations and knobs
4 participants