anapnoe / stable-diffusion-webui-ux

Stable Diffusion web UI UX
GNU Affero General Public License v3.0
964 stars 60 forks source link

[Feature Request]: keyboard navigation #205

Closed halr9000 closed 7 months ago

halr9000 commented 7 months ago

Is there an existing issue for this?

What would your feature do ?

As a keyboard jockey, I would like for application consistent keystrokes for navigating a complex interface

As a frequent user of Loras, and other favorites, I want a keystroke to navigate directly to that panel

As a frequent tweaker, I want focus and navigate the side panels using only the keyboard

Proposed workflow

  1. load UX, main tab should be t2i, and keyboard focus should be positive prompt so that I can type prompts without touching the mouse
  2. alt-L to choose lora, "/" to focus search field, start typing, typeahead search finds what I want quickly, pressing enter inserts text into prompt
  3. ESC hides current panel, continue typing prompt
  4. ctrl-enter to generate
  5. realize I want to change ckpt, click ~, cursor right twice, down once, ENTER to select active model. Selection is done, no need to have the screen open, so just exit it (saving me having to press ~ or ESC)
  6. ctrl-enter will go ahead and queue image for when the model is finished loading

Additional information

No response

anapnoe commented 7 months ago

Shortcuts are a must to do but I have to think how to make use of them to the workspaces ui-ux as well in workspaces you can have i2i and t2i on the same view and each custom view can have an instance of a component that is already been used in another workspace as well I need to do some more thinking on this but it will come after workspaces is released workspaces_custom

if you want you can write down a list with the shortcuts keys may be dynamically set from a shortcuts panel something like

  1. Focus txt2img prompt -> default key ...
halr9000 commented 7 months ago

Shortcuts are a must to do but I have to think how to make use of them to the workspaces ui-ux as well in workspaces you can have i2i and t2i on the same view and each custom view can have an instance of a component that is already been used in another workspace as well I need to do some more thinking on this but it will come after workspaces is released workspaces_custom

if you want you can write down a list with the shortcuts keys may be dynamically set from a shortcuts panel something like

  1. Focus txt2img prompt -> default key ...

Oh sweet that's looking great. Good to know shortcuts are on your mind. I'll close this out for now then. ESC key is an easy one though, it just does the one thing. :D