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

Import of Multiple json Files #4

Open
pasetti opened this issue Apr 22, 2021 · 2 comments
Open

Import of Multiple json Files #4

pasetti opened this issue Apr 22, 2021 · 2 comments

Comments

@pasetti
Copy link
Contributor

pasetti commented Apr 22, 2021

At present, we can export multiple diagrams to json format but we can only import json files one by one. It would often be convenient to be able to import multiple json files. This could be done either by having a file picker where I can select the files I wish to import or by selecting a directory from which all *.json files are imported.

@Tomas-M
Copy link
Contributor

Tomas-M commented Apr 22, 2021

This may be a bit tricky.
When exporting multiple diagrams, it is clear what files you like to export.
But when importing a JSON, it imports it to the current editor window/workspace (does not save it anywhere yet).
If we implement mass import, it is not clear to me what to do with the imported diagrams. Automatically saving them to the list of users files may be dangerous. Maybe opening multiple windows (new tabs in browser) could work, but I'm not sure if this helps at all.

@pasetti
Copy link
Contributor Author

pasetti commented Apr 22, 2021

All right. I now understand the background to the current choice. Let us leave things as they are (at least for the time being).

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

No branches or pull requests

2 participants