-
Our react project uses Storybook v7. Now the search is possible in the navigation tree by the name of the components. Is it possible to implement keyword search for component descriptions or their properties in Storybook auto documentation. Let's say the description includes the following text "The component used to select products from the category ". I would like to be able to search by this description as well, not just the name of the component or the history in the tree. Thanks I tried @toptal/davinci-storybook-full-text-search-addon, but for some reason it didn't work |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Great idea! It's not currently supported, but is something that would be super useful. I'd add a search of the text rendered from the component would also be helpful here. |
Beta Was this translation helpful? Give feedback.
-
We would also love this feature. We've struggled with naming our components, because devs, UXers, copy, POs, and other users know them as different terms (ie pop-up for modal). We're planning on building a docs page with a search feature for the meantime, but it would be even better if the built-in search were configurable to look-up more than just the component title and path name. |
Beta Was this translation helpful? Give feedback.
-
This would be a big improvement for us. We use Storybook to document all aspects of our design system, including that aren't tied to one specific component (e.g., capitalization rules). A better search would mean we'd have much better adoption and usage of our documentation. |
Beta Was this translation helpful? Give feedback.
Great idea! It's not currently supported, but is something that would be super useful.
I'd add a search of the text rendered from the component would also be helpful here.