How to avoid losing everything I've built

Hi

I’m spending so much time on my app and I’m learning a lot. Literally hours and hours. I haven’t got any bad shocks so far, but you know how in Wordpress you update everytime you make a change? In Bubble, it’s autosave every step of the way. Sometimes, I delete things by mistake and I don’t trust the undo command.

Is there a way I can save my work at milestone steps so that when I screw up something, I don’t have to start from scratch? Say I deleted the wrong page by mistake or deleted a table that has a lot of conditionals/workflows then forgot which one belongs where. You know what I mean? I feel as much bubble is intuitive and has real-time capablities, I just don’t trust myself making bad things haha.

Sounds like a personal issue. I use the undo command very often and never had trust issues with it.

Save points in the history section…must be on paid plan I believe, and they vary in terms of duration for each different plan type.

4 Likes

Yeah, it works reliably but only for workflow and design tab - things like style changes, settings aren’t tracked

1 Like

I just discovered that undo does in some, for others in many cases, not work as expected. I just noticed after a few hours of testing that things were broken because of an undo action. I am not sure what Bubble will undo and what not in detail but it seems that everything that deals with plugins will not undo, or at least not fully. I also noticed that some custom workflows were partially undo.

I think the best advise is to save save save and make a branch for each contained piece of work and merge first before you continue.

Why don’t you use save points?

3 Likes

+1 to save points.

Also you can duplicate your app on the home page every so often.

1 Like

Just DONT REFRESH before you undo

If you refresh the undo button still works the same as if you had not refreshed. You can test this out. If you experience something different, you should submit a bug report.

Undo button works by allowing you to undo up to the last 50 steps. A step is something not easily understood as it is not as we may think. For example, adding a new action to a series is a step, but adding a dynamic expression can be multiple steps…the first portion of the expression is a step, if I then set :first item, that is a step, if I then use the and operator that is a step. So it is easy for something like a workflow to be partially undone if you perform more than 50 steps to setup the workflow.

This really depends on what you are doing. I have not once come across a need for making multiple branches, but yet again, as everything in Bubble, there are personal choices in the way to proceed and for what reason.

Personally, most of the time if I am going to make some big change to an existing function, I will create a save point before I begin. But, I could imagine for the sake of having historical save points that last longer than the save points do based on the plan type, then a new branch would likely be a good option if it is something you expect to want to look at after a save point would have expired.

I use save points mostly for the work I’m doing at the moment, and I personally do not move onto another task until I complete the task at hand, so in my normal use case, I wouldn’t really need the save point for any more than a couple of hours.

If you delete an element, best to use the undo button

This is another good example of when the undo button is used

When I first got started in Bubble I did things like create a copy of the app as a sort of save point…not a good approach as I ended up with multiple copies without much reference as to the differences. I’d imagine using branches is akin to this.

I now do not do this to avoid the issue of multiple versions without any reference to differences. The date alone is not enough to suffice to know offhand what is different between them. If anything, I’d have just two copies, the one actively worked on, and the second a copy of the app just after I finish working for the day.

If you install a plugin and then press undo it will uninstall it, however, Bubble UX/UI is not the best and so the plugin remains ‘open’ in the plugin tab, although it is no longer in the list of installed plugins.

Also, if you uninstall by mistake and then press undo it will reinstall it.

Any actions associated with a plugin will also be undone by the undo button. If you experience issues with the undo button associated with plugins, you should submit a bug report. In my experience anything that deals with a plugin is tracked and can be undone with the undo button.

Best approach in my view, is to when attempting a large change, create a save point. If you screw up, then revert to save point. At least for me, that is all I ever need, plus the use of the undo button.

4 Likes

Bubble is full of these kind of logic. It is not always clear what something does or does not. So if it is true what you are saying it is important to be absolutely certain that you undo something with not too many steps. So removing a page with lots of workflows can not be undo.

I noticed that undo did not restore steps in a workflow related to a plugin. So for instance, I deleted a page, undo, noticed that workflow steps that involved a plugin did not restore. Can you confirm that did this type of undo and never had this issue?

I’ve been very thankful for the undo button many times.

I’m not sure what my record is for how many times in a row I’ve pressed it. I’m sure probably at least 10.

Since I have a SPA and all the groups are reusable elements, I now just clone the group and change things.

Usually, after several hours of making changes, I decide my original idea was better and delete the new clone.

1 Like

I have definitely gone back 20-30x :sweat_smile:

2 Likes

Deleting a page is one step. Delete page, press undo, page is back with all workflows exactly as it was before deleting.

1 Like

Strange that this always works on your end also when plugin steps are included. We just experienced that this is not the case for us. So it is safe to say that you cannot trust it 100%. Would be great if others can confirm that if they remove a page including workflows that holds plugin steps and custom workflow steps. Also people having the same issues that we see. Just to try finding out why it seems the work for you but not for us.

That can be said of anything. Always a chance something doesn’t work as intended. Bugs in Bubble are pretty commonplace. Best thing when you experience a bug like you are is to submit a bug report so Bubble can fix it.

There is a bug in your app if you are experiencing this.

strange isnt it that it is always working for you but not in our case. Just did another test with our app. New branch out of main, deleted a page with various custom workflows and plugin steps. Undo. Lost lots of steps.

Wondering now if you are the lucky guy that never had this experience or that we are the rare example that it sometimes does not work.

You can also export your app in the settings to bubble code and also import it back. With this you are not forced to deal with the time limited savepoint functionality.

3 Likes

How are paid plugins handled when you duplicate an app? Is your account charged immediately? Is there a warning that you’ll be charged with an option to abort? I don’t see this topic addressed at all in the manual’s information about duplicating an app.

Your new app won’t have license to them and you’ll need to repurchase or re subscribe

1 Like

That is the nature of bugs in Bubble. Sometimes it is every single app, sometimes it is individual apps. Submit a bug report.

This topic was automatically closed after 70 days. New replies are no longer allowed.