Uh oh!
There was an error while loading. Please reload this page.
feat(files): add keyboard shortcuts - #49432
Conversation
75f8d4b to
1c44235Compare
This comment was marked as resolved.
This comment was marked as resolved.
f6eb690 to
7a278b6Compareskjnldsv
commented
Nov 29, 2024
Alright, first PR is ready. |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
skjnldsv
commented
Nov 29, 2024
TIL, thanks :) |
skjnldsv
commented
Nov 29, 2024
Totally agree! But this is not really related to this PR. |
7a278b6 to
0eaa520CompareUh oh!
There was an error while loading. Please reload this page.
0eaa520 to
4b460aeCompare5223668 to
6e9de1bCompare…rtcut Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
6e9de1b to
7cc1c90CompareUh oh!
There was an error while loading. Please reload this page.
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
7cc1c90 to
8cd679fCompare| // Trick to detect if the action was called from a keyboard event | ||
| // we need to make sure the method calling have its named containing 'keydown' | ||
| // here we use `onKeydown` method from the FileEntryActions component | ||
| const callStack = new Error().stack || '' | ||
| const isCalledFromEventListener = callStack.toLocaleLowerCase().includes('keydown') | ||
There was a problem hiding this comment.
Another option would be to have two actions, delete and deleteWithConfirmation
skjnldsv
commented
Dec 17, 2024
@artonge yeah, I might revisit this later tbh |


Fix#1444
Fix#30484
Shortcuts
### Selection - [x] Select all - [x] Unselect all - [x] Select/unselect current fileActions
Navigation
Usability
Later
Status