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

docs(PPDSC-2444): update flag component scenarios + layout updates #396

Merged

Conversation

evgenitsn
Copy link
Contributor

PPDSC-2444

What

I have done:

  • Written unit tests against changes
  • Written functional tests against the component and/or NewsKit site
  • Updated relevant documentation

I have tested manually:

  • The feature's functionality is working as expected on Chrome, Firefox, Safari and Edge
  • The screen reader reads and flows through the elements as expected.
  • There are no new errors in the browser console coming from this PR.
  • When visual test is not added, it renders correctly on different browsers and mobile viewports (Safari, Firefox, small mobile viewport, tablet)
  • The Playground feature is working as expected

After:
image

Before:

image

Who should review this PR:

How to test:

Go to Flag stories in storybook PR link and have a look.

@evgenitsn evgenitsn added ready for review Please assist in getting this reviewed feature This change contains a new feature ready for design review Please assist in getting this reviewed labels Oct 4, 2022
@evgenitsn evgenitsn removed the ready for design review Please assist in getting this reviewed label Oct 5, 2022
</Block>
</Container>
</>
StoryInverse.storyName = 'Inverse flag';
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if we should call this just Inverse?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It was initially Inverse but design team asked to change it to Inverse flag

.storybook/preview.js Show resolved Hide resolved
Copy link
Contributor

@mstuartf mstuartf left a comment

Choose a reason for hiding this comment

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

Looks good but as Stoyan says I think you will have lots of visual changes.

@evgenitsn evgenitsn changed the title feat(PPDSC-2444): update flag component scenarios + layout updates docs(PPDSC-2444): update flag component scenarios + layout updates Oct 10, 2022
@evgenitsn evgenitsn merged commit eed69eb into main Oct 10, 2022
@evgenitsn evgenitsn deleted the feat/PPDSC-2444-update-flag-component-storybook-scenarios branch October 10, 2022 13:38
Xin00163 pushed a commit that referenced this pull request Oct 17, 2022
)

* docs(PPDSC-2444): update flag component scenarios + layout updates

* docs(PPDSC-2444): update flag columns layout

* docs(PPDSC-2444): address design comments

* docs(PPDSC-2444): fix welcome screen dark theme

* docs(PPDSC-2444): update stories layout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This change contains a new feature ready for review Please assist in getting this reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants