Smarter Resources - Search bar!#660
Conversation
This implements the core logics for filtering by search. It uses fuzzysort to match the search query to the name of the resource. This name is set in the yaml for each resource.
|
✔️ Deploy Preview for pydis-static ready! 🔨 Explore the source changes: d612953 🔍 Inspect the deploy log: https://app.netlify.com/sites/pydis-static/deploys/62095818a1a38e0008893a3a 😎 Browse the preview: https://deploy-preview-660--pydis-static.netlify.app |
Without a min-width, the tag would not extend to fit the full size of the contents on Firefox. It seemed to work just fine on Chrome, though. The fix is simple - just enforce a min-width equal to fit-content.
jchristgit
left a comment
There was a problem hiding this comment.
This is great lemon. Stunning work on the Smarter Resources. I don't understand anything about JavaScript or CSS or HTML for that matter, but I think this is great.
whispersofthedawn
left a comment
There was a problem hiding this comment.
This looks wonderful! I don't know much about Django, but from what I do know about JS, that all looks great. The search experience is flawless, too.
Co-authored-by: Mark <1515135+MarkKoz@users.noreply.github.com>
MarkKoz
left a comment
There was a problem hiding this comment.
I've gone over the code and played around with it on netlify. Looks good!



Implements a search feature on the resources page

You can test it on the deploy preview!
https://deploy-preview-660--pydis-static.netlify.app/
Features
?search=parameter is provided.Kaizen
!guildtag on the bot.