feat(files): add keyboard shortcuts#49432
Conversation
75f8d4b to
1c44235
Compare
This comment was marked as resolved.
This comment was marked as resolved.
f6eb690 to
7a278b6
Compare
|
Alright, first PR is ready. |
TIL, thanks :) |
Totally agree! But this is not really related to this PR. |
7a278b6 to
0eaa520
Compare
0eaa520 to
4b460ae
Compare
5223668 to
6e9de1b
Compare
…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
7cc1c90
Compare
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
7cc1c90 to
8cd679f
Compare
| // 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
@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