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

batchers: enable snapshotting for individual stories #30337

Closed
valerybugakov opened this issue Jan 28, 2022 · 2 comments · Fixed by #30718
Closed

batchers: enable snapshotting for individual stories #30337

valerybugakov opened this issue Jan 28, 2022 · 2 comments · Fixed by #30718
Assignees
Labels
batch-changes Issues related to Batch Changes chromatic estimate/1d

Comments

@valerybugakov
Copy link
Member

valerybugakov commented Jan 28, 2022

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.

@valerybugakov
Copy link
Member Author

@adeola-ak, could you share an estimate of when you might be able to look into this issue?

@adeola-ak
Copy link
Contributor

hi @valerybugakov! I'll look into this today

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
batch-changes Issues related to Batch Changes chromatic estimate/1d
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants