Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding query param support for custom search engines in browsers #49

Merged
merged 6 commits into from
Jul 1, 2024

Conversation

heysweet
Copy link
Contributor

@heysweet heysweet commented Feb 28, 2024

Resolves #50 (comment)

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
Copy link
Contributor Author

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

@heysweet
Copy link
Contributor Author

heysweet commented Apr 5, 2024

@khatabwedaa any chance you could take a look?

@khatabwedaa
Copy link
Contributor

khatabwedaa commented Jun 26, 2024

@heysweet, hey man sorry for not responding, I've been so busy the last few months but I will check it now.

@khatabwedaa
Copy link
Contributor

@heysweet I just text the PR thank you for your awesome work just one think I want you to remove the quarry form URL if it's empty
Screenshot from 2024-06-26 20-52-56

@heysweet
Copy link
Contributor Author

heysweet commented Jul 1, 2024

Just pushed a fix for that, good catch!

@khatabwedaa khatabwedaa merged commit 5e024b3 into tailwindcomponents:main Jul 1, 2024
@khatabwedaa
Copy link
Contributor

Thanks for your awesome work @heysweet . 😄 I merged it I will deploy it today so you can check it live.

@heysweet heysweet deleted the add-query-param branch October 7, 2024 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add query param support to URL
2 participants