Closed hendrasan closed 3 years ago
Someone is attempting to deploy a commit to a Personal Account owned by @tibudiyanto on Vercel.
@tibudiyanto first needs to authorize it.
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/tibudiyanto/jakarta-vax-availability/8LTszBMd1Lwe1M79iKMG7zrgLme2
✅ Preview: https://jakarta-vax-availability-git-fork-hendrasan-c46304-tibudiyanto.vercel.app
sorry you have conflicts :(
also, can you rebase after #56 and add the same fuzzy search logic to map page?
Maybe create both custom component <SearchBox />
and custom hook useFuzzySearch
Just to illustrate
const filtered = useFuzzySearch(schedule, searchQuery)
<SearchBox query={searchQuery} onChange={query => setSearchQuery(query)} />
Okay, updated. Should hopefully work and not break stuff.
please rebase, i think there should be current location button on map
weird iOS 15 flex, but okay 🤪
Updated
@pveyes @tibudiyanto
Continuing from #14 (sorry, accidentally closed it due to my deleting the already pushed
main
branch since there were some errors and stuff when I tried to merge from latest, nevermind)Anyway, I'm not sure about what Fuse options to use for the best experience. Searching "baru" now returns the Kalibaru, Marunda, and Semper Barat results (because of the fuzziness). It might be good because user's typos will still generate results, but it can also be a bit confusing for that "baru" case.
I only include the
nama_lokasi_vaksinasi
, wilayah, kecamatan, and kelurahan. I noticed there isalamat_lokasi_vaksinasi
in the API, but since it was not shown in the frontend, I did not include it for the search.