October 10, 2021
Autocomplete instead of preloading everything in Search
I completely reimplemented the filtering on the Search page. Instead of extracting and preloading all the existing profile titles, bean brands, and bean types, I now do it on demand. This speeds up page load drastically since I don’t have to do 3 massive queries every time. I only query when needed and then show a nice autocomplete dropdown. You can navigate the dropdown with either mouse (scrolling and clicking) or keyboard (down/up keys and enter for selection).
Additionally, the new autocomplete filtering should be better as it is smarter: it treats every space as a wildcard. So, for example, querying for b bea
would turn into %b%bea%
(where % is a wildcard) and would then match and return Bani Beans
. This should ease searching by profile especially. Here’s an example: