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

Keyboard navigation #87

Open
alexmaragko opened this issue Aug 11, 2022 · 3 comments
Open

Keyboard navigation #87

alexmaragko opened this issue Aug 11, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@alexmaragko
Copy link

It would be great to be able to fully navigate and select a project using only the keyboard.
For example, after activating the dashboard (ctrl+F1) use tab, or arrow keys to navigate and select a project.

@Kruemelkatze
Copy link
Owner

I tried around a bit on how this would work. Unfortunately, with the line breaks done with flexbox, i can't easily determine which project tile is in the desired direction without having to iterate over each and checking their coordinates. Which feels really hacky tbh.

But if you can come up with a solution for this, I'll gladly have a look at it!

@Kruemelkatze Kruemelkatze added the enhancement New feature or request label Nov 22, 2022
@ege-del
Copy link

ege-del commented Dec 16, 2022

How about putting each group's element into arrays and selecting with that?
e.g;
Up key, selects the last tile of group above
Down key, selects the first tile of group below
Left key, selects the tile with -1 index in array
Right key, selects the tile with +1 index in array

@Kruemelkatze
Copy link
Owner

Yeah, tried that at first, but feels really awkward if your group spans across multiple rows. The colleagues I tested this feature with instinctively used the down key to get to the next row, not the next group.

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

3 participants