-
Notifications
You must be signed in to change notification settings - Fork 259
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
Feature: Add multiple file transfer, directory transfer from Nautilus #1821
base: main
Are you sure you want to change the base?
Conversation
…extension-gsconnect into multi-file-transfer
|
I'll have to figure out what about these changes are breaking |
@andyholmes I was hoping you might be able to give me some insight into why the CI is failing. The failure is in
I did add a couple of new actions to the plugin. The only reason I can think of that they might not be activating is, both of the new actions have
gnome-shell-extension-gsconnect/installed-tests/suites/plugins/testSharePlugin.js Lines 12 to 32 in 97a1287
Do I need to add |
As I've said, it would also be good to add actual tests for the new code. But I figure first I need to get the tests working without testing the new code, before I worry about adding more tests. |
This is the section here that controls enabling/disabling actions: gnome-shell-extension-gsconnect/src/service/plugin.js Lines 131 to 143 in 97a1287
So as long as every incoming/outgoing packet type for the action is also in the incoming/outgoing for the device, it will be enabled. So I'd guess what you need is to add |
@andyholmes That seems to have done it, thanks! Now I just have to gin up some tests for the new code. |
This pull request has conflicts, please resolve those so that the changes can be evaluated. |
This PR adds the ability to transfer multiple files at once over the KDEConnect "share files" link, and upgrades the Nautilus/Nemo extension with the ability to both handle multi-select (sending all of the selected items), and to send directory trees via temporarily-created
.zip
files, which are deleted by the JS code after transferring the files (successfully or not).Fixes: #1025