-
Notifications
You must be signed in to change notification settings - Fork 185
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
Support storing multiple screens / screen states #184
Comments
We'd like to move this way in the future sure. The difficulty here is it really needs to be server-backed to ensure the Playrooms remain shareable and even proper support for generating/expanding short urls. The server-side component makes it harder to share as an open source solution. We would like to add hooks for these sort of solutions, with a local storage/state solution as the default, but yeah need to consider how to do this without breaking the sharable and collaborative workflow that exists today. |
and how do you currently handle this kind of issues when working in a design? (playroom going blank, minified React error, etc). Because of this I was thinking in the "save as..." system, we could keep shareable the last viewed code, while allowing to store locally different versions of the screen. Other option would be an "import/export" feature, not as fancy as a quick link share, but would allow to share several states at once and give the designer more confidence on his/her work being preserved correctly. |
I must say i have heaps of playroom bookmarks and some that i would consider quite large, and i have not hit this limit. Not sure if that is browser-specific based on url length though. If you can provide more info on how you're hitting the limit, maybe we can provide messaging around hitting the url limit if that is the problem. This would maybe help prevent the data loss/broken encoding. |
thank you, |
Hi everyone!
First of all, thanks for this great tool, I use it every day.
I'm having trouble building a nice workflow when working on several designs simultaneously.
when working on 2 screens (or 2 screen states) at the same time (on 2 different tabs), It can only save the state of the last one I'm editing (for example, if I exit the browser and come back again later).
What happens next, is that I can only recover the last design I made, sometimes not even that (when entering my playroom page again, it shows me the default code).
I tried to establish a workflow saving my designs in bookmarks (to store the URL's code hash in several links), but when the design gets too large, sometimes it truncates the hash and the playroom brokes (see image below).
I think a good, simple addition would be a "save system", the possibility to "save as..." the design with names other than "code", and then we could just save / load them whenever we like.
Do you think there are better alternatives to this?
or if you think this is a good proposal, I could work on it and do a PR 😄
The text was updated successfully, but these errors were encountered: