cheatsheet icon indicating copy to clipboard operation
cheatsheet copied to clipboard

Adding query param support for custom search engines in browsers

Open heysweet opened this issue 1 year ago • 1 comments

Resolves https://github.com/tailwindcomponents/cheatsheet/issues/50#issue-2158983583

Lots of browsers support Custom Search Engines. This change would allow me to type "tw" -> hit tab -> and type in a search term, and then I could open the tailwind cheatsheet to the specific query I'm thinking of. It'd be a huge ergonomic win!

I know that my implementation of this change isn't up to today's standards, but I didn't want to go through upgrading all of the packages to unlock useSearchParams from react-router-dom (I tried and found a few other dependencies on history that made this upgrade a larger swing than I wanted to take on.)

heysweet avatar Feb 28 '24 13:02 heysweet

I don't feel strongly about the tool versions or yarn lock changes if you want to toss them

heysweet avatar Feb 28 '24 13:02 heysweet

@khatabwedaa any chance you could take a look?

heysweet avatar Apr 05 '24 21:04 heysweet