[bug] app has locked me out after ⌘+Z inside Stack container

every time i load this app i'm working on, i get about a second or less before it becomes totally unresponsive. eventually the browser kills and restarts the tab.

the last thing i remember doing was placing a handful of components inside a Stack container, then hitting ⌘+Z to undo. at this point (yesterday), it became unresponsive. I tried very hard to quickly revert in the version history, but like I said I only get a second.

I exported the Toolscript ZIP, but I was hoping to just get my app back on track so I have access to version history and stuff instead of recreating a new app from ZIP.

hmm... so I imported from JSON and still getting this issue.

works with Toolscript ZIP restore! still lost version history, so would love to solve that at some point

Glad you were able to recover it! Could you share that json with me? I haven't been able to reproduce it yet

hi @Tess thanks for your reply! here's the JSON attached.

the workaround to use toolscript ZIP instead of JSON is the solution to this specific bug.

things have just been "weird" around the app editor since i restored from toolscript ZIP, and i'm not sure if it's just pre-existing from before this particular topic.

i'll see if i can make it grind to a halt again on a fresh app.

2024-08-26-retool-45969-broken.json (411.3 KB)

Are you still seeing this error on the latest version? Are you able to load any of the pages (for example /page1)?

The export unfortunately doesn't come with the history, so my best advice there would be to try to add the _historyOffset =5 url param to the url to step back

I haven't been able to reproduce the issue, which makes me think it may have had to do with resource query data. If stepping back doesn't work, I could send you an export of the app with all of the resource queries disabled to see if that helps load the page

1 Like

If the issue is still happening on the latest verison, it may also help to see a .har file. To do so (instructions for chrome):

  1. Right-click in the browser window or tab and select Inspect.
  2. Click the Network tab in the panel that appears.
  3. Refresh the page and use the app until the freezing occurs.
  4. Click the download button ("Export HAR" appears when you hold the pointer over it).
  5. Name the file.
  6. Click Save.

@Tess perfect thank you for the _historyOffset=5 trick!

1 Like