LAB02-Research / HASS.Agent

Windows-based client for Home Assistant. Provides notifications, quick actions, commands, sensors and more.
https://hassagent.lab02-research.org
MIT License
1.56k stars 68 forks source link

Feature: Enhancements for Quick Shortcuts Functionality #327

Open ASchneiderBR opened 1 year ago

ASchneiderBR commented 1 year ago

Is your feature request related to a problem? Please describe. Yes, my feature request is related to some limitations I've encountered with the Quick Shortcuts functionality in the HASS.Agent repository. Currently, when navigating through the shortcuts using the left or right arrow keys, the selection only alternates between the items on the same line. If the Quick Shortcuts window has more than two shortcuts configured, it uses a second line. However, continuous pressing of the left or right arrow key only alternates between the items on the same line. Additionally, the key used to open the Quick Shortcuts window cannot be used to activate the selected item.

Describe the solution you'd like I would like to suggest two enhancements:

  1. Circular Navigation of Shortcuts: It would be a significant improvement if the selection could cycle through all the shortcuts, including those on the lines below. This would make navigation much more intuitive and efficient.

  2. Shortcut Activation Using the Same Key: Another enhancement would be to use the same key that opens the Quick Shortcuts window to activate the selected item. This would streamline the user experience and make the operation of the Quick Shortcuts more seamless.

Describe alternatives you've considered I have considered using other shortcut methods, but I believe these enhancements would greatly improve the user experience and efficiency of the Quick Shortcuts functionality in HASS.Agent.

Additional context The idea for these improvements came about after I recently purchased a macropad, a customized keyboard where I can configure any combination of keys. With this new tool, I found that the current Quick Shortcuts functionality could be optimized to better suit such devices. Specifically, I would like to use the same button that opens the Quick Shortcuts window to also select the highlighted item. This would allow for a more streamlined and efficient use of the macropad with HASS.Agent. I believe these enhancements would not only benefit me but also other users who utilize similar devices. I look forward to hearing your thoughts on these suggestions.

1_4

amadeo-alex commented 1 year ago

I'll be honest, took me a while to "parse" what you've written ;) Definitely doable (at least partially), I'll take take a look into it.