Description
Currently, the search bar in the Projects Hub requires exact keyword matches. If a user has a typo (e.g., "reaact" instead of "react"), they get zero results.
Proposed Solution
- Integrate a lightweight fuzzy search library like
fuse.js.
- When searching the array of projects, configure
fuse.js to look at project titles, descriptions, and tags with a threshold of ~0.3 for typos.
- Update the UI to render the fuzzy-matched results.
Expected Outcome
A highly forgiving and robust search experience.
Description
Currently, the search bar in the Projects Hub requires exact keyword matches. If a user has a typo (e.g., "reaact" instead of "react"), they get zero results.
Proposed Solution
fuse.js.fuse.jsto look at project titles, descriptions, and tags with a threshold of ~0.3 for typos.Expected Outcome
A highly forgiving and robust search experience.