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

New Keyboard Shortcuts #4734

Open
4 tasks
ndom91 opened this issue Aug 21, 2024 · 10 comments
Open
4 tasks

New Keyboard Shortcuts #4734

ndom91 opened this issue Aug 21, 2024 · 10 comments
Assignees
Labels
UX/UI Focusing on user satisfaction, usability, and overall experience

Comments

@ndom91
Copy link
Contributor

ndom91 commented Aug 21, 2024

We're looking for input on some more keyboard shortcuts. We want to align with other similar apps and implement keyboard shortcuts that will be familiar to users. We're currently considering adding the following:

  • ctrl + a to select all files in filelist in commit mode
  • space to toggle select/unselect on focused file
  • esc to close an opened file diff preview
  • ctrl + ? to open a keyboard shortcut overview menu

Also potentially ctrl + z/y to travel back and forth in the oplog aka undo stack.

Please add any other ideas below 😁

@freak4pc
Copy link

Just wanted to report that using up/down keys to navigate between files doesn't work - not sure if it's planned to not work or it's a bug, but that's the behavior in other Git UI tools :)

@ndom91
Copy link
Contributor Author

ndom91 commented Aug 24, 2024

Thanks for chiming in! Yeah those sound sensible as well 👌

@PavelLaptev PavelLaptev added the UX/UI Focusing on user satisfaction, usability, and overall experience label Aug 26, 2024
@PavelLaptev
Copy link
Contributor

Just wanted to report that using the up/down keys to navigate between files doesn't work. Not sure if it's intentional or a bug, but that's how it works in other Git UI tools. :)

@freak4pc This is indeed a bug. The functionality should be working, so I'm wondering why it isn't on your end. If possible, could you please create a separate issue for this? You can do so using this link.

Screen.Recording.2024-08-26.at.15.22.52.mov

@PavelLaptev PavelLaptev pinned this issue Aug 26, 2024
@freak4pc
Copy link

Just wanted to report that using the up/down keys to navigate between files doesn't work. Not sure if it's intentional or a bug, but that's how it works in other Git UI tools. :)

@freak4pc This is indeed a bug. The functionality should be working, so I'm wondering why it isn't on your end. If possible, could you please create a separate issue for this? You can do so using this link.

Screen.Recording.2024-08-26.at.15.22.52.mov

Thanks, I actually meant when being focused on a specific commit, not on the staged workspace changes

@PavelLaptev
Copy link
Contributor

Thanks, I actually meant when being focused on a specific commit, not on the staged workspace changes

@freak4pc, thank you for clarifying this. Yes, it doesn’t work at the moment. It's something we need to fix.

@H1ghBre4k3r
Copy link
Contributor

I am currently thinking if hitting esc while in the settings (both, project and app settings) should bring you back to the previous screen from where you opened the settings (similar to the small arrow on the upper left hand side).

@ndom91
Copy link
Contributor Author

ndom91 commented Aug 28, 2024

I am currently thinking if hitting esc while in the settings (both, project and app settings) should bring you back to the previous screen from where you opened the settings (similar to the small arrow on the upper left hand side).

I find myself hitting esc to do just that out of muscle memory sometimes 😅 Down with this as well!

@ndom91
Copy link
Contributor Author

ndom91 commented Sep 10, 2024

Note for ourselves for the future: Navigating up/down with the keyboard arrows in the Filelist sometimes behaves very strangely. For example, skipping items, stopping at "incorrect" items, etc.

@PavelLaptev
Copy link
Contributor

Note for ourselves for the future: Navigating up/down with the keyboard arrows in the Filelist sometimes behaves very strangely. For example, skipping items, stopping at "incorrect" items, etc.

Can you please also attach a video capture or describe how to reproduce this.

@ndom91
Copy link
Contributor Author

ndom91 commented Sep 10, 2024

There's not much to record, for example in this scenario:

image

If I select the top file, controller.js, I can only navigate down to index.js with the keyboard down arrow. Then it gets stuck.

Similarly, if I click on the bottom item, test.txt, and press up on the keyboard arrow, it jumps to index.js (skipping package.json) and then gets stuck on index.js.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UX/UI Focusing on user satisfaction, usability, and overall experience
Projects
None yet
Development

No branches or pull requests

5 participants