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

feat: Add Missing Keyboard Shortcuts to Help List UI #1132

Closed
silentoplayz opened this issue Mar 11, 2024 · 2 comments
Closed

feat: Add Missing Keyboard Shortcuts to Help List UI #1132

silentoplayz opened this issue Mar 11, 2024 · 2 comments

Comments

@silentoplayz
Copy link
Collaborator

silentoplayz commented Mar 11, 2024

Is your feature request related to a problem? Please describe.

Yes, the problem is that the Open WebUI keyboard shortcuts list is missing some commonly used and useful keyboard shortcuts, such as Shift+Enter for new line, Ctrl/⌘+Shift+R for refreshing the current tab, and F11 or Ctrl/⌘+Shift+F for entering and exiting full-screen mode.

Describe the solution you'd like

I would like the following keyboard shortcuts to be added to the keyboard shortcuts help list UI:

  1. Shift+Enter for a new line
  2. Ctrl/⌘+Shift+R for refreshing the current tab
  3. F11 or Ctrl/⌘+Shift+F for entering and exiting full-screen mode
    These shortcuts are already built into most modern web browsers, and including them in the help list will enhance the user experience.

Here are the detailed descriptions of the suggested keyboard shortcuts:

  1. Shift+Enter for a new line: This shortcut allows users to create a new line while typing in a text area or input field. Currently, this shortcut is not listed in the Open WebUI keyboard shortcuts help list.
  2. Ctrl/⌘+Shift+R for refreshing the current tab: This shortcut reloads the current tab in the browser. This shortcut is not listed in the Open WebUI keyboard shortcuts help list.
  3. F11 or Ctrl/⌘+Shift+F for entering and exiting Fullscreen mode: These shortcuts allow users to enter and exit Fullscreen mode in Open WebUI. Additionally, Ctrl/⌘+Shift+F is not mentioned at all.

Screenshot 2024-03-10 225206

Additional context

  • Ensure that keyboard shortcuts are consistent across the entire application. For example, if a particular action has a specific shortcut in one part of the application, it should have the same shortcut in other parts of the application as well.
  • Global vs. local shortcuts: Clearly differentiate between global shortcuts (applicable across the entire web app) and local shortcuts (specific to certain pages or components).
  • Group shortcuts by functionality: Organize shortcuts into categories based on their functionality, such as navigation, chat management, and settings. This will help users find and learn the shortcuts relevant to their needs.
  • Show shortcut hints: Display a small, unobtrusive hint in the UI when a user can use a keyboard shortcut. For example, when a user hovers their mouse button above the New Chat button, display a hint saying Or press "Ctrl+N" to create a new chat.
  • Prefer two-key combinations over three-key combinations when possible.
  • Avoid using modifier keys (Ctrl, Shift, Alt, etc.) in isolation, as they are often used in other applications for different purposes.
  • Allow users to edit/customize and save keyboard shortcuts according to their preferences.
  • Add a Clear or Remove button next to each shortcut in the keyboard shortcuts menu. When users click on this button, the associated shortcut field would be cleared, effectively removing the binding.
  • Implement a hotkey conflict resolution system: If a user tries to set a keyboard shortcut that conflicts with an existing one, provide a clear warning and an option to either change the conflicting shortcut or keep the new one.
  • Provide a way to import and export custom shortcut sets for easy sharing and backup.
@silentoplayz silentoplayz changed the title Add Missing Keyboard Shortcuts to Help List feat: Add Missing Keyboard Shortcuts to Help List Mar 11, 2024
@silentoplayz silentoplayz changed the title feat: Add Missing Keyboard Shortcuts to Help List feat: Add Missing Keyboard Shortcuts to Help List UI Mar 11, 2024
@tjbck
Copy link
Contributor

tjbck commented Mar 11, 2024

Duplicate: #1008

@tjbck tjbck closed this as completed Mar 11, 2024
@silentoplayz
Copy link
Collaborator Author

silentoplayz commented Mar 11, 2024

Updated the additional context.

Additional context

  • Keyboard shortcut consistency: Ensure that keyboard shortcuts are consistent across the entire application. For example, if a particular action has a specific shortcut in one part of the application, it should have the same shortcut in other parts of the application as well.
  • Global vs. local shortcuts: Clearly differentiate between global shortcuts (applicable across the entire web app) and local shortcuts (specific to certain pages or components).
  • Group shortcuts by functionality: Organize shortcuts into categories based on their functionality, such as navigation, chat management, and settings. This will help users find and learn the shortcuts relevant to their needs.
  • Show shortcut hints: Display a small, unobtrusive hint in the UI when a user can use a keyboard shortcut. For example, when a user hovers their mouse button above the New Chat button, display a hint saying Or press "Ctrl+N" to create a new chat.
  • Prefer two-key combinations over three-key combinations when possible.
  • Avoid using modifier keys (Ctrl, Shift, Alt, etc.) in isolation, as they are often used in other applications for different purposes.
  • Allow users to edit/customize and save keyboard shortcuts according to their preferences.
  • Add a Clear or Remove button next to each shortcut in the keyboard shortcuts menu. When users click on this button, the associated shortcut field would be cleared, effectively removing the binding.
  • Implement a hotkey conflict resolution system: If a user tries to set a keyboard shortcut that conflicts with an existing one, provide a clear warning and an option to either change the conflicting shortcut or keep the new one.
  • Provide a way to import and export custom shortcut sets for easy sharing and backup.

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

No branches or pull requests

2 participants