-
Notifications
You must be signed in to change notification settings - Fork 1.3k
feat(web): add paste and drag-and-drop of .torrents to web ui #7719
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
base: main
Are you sure you want to change the base?
Conversation
|
Hey @tomholford, I am the creator of Shift and I was wondering about the use-case for copy(/cut) + paste. Is there anything that copy + paste can do that can't be done with drag + drop? Also, I have made it so dragging and dropping is something that is processed automatically. This allows for large drops that parallelize loading and uploading as much as possible. Oh, and I also believe you should not commit the transmission-app files. |
|
Hello @killemov thanks for the comment.
Cool project, was not aware of custom Transmission UIs. Will give it a shot.
AFAIK It's the same net effect. Slightly more ergonomic UX (mouse is optional).
This is a good idea. Perhaps I will add this as an enhancement in a future PR. For now, I'll keep it simple to increase the odds of merge.
Thank you, will remove it |
|
Thanks @tomholford ! I implemented paste in Shift as well. |
28e2567 to
eb08fdb
Compare
|
Would: |
|
@Rukario can you review this? |
- Add paste handler for .torrent files in open dialog - Add drag-and-drop support with visual feedback - Context-aware paste: allows text paste in URL field, intercepts files elsewhere - Files accumulate in input without replacing existing selections - Event listener cleanup on dialog close - Update .gitignore to exclude generated web files
eb08fdb to
2002e8a
Compare
Preview
Drag and Drop
transmission-drag-and-drop.mov
Copy and Paste
transmission-copy-and-paste.mov
Changes