Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: keyboard navigation #205

Closed
1 task done
halr9000 opened this issue Nov 21, 2023 · 2 comments
Closed
1 task done

[Feature Request]: keyboard navigation #205

halr9000 opened this issue Nov 21, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@halr9000
Copy link

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What would your feature do ?

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

  • some thoughtful attention to tab order, cursor keys would be good
  • ESC key should always exit a subordinate view/dialog
  • perhaps when panel open, pressing numbers will go to ordinal tab, eg "2" opens TI

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

  • eg alt-L -> open Lora, alt-Q for quick settings, T for themes and so on

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

  • but I also want to quickly get back to image creation, so a universal hide/switch key is important
  • something easy which isn't needed otherwise, like backtick or tilde?
  • when hiding panels, I would always reset focus back to the positive prompt, if the last used main tab is t2i or i2i. makes it quicker to generate w/o grabbing the mouse

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

@halr9000 halr9000 added the enhancement New feature or request label Nov 21, 2023
@anapnoe
Copy link
Owner

anapnoe commented Nov 21, 2023

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants