Skip to content
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

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

Open
sebastiaanveld opened this issue Mar 3, 2023 · 1 comment

Comments

@sebastiaanveld
Copy link

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.

  • Open an .drawio file in Nextcloud
  • Click File> Export As
  • Select PNG (as an example)
  • Click Export in the dialog
  • The Save As dialog that appears only shows the "Device" as a target and a "Download" button

image

  • The file will be save locally on the device
  • User needs to close Draw.io and upload the exported PNG file back to Nextcloud

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:

  • No need to save files locally (which gets messy when lots of files are changed for documentation purposes) and uploading to nextcloud
  • Creating document in Nextcloud with Office allows pictures that you want to insert into you document be taken directly from a Nextcloud folder. So if files Exported from Draw.io could be saved directly into those folders that would be time saving and be a consistent workflow for users where all data stays within Nextcloud.

image

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

@sebastiaanveld
Copy link
Author

sebastiaanveld commented Dec 19, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants