The fileitemactionplugin enables users to send files by right-clicking them in Dolphin.
This currently does not work on folders.
One could take all files in a folder and send them individually or zip them and unzip on the remote device again.
Ideally the directory structure would be preserved.
To make it simple at first one could exclude subfolders.
Requires changes in: SharePlugin on Desktop and possibly Android, fileitemactionplugin
Requires some research about how Dolphin works regarding fileitemactionplugins
I'll get started and ping back once I've made some progress or if I have some questions. Is there a KDE Connect IRC/Slack/discord channel for when I have questions or is the mailing list the only mode of communication?
Since I wrote the original task description a few things changed. The file sharing in Dolphin is now handled via Purpose. ATM the Share menu isn't shown for folders. Adding that is trivial, but special care is needed that the other share options in Purpose handle sharing a folder gracefully.