This PR adds functionality to the save button. Clicking the button generates a ZIP file with the following Storylines project structure:
{UUID}
assets
en
fr
charts
en
fr
ramp-config
en
fr
This is what is currently saved:
the Storylines configuration file (at the moment, only the language being worked on. We still need to make it so we can swap between English and French configs)
Uploaded images (not saved to Storylines config yet, but images are added to ZIP)
Created charts (not saved to Storylines config yet, but json files are added to ZIP)
At the moment, clicking the button downloads the ZIP file to your browser for testing purposes. The code is there to upload the ZIP file to a server via Axios. The server code is already written (see demo here), we just need a server to upload it to and then we can update that endpoint.
This PR adds functionality to the save button. Clicking the button generates a ZIP file with the following Storylines project structure:
This is what is currently saved:
At the moment, clicking the button downloads the ZIP file to your browser for testing purposes. The code is there to upload the ZIP file to a server via Axios. The server code is already written (see demo here), we just need a server to upload it to and then we can update that endpoint.
This change is