Add search bar to theme page

Add a search bar to the themes page at https://theme.muos.dev/ for easier themes finding

2 Likes

All themes are loaded onto the page upfront, so Ctrl+F should actually search through all of them :slightly_smiling_face:

Having said that, I agree a search box would be nice. It’d be more discoverable/intuitive, and we could store the search text in a URL query param. That’d enable linking to specific search results, e.g. themes by a particular author.

I’ll have a go at implementing this (unless anyone thinks it’s a bad idea!).

3 Likes

That sounds great thank you for letting me know

More than happy to make this change (assuming artic-rocinante hasn’t already). When I made the site it was always pending user feedback to be the best version of it possible so I really appreciate posts like this.

1 Like

I’ve added an initial implementation already, feel free to change how it looks/works though :slightly_smiling_face:

(Note: there’s a bug that prevents spaces from being typed…shows how thorough my initial testing was :rofl:. PR is open to fix it, just not merged yet.)

1 Like

I’llcheckitoutIdefinitelyalwaystestmycodeandwouldnthavedonethesame lmao

2 Likes

The search bar looks and works great except for the no spaces issue thank you

1 Like

Was anyone able to fix the space bar issue

2 Likes