-
Notifications
You must be signed in to change notification settings - Fork 25
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
Search resources #306
Search resources #306
Conversation
Hi @christina-ml , thanks for the PR! Would you be able to provide some insight into how the implemented search functionality differs from fuzzy searching packages like Fuse.js? (https://www.fusejs.io/) Would fusejs be a quick, free way to offload some code and get some good search functionality for the codebase in return? |
Align form to the left by removing padding and adding margin to the bottom.
Change lib// to $lib/ for importing Search.svelte Remove unused variables: searchResults and mainH1El
…hub into search-resources
@VeckoTheGecko Added fuse.js to implement fuzzy searching. |
@VeckoTheGecko @dmlb I have resolved all above changes on this pull request. |
As a point of discussion: how should the search work when there are also tags being used? At the moment, the search bar and the tag filter are completely independent and don't work in conjunction (which is fine by me). Is there a way that this can be made clearer in the UI? Or is the visual separation between the search bar and the tag filters enough? EDIT: Let's leave this for a future conversation :) |
Describe your changes
Added search bar filter and moved it into its own component to filter resources
Related issue number/link
Fixes #296
Thanks for contributing! 🥳🚀🌳