timc1 / kbar

fast, portable, and extensible cmd+k interface for your site
https://kbar.vercel.app
MIT License
4.84k stars 185 forks source link

Create dynamic actions based on user's query input #227

Closed jferrettiboke closed 1 year ago

jferrettiboke commented 2 years ago

I'd like to add some actions based on user's query input. Example:

  1. User starts typing in “tesl”.
  2. Kbar renders “tesla.com” and “twitter.com/tesla”. This can be whatever the developer wants to be actually. It just needs creativity.
  3. User selects the appropriate one.

Spotlight has support for this. GitHub as well. Having the primitives that allow us to build something similar would be great.

My questions are:

Cygnusfear commented 2 years ago

I'm digging around in the source, maybe this helps as a starting point:

stale[bot] commented 2 years ago

Hey! This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 year ago

Hey! This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 year ago

Hey! This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 year ago

Hey! This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.