search: enable snapshotting for individual stories
Created by: valerybugakov
Context
Hey team! The frontend platform team started looking into ways to limit our Chromatic spending that went out of hand.
It's a high-priority task. And as a first remediation measure, we propose disabling snapshotting all stories by default. Snapshotting can be enabled for an individual story by adding disableSnapshot: false
to story parameters. That way, it becomes a more conscious decision, and engineers can decide what's important to snapshot.
Action required
We ask you to allocate time to go through stories that your team owns and explicitly enable snapshotting for important stories.
Bonus points for stories optimization: instead of having a separate story of each variant of a small component — merge them into one story that shows all component permutations and enable snapshotting only for this story. It decreases the number of snapshots and makes the Chromatic diff easier to review.
Progress
-
#30369 - web/enterprise/code-monitoring
- web/enterprise/searchContexts
- web/savedSearches
- web/search/home
- web/search/panels
- web/search/results/StreamingSearchResults
- search-ui
-
#30467 - web/search/notebook
-
#30627 - web/search/results/sidebar
- web/search/Search Stack