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

enhancement: more keyboard shortcuts #1008

Open
robertvazan opened this issue Mar 3, 2024 · 8 comments
Open

enhancement: more keyboard shortcuts #1008

robertvazan opened this issue Mar 3, 2024 · 8 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed non-core maintainers aren't looking into this/low priority

Comments

@robertvazan
Copy link

Is your feature request related to a problem? Please describe.
It's a bit subjective, but current selection of shortcuts is a poor fit. There's a shortcut for settings, which are rarely accessed and not keyboard-friendly anyway. On the other hand, I often edit the last prompt instead of asking followup questions and there's no shortcut to start editing it and no shortcut to submit changes.

There are no shortcuts in the new Playground either, which makes it impossible to use the playground in the streamlined fashion described in #987. Notice the wide range of shortcuts in NovelAI (although NovelAI made the mistake of using Alt, which is impractical on keyboards that replace right Alt with AltGr).

Current WebUI shortcuts use three-key combinations, which are usually only used in text editors with several dozen shortcuts. Simpler two-key shortcuts should be used whenever possible.

Describe the solution you'd like
Maybe collect a list of the most common workflows and optimize shortcuts for them, preferring the more ergonomic shortcuts for the most frequent actions.

@tjbck tjbck added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed non-core maintainers aren't looking into this/low priority labels Mar 3, 2024
@ddegner
Copy link

ddegner commented Mar 7, 2024

I can't find the keyboard shortcuts. But in the same vein, I would love a shortcut for "New chat".

@robertvazan
Copy link
Author

@ddegner You are not alone: #1007. Look at the bottom right corner of the screen.

@MatthewK78
Copy link

There's another keyboard shortcut that I absolutely love in OpenAI's Playground interface -- [Ctrl]+[Enter] to Submit, no matter where you are (e.g. editing previous replies). Having to move my hands away from the keyboard in order to manually click Submit slows me down.

@nilsherzig
Copy link

nilsherzig commented Mar 16, 2024

Having escape close the current window (i.e. settings) and return also work on tags and other small input fields would be nice

@tjbck tjbck pinned this issue Mar 24, 2024
@tjbck
Copy link
Contributor

tjbck commented Apr 20, 2024

@nilsherzig Added to our dev branch!

@tjbck tjbck changed the title feat: optimize keyboard shortcuts enhancement: more keyboard shortcuts May 4, 2024
@NightMachinery
Copy link

Why do the shortcuts use so many modifiers? This is not ergonomic at all.

It's not like this is emacs, there are only a few shortcuts. All of them could be cmd+letter, e.g., cmd+k for new chat (which is what Claude uses).

The shortcuts could also be user-configurable, which would be much better.

image

@tjbck
Copy link
Contributor

tjbck commented May 20, 2024

image

ChatGPT Keyboard shortcuts.

@NightMachinery
Copy link

@tjbck Well, their choices are simply bad. I don't see why an opensource UI should imitate them without reason. Of course, there could be "hotkey packs" that configure the shortcuts to imitate ChatGPT for people used to that (IntelliJ does this to make it easy for people coming from other IDEs), but ChatGPT is a very new product, so I don't think this is worth it. Open WebUI should just go with ergonomic shortcuts.

Anyhow, I don't care about the defaults. If I can change these shortcuts, that's enough for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed non-core maintainers aren't looking into this/low priority
Projects
None yet
Development

No branches or pull requests

6 participants