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

How to dynamically update priority? #260

Closed mattoni closed 1 year ago

mattoni commented 1 year ago

I'd like to update actions so that on certain pages, some global actions appear at the top. What is the best way to accomplish this?

timc1 commented 1 year ago

You'll want to update the actions' priority property on those specific pages: https://kbar.vercel.app/docs/concepts/priority

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.