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

Support for 'frecency' #301

Closed jpdenford closed 1 year ago

jpdenford commented 1 year ago

Hey @timc1, First up thanks for sharing this fantastic library!

Would you consider supporting 'frecency'? The idea being that more recently used items could be 'prioritised' higher in the suggestions automatically based on usage.

It could either be implemented as a first-class feature (configured in the provider) or potentially via a kind of plugin model? I imagine that user-provided priority would take precedence e.g. user-provided > frecency (if enabled) > Priority.NORMAL.

I'm just opening this issue to see the idea is compatible with your vision for this project.

Thanks

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.