vanila-io / wireflow

Wireflow - user flow chart real-time collaborative tool
https://wireflow.co
MIT License
3.99k stars 376 forks source link

Feature/websy85/import export #79

Open websy85 opened 3 years ago

websy85 commented 3 years ago

Proposed Change

Add ability to save flow configurations by way of an new import/export feature

Type of Change

Details

I have modified the ExportCanvas export button to include additional options for importing and exporting flow configurations in JSON format. The export takes the data stored in local storage and creates a download for it. The import instantiates a file upload dialog. If a JSON file is selected it's used to override the localstorage and the page is reloaded. If any other file type is selected and error will be displayed.

shtefcs commented 3 years ago

@websy85 thanks for this PR, great improvement.

I am not the one who can check, merge and deploy this, but I will wait for @entrptaher if he have time to check this. If not, will find someone else.

dagnelies commented 2 years ago

Loading / saving would be great!