Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
While using JSONs as a file format is good, it has a lot of limitations such as always having to open completely the file in order to view it's contents, as well as images being almost 30% larger due to having to make them into base64. Being able to store files as a Zipped file brings support to a lot of things, most importantly being able to include a "git repo" inside every presentation to store multiple versions of said files.
Proposed Folder Structure:
content.json
The json with the slideshow datastyles.json
Json with text styles, and other type of dataversion
File which holds the current version of the file. For future proofingindex.html
The HTML file with the JS to keep html rendering supportthumbnail
Just a link to the thumbnail file at/Thumbnails
/Pictures/
For images./Thumbnails/
To store the slide thumbnails/Videos
To store videos (Future feature)/Shapes
To store SVG shapes (Future future)/.git/
The place for the git repo. (Future feature)Pictures, Thumnails and others are stored with randomized file names to prevent collisions, and could be re-used in multiple places while only storing one file
TODO:
/Pictures
/Thumbnails
Fixes #220