-
Notifications
You must be signed in to change notification settings - Fork 561
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
Add missing stories, simplify Autocomplete stories #5127
Conversation
|
size-limit report 📦
|
script/generate-e2e-tests.js
Outdated
@@ -1090,6 +1090,10 @@ const components = new Map([ | |||
id: 'components-select-features--with-option-groups', | |||
name: 'With Option Groups', | |||
}, | |||
{ |
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.
Is there something else I need to do besides updating this script? I'm not seeing any new snapshots get added.
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.
@mperrotti this file has really gotten old so one thing could be to update the test file directly to use the new array pattern we've been doing: https://github.com/primer/react/blob/main/e2e/components/Link.test.ts#L5 and updating it there 👀
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.
Looks great! Let me know if I can help out at all with the VRT stuff 👀
script/generate-e2e-tests.js
Outdated
@@ -1090,6 +1090,10 @@ const components = new Map([ | |||
id: 'components-select-features--with-option-groups', | |||
name: 'With Option Groups', | |||
}, | |||
{ |
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.
@mperrotti this file has really gotten old so one thing could be to update the test file directly to use the new array pattern we've been doing: https://github.com/primer/react/blob/main/e2e/components/Link.test.ts#L5 and updating it there 👀
…ct into mp/story-improvements-10.2024
…ct into mp/story-improvements-10.2024
…ct into mp/story-improvements-10.2024
New stories added:
placeholder
rows
(custom width)columns
(custom height)resize
- all optionsmaxHeight
preventTokenWrapping
size
visibleTokenCount
(truncating tokens)In addition to these new stories, the Autocomplete stories have been updated to only use Storybook controls for the Playground story.
Changelog
There is nothing in these changes that require a release.
Rollout strategy
Testing & Reviewing
Merge checklist