Skip to content

web: sort top-level folders in Storybook to keep reusable components at the top

Warren Gifford requested to merge vb/storybook-story-sort into main

Created by: valerybugakov

Context

Our primary source of reusable components should be the Wildcard library, but at the moment, it's at the bottom of the list in Storybook UI. This PR moves folders with reusable components to the top of the list, with the Wildcard being the first option to catch an eye.

Screenshot 2021-08-09 at 12 54 59

Changes

  • Folder stories are now sorted as: ['wildcard', 'shared', 'branded', '*']

Merge request reports

Loading