jgraph / drawio-nextcloud

Fork from 2022 nextcloud repo
GNU Affero General Public License v3.0
68 stars 15 forks source link

Allow Export As dialog to write exported file directly to a Nextcloud folder #42

Open sebastiaanveld opened 1 year ago

sebastiaanveld commented 1 year ago

Is your feature request related to a problem? Please describe. When a user has a file opened in Draw.io and click File> Export As, the workflow allows only to select the Local Device as a Save As/Download Target. It would be helpfull id the exported file could be saved directly to a Nextcloud Folder.

image

Describe the solution you'd like Nextcloud Office/Collabora Office allows while editing a document from Nextcloud to be Exported directly to a Nextcloud Folder. This is usefull as it won't save files locally. For this they "split" the dialogs into "Export As" and "Download As" where Export As saves the file directly to the Nextcloud folder. Download As obviously download the file to the local device.

image

image

For Draw.io Nextcloud App It would be nice to have the Export As/Save As dialog allow the selection of the Nextcloud instance to save the file to, like in this example (the Download button may be changed to "Save" in this case):

image

Describe alternatives you've considered Alternative the user needs to save files locally first and then upload those back into a Nextcloud Folder.

Additional context Reason why it's nice to export files directly back to Nextcloud is:

image

The Insert "Image dialog" in Nextcloud Office allows selecting a file directly from a Nextcloud Folder.

sebastiaanveld commented 9 months ago

Maybe it would be possible to extend https://www.drawio.com/doc/faq/configure-diagram-editor so the imort/export paths could be set to the preferred solution?

image