Retiring our Storybook addons, one by one
Priya Raman
Frontend Engineer · Pune
- Feb 12, 2024
- 2 min read
- 10
Fewer plugins, faster builds, and documentation people open again. The best tools in our studio are the ones nobody has to think about.
What we rebuilt
A tiny lint rule now fails any pull request that introduces a raw hex value. It is forty lines of Node, runs in under a second, and has caught more drift than any design review.
Reviews people read
Six months in, variables replaced most of our style duplication. Modes for light and dark themes held up well, while our first attempt at spacing variables was quietly deleted and redone.
- Pin tool versions in the repository
- Lint for raw values in pull requests
- Automate the release notes
- Keep visual diffs small and named
Pruning the plugin list
Visual regression output goes to a channel with one rule: every diff gets a reaction within a day. Fewer snapshots and better naming made the diffs short enough that people actually look.
We rebuilt the documentation site around live components rather than screenshots. It is slower to write but never lies, which turned out to matter more than speed.
As always, the files and notes behind this piece are in the studio archive. Ask and we will share what we can.
If you try any of this on your own team, we would love to hear what went differently. The best notes in this journal started as someone else’s correction.
Found this useful?
About the author
Priya Raman
Frontend Engineer · Pune
Priya builds the component library and the token pipeline behind it. She is happiest deleting CSS and writing small tools that make reviews shorter.
Diego Morales
Feb 13, 2024Would love a follow-up on how the team felt about the change after six months.
Oliver Grant
Feb 15, 2024Saving this for our next team retro. The part about making decisions reversible is the bit I keep forgetting.
Priya Raman
Author Feb 16, 2024Glad it helped. The list is adapted from a checklist we keep in the studio wiki.
Jules Martin
Feb 17, 2024This is the first explanation of the topic that did not assume I already knew the answer. Thank you.
Luis Ortega
Feb 18, 2024We shipped the same fix last month. Nice to know we were not the only ones fighting it.
Diego Morales
Feb 21, 2024Did you measure anything before and after? I would love to show numbers to our leadership.
Priya Raman
Author Feb 26, 2024Thanks for reading. We did measure it: review time dropped by about a third over two months.
Oliver Grant
Feb 27, 2024We tried something similar last year and stalled at the review step. Your agenda idea might unblock us.
Femi Adebayo
Mar 1, 2024How long did the whole migration take, start to finish?
Aiko Tanaka
Mar 3, 2024This is a great point. We ran into the same wall.