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

[UPGRADE SUGGESTION] Local Storage easy management. #1669

Open
Cuphead74832 opened this issue Sep 2, 2024 · 2 comments
Open

[UPGRADE SUGGESTION] Local Storage easy management. #1669

Cuphead74832 opened this issue Sep 2, 2024 · 2 comments

Comments

@Cuphead74832
Copy link

Cuphead74832 commented Sep 2, 2024

Hello! I am working on a personal project which uses the Local Storage Extension to save data, but browsers cannot keep this data forever so i had to make a data export/import system, which is a pain because everytime i add a new key to the savefile since project is not a singular .sb3 it is a pain to add this new key to all the files.

So i wish you could just do like the rxFS extension and "export/import" the entire loaded workspace as well as a one block that can completely erase all the keys for resetting the workspace much easier.

An Example:

Export currently loaded workspace [Block Type: Value]
Import workspace from (VALUEBOXGOESHERE) to currently loaded workspace

[This would first erase the contents of the existing keys in the cookie when it confirms the data present is actually a valid import]

Reset currently loaded workspace keys. [Self-explanatory]

Yeah i wish this is added as would make the local storage more flexible.

@snowboyz0825
Copy link

You could do some stuff with GitHub or some server hosting website and have it upload the save (which you'll likely have to do manually unless someone creates an extension that can mess with repositories) and then have every project fetch it from the raw

@Cuphead74832
Copy link
Author

You could do some stuff with GitHub or some server hosting website and have it upload the save (which you'll likely have to do manually unless someone creates an extension that can mess with repositories) and then have every project fetch it from the raw

Yeah, but thats hard so with this update it will no only make my life easier, it would make others too!

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