-
Notifications
You must be signed in to change notification settings - Fork 77
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
ci(screener): clean up and exclude unnecessary stories #5257
Conversation
…ples to simple stories to eliminate it as a separate story
…ght and dark stories and renamaing to use simple
…nents into benelan/prune-stories
…nents into benelan/prune-stories
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.
✨🧹📚✨
**Related Issue:** #5257 ## Summary Some additional cleanup. I nuked a lot of the combinations but we can add some back once we are out of crisis mode <!-- Please make sure the PR title and/or commit message adheres to the https://www.conventionalcommits.org/en/v1.0.0/ specification. Note: If your PR only has one commit and it is NOT semantic, you will need to either a. add another commit and wait for the check to update b. proceed to squash merge, but make sure the commit message is the same as the title. This is because of the way GitHub handles single-commit squash merges (see zeke/semantic-pull-requests#17) If this is component-related, please verify that: - [ ] feature or fix has a corresponding test - [ ] changes have been tested with demo page in Edge --- If this is skipping an unstable test: - include info about the test failure - submit an unstable-test issue by [choosing](https://github.com/Esri/calcite-components/issues/new/choose) the unstable test template and filling it out -->
dir="${select("dir", ["ltr", "rtl"], "ltr", "Tile Select Group")}" | ||
class="calcite-theme-dark" | ||
> | ||
const tileSelectsHTML = html` |
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.
@benelan this needs to return a function. Otherwise, the knobs get applied to every story.
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.
@jcfranco is this payback for calling out the others, are you trying to pin this one on me??
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.
Sorry @benelan I just saw it was merged in that PR which was yours :)
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.
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.
Related Issue: #5253
Summary
This PR cleanups up and combines stories to lower our snapshot count below 40k per month.
_NoTest
to story names that we don't want screener to snapshot._TestOnly
to story names that we do not want to appear in the Storybook deployment on github pages.STORYBOOK_SCREENSHOT_TEST_BUILD
. The default isNoTest
, and the env var is set totrue
in thepr-screener
workflow.darkThemeRTL_TestOnly
snapshot.