-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Tags do not show. #3
Comments
Thanks for pointing this out Henry! It's actually a quirk of the current implementation: I have to make a second request for that info and wanted to be reeeally nice to that API and only fetch them one at a time. To minimize refetching (and build up the list as the user browses more results) I cache already-fetched "disposal headers" in memory. But since this is currently deployed on a serverless environment, and without any persistent storage, we lose that cache when the host expires the app instances. hamiltoss/src/routes/+page.server.ts Lines 23 to 31 in cd61772
It felt like a reasonable trade off at the time: The top hit will have its Disposal Header already visible, but results with lower scores will still just be one click away. And if the user comes back to the search page (presumably because they are still searching for the right info), further "previews" of the Disposal Headers will now also be available. I'll leave this open for now as it does feel off from what someone might expect, but a fix may not come around until one of the things above changes. For instance my willingness to hit an API that I may or may not be supposed to be hitting. 😆 Hope you're well! |
When the input returns multiple results, the tags don't show up for all of them.



After clicking on the item and then returning to the previous search, the tag will show up for the viewed item (and some other items but not all)
The text was updated successfully, but these errors were encountered: