amy-jung / collectivedaoarchives.catalog

The Collective DAO Catalog is an open source index of DAO historical events. Together, as an open source database that anyone can contribute to, we can use the power of collective intelligence to highlight patterns and improve the development of new and existing DAOs
https://www.daocatalog.xyz/
MIT License
6 stars 1 forks source link

Improvements to Search #46

Open amy-jung opened 9 months ago

amy-jung commented 9 months ago
  1. Misspellings: currently no results. Add maybe a third party service to suggestions “did you mean…” ✅ No results should offer different path (either suggest something close, suggestion to add record, or back to discovery)

Related to #38

amy-jung commented 7 months ago

For misspellings, we could use Algolia's autocomplete. I've used Algolia for search and it's fairly good. It's also used by other teams for technical documentation.

I thought it would be easier implementation, but I read they don't have a library of ready-made UI widgets. Would be curious to hear from @carletex @damianmarti how difficult implementation may be.

damianmarti commented 7 months ago

@amy-jung I did a quick review of Algolia autocomplete documentation, and I think that the main issue we have is what source we should use for this (the source is where Algolia autocomplete get the words to fill in).

Maybe we can try the autocomplete plugin, that get query suggestions from Query Autocomplete -> https://www.algolia.com/doc/ui-libraries/autocomplete/api-reference/autocomplete-plugin-query-suggestions/

cc/ @carletex