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

improvement: better shortcuts #4587

Merged
merged 6 commits into from
Jan 31, 2025
Merged

improvement: better shortcuts #4587

merged 6 commits into from
Jan 31, 2025

Conversation

WofWca
Copy link
Collaborator

@WofWca WofWca commented Jan 30, 2025

  • improvement: Ctrl + F to focus search
  • improvement: Enter or ArrowDown to focus 1st item
  • improvement: don't clear search on focus
  • improvement: Ctrl+M to focus composer, not Ctrl+N
  • feat: Ctrl + N to open "Create Chat"
  • feat: add Ctrl + Shift + F to search in chat

Instead of opening the first chat.

This is now preferable, since we have arrow key navigation
in the chat list.
Clearing the input is very easy anyway.
We should not clear it automatically in case e.g. the user wants
to come back to it and adjust the search,
or if they're simply using it as a convenient way to get the focus
closer to when they need it to be.
Ctrl + N is associated with "New", which would rather be
the "plus" button in the chat list.
Let's associate "M" with "message".

See [Reconsider Ctrl + N shortcut to open "New Chat" dialog instead of focusing message input](#4243).
Copy link
Member

@nicodh nicodh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good improvement!

Btw. when looking at the Shortcut Hints: on my Linux & MacBook the Shortcut to show the Hints is Strg + - not /
(dash not slash)

UI: would be nice to have margins around the <keyboard elements and to make the dialog wider to allow 3 buttons in one row

Both can go into a separate PR of course

@WofWca
Copy link
Collaborator Author

WofWca commented Jan 31, 2025

on my Linux & MacBook the Shortcut to show the Hints is Strg + - not /
(dash not slash)

Hmmm. This is weird. I don't see how this could be the case.

@WofWca WofWca merged commit c176996 into main Jan 31, 2025
11 of 12 checks passed
@WofWca WofWca deleted the wofwca/shortcuts branch January 31, 2025 12:49
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

Successfully merging this pull request may close these issues.

2 participants