sveltekit-jui icon indicating copy to clipboard operation
sveltekit-jui copied to clipboard

Add component search filter to styleguide tree

Open Wolfr opened this issue 4 years ago • 3 comments

I would like to have a component search in the style guide, which filters the tree based on the text input.

image

Similar to how search works here: https://bedrock-sand.vercel.app/styleguide/docs/introduction.html

This is the (old) jQuery based code for that: https://github.com/usebedrock/bedrock/blob/master/core/js/styleguide-search.js

Wolfr avatar Apr 10 '21 09:04 Wolfr

This is a JS issue I could use help with! The UI code is already there but commented out: https://github.com/Wolfr/sveltekit-jui/blob/main/src/routes/styleguide/%24layout.svelte#L246-L249 . I need help with the JS logic.

Wolfr avatar Apr 13 '21 17:04 Wolfr

I can look into this.

PaxPax avatar Apr 13 '21 23:04 PaxPax

Will need to settle on how the SideMenu functions before finishing this.

  • [ ] Settle SideMenu implementation. #54

PaxPax avatar Apr 17 '21 21:04 PaxPax