Skip to content

add upload hotkeys: n & shift+n#1506

Open
juodumas wants to merge 2 commits into
9001:hovudstraumfrom
juodumas-forks:upload-hotkey
Open

add upload hotkeys: n & shift+n#1506
juodumas wants to merge 2 commits into
9001:hovudstraumfrom
juodumas-forks:upload-hotkey

Conversation

@juodumas

@juodumas juodumas commented Jun 2, 2026

Copy link
Copy Markdown

Upload process before: 1) click up2k icon; 2) click upload; 3) click files or folder in modal
Upload process after: press N
Or do you all drag & drop?

Hotkey is N because it is opposite of Y and can also stand for (N)ew.

This PR complies with the DCO; https://developercertificate.org/

@9001

9001 commented Jun 12, 2026

Copy link
Copy Markdown
Owner

a huge inconvenience with initiating an upload by clicking the upload-button (and/or with this hotkey) is that it initiates file selection using a more restricted API than a drag-drop would;

the webbrowser has security features which prevents the javascript from recursing into a selected folder if it comes from the click-to-upload action,

so the only way to upload a folder and all its subfolders is by dragdrop; can't be done with the button

so I'm not really sure if this is worth it , but i'll keep it open for now -- figured i'd say something at least

@juodumas

juodumas commented Jun 12, 2026 via email

Copy link
Copy Markdown
Author

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