FaFre / lensai

The Privacy-Focused & AI-Powered Research Browser with Kagi integration.
GNU General Public License v3.0
39 stars 2 forks source link

Delete bang shortcut #9

Closed nichu42 closed 4 months ago

nichu42 commented 4 months ago

It's an excellent idea to have previously used bangs available for quick selection above the query input box. If I select one, I can easily delete it again by pressing the X on the bang button. However, once I have actually used a bang, pressing X doesn't work anymore.

FaFre commented 4 months ago

For now this is just a UI bug, since the button is only intended to clear the current selection, and is displayed permanently. When I understand you correctly, you expect/want the X-button to remove the Bang from the quick selection, if it is not currently selected?

nichu42 commented 4 months ago

Yes, that's precisely what I'd wish to have. So I can delete bangs which I barely use, always having the top bangs available for quick selection.

FaFre commented 4 months ago

The list is ordered by most frequently used first, so the less used ones will move to the right after you start doing more searches. But yeah it will be good to get rid of some, currently its only possible to wipe all from the settings.

Will look into that the next days 👍

FaFre commented 4 months ago

Just implemented it, will be included in the next release!