Hello
Multiple people were trying to edit same app but working on different queries, still changes are not there when app was opened again like new queries were not showing, query changes not visible, components are missing. Please help.
Hi @ritz9650,
I'm so sorry to hear that!
Do you mind sharing the name of the app so that I can look into it further?
Does the app history have any clues?
For recovering lost work, you could try using the historyOffset url param that is described here. For example, adding ?_historyOffset=5
to the end of the url in edit mode, will allow you to "travel back in time" 5 steps. You can increase the number to go further back in time if you still don't see the right data. The idea here is to go back to the most recent working version so you don't have to redo as much work (going back 1000 steps would likely show data, but it could be many, many changes behind). WARNING! If you make any changes to the canvas when traveling back in time with the _historyOffset
, that past version will become your present version and it messes with the history, so be careful not to touch anything! Once you find a version that you wan to use, then you can make an edit to the canvas (move a component, add a component, etc) to persist that view.
Hey
Yes we checked the history but by the time we realised we are missing some files, new changes were already made so couldn't revert back to older version. Also some of the changes were missing from history as well. But my question is why did that happen in the first place and how can we avoid this in future?
Here's the app link
Hi @ritz9650,
Thank you! Our new multipage apps beta doesn't work with multiplayer yet, so I was thinking it was maybe related to that. It doesn't look like that was a multipage app though
It's hard to say for certain why it is happened, and therefore, how to avoid it. Generally speaking, a page save should trigger any time a change is made within the editor (which is how you can navigate back in the history). Our team certainly monitors for page save errors to ensure there isn't a widespread breaking issue.
Have you noticed it happening since then (any pattern as to what was changed, when the changes were made, etc)