blenderskool / untab

🔍 A productivity tool to boost your browser workflow!
https://getuntab.now.sh
MIT License
345 stars 27 forks source link

A hot-key / button to close tabs right from the untab window #53

Closed tanishqvyas closed 3 years ago

tanishqvyas commented 3 years ago

Currently unTab shows the search results for all the currently opened tabs but there is no provision to close the tabs right from the unTab window itself. We have to go to the respective window and either close it with the cursor or use ctrl+w or make use of tab actions (which closes only the currently open tab).

If there would be a hot-key or a button combination like ctrl+c to close the opened tab right from the unTab results window, it would be great enhancement.

The user will only have to navigate to the respective tab which they wish to close using the arrow keys and then the highlighted tab would then be closed using the provision provided. image

blenderskool commented 3 years ago

Had this in mind, but this will definitely be a tricky feature as the tab searching is implemented as a plugin and the plugin API does not allow any UI elements to be rendered by a plugin as of now.

Not sure how we can support UI in the plugin API in its current form whilst still keeping it standardized across plugins. If there's no other plugin that requires this special UI level treatment, then we might integrate tab searching back with the main codebase 😶

Key bindings should be easy to add but may conflict with something on the current webpage. But definitely 👍 for pro-users.

Open to suggestions!

blenderskool commented 3 years ago

Updates: