codesandbox-client icon indicating copy to clipboard operation
codesandbox-client copied to clipboard

AUTO SAVE Is desperately needed

Open OldManMeta opened this issue 3 years ago • 8 comments
trafficstars

I've just lost about 4 hours of really complex work because the page crashed.

I seriously want to scream.

It's as simple as putting a timer on the menu control that fires the Save All command.

I'm pretty speechless at the moment.

OldManMeta avatar Aug 24 '22 08:08 OldManMeta

Hey @OldManMeta - There is an autosave feature.

Have you checked your Sandboxes? If you were working from a template when you first made an edit it would have forked to your account section.

If you weren't logged in however, it's likely the work will be lost.

JamesACS avatar Aug 25 '22 12:08 JamesACS

Hi @JamesACS - thanks for the response.

I was logged in - working on the same solution for a few days now. Yesterday, it just all fell over. The tab was completely locked. I couldn't navigate to CSB at the time either for a few minutes (I guess an update was happening, not sure) - but when I got back to the solution, the folders and files were there, but all the source code from a few hours back was just gone.

Cheers

OldManMeta avatar Aug 25 '22 12:08 OldManMeta

@OldManMeta - Please could you provide the link to the sandbox? We'll see if we can find anything on our end.

JamesACS avatar Aug 25 '22 14:08 JamesACS

Hi @JamesACS - sorry for the delay. I'm really deep into what I've got going on at the moment, and I would probably prefer to leave that box unmolested for the moment. If I get it again, I'll fork out of it and send you the link etc. It's only happened once, so I'm hoping that points to a browser issue on my side.

OldManMeta avatar Aug 28 '22 13:08 OldManMeta

@JamesACS - so it happened again on another project.

I'm pretty religious about saving now in CSB, every time after I add new elements/files etc.

This box crashed with an out of memory error in the browser tab - going back into it, I've lost several hours.

I've just forked the box, so this is the original

https://codesandbox.io/s/confi-panel-plates-48lokl

You will see that it is now asking to add a dependency. That dependency was added and removed several hours ago, so it's a fair bit of changes removed.

OldManMeta avatar Sep 04 '22 12:09 OldManMeta

Thank you @OldManMeta - We've had a thorough look on this end and we're not finding any issues with our backend systems that could have caused this.

Have you tried to use CodeSandbox on a different device to see if you encounter the same issues?

JamesACS avatar Sep 06 '22 10:09 JamesACS

@JamesACS - thanks for the response. I occasionally use it on another device, but just not punishing it with the same sorts of projects, so not had a browser crash previously.

I do find it odd that the folders and files can be created and are there when reloading the sandbox, but the code is gone at that point.

Quite obviously could be something on my box/browser etc. For the moment, I not only save but now routinely export to zip etc.

Thanks for looking through it. Not sure where we go from here TBH. If I think it's becoming unstable, I can try and grab a screen record in the chance that it happens and you can see what I see etc.

Cheers

OldManMeta avatar Sep 06 '22 10:09 OldManMeta

If you can catch it on a screen record (ideally with the network developer tools tab open also) that would be fantastic and we could explore further

JamesACS avatar Sep 06 '22 13:09 JamesACS