stackblitz / webcontainer-core

Dev environments. In your web app.
https://webcontainers.io
MIT License
3.93k stars 172 forks source link

"Sign in to save your changes" do not save to the account #1520

Open georgeCXG opened 1 month ago

georgeCXG commented 1 month ago

Describe the bug

When not registered/logged in and into a playground/codebase after doing some changes, when pressing the "Sign in to save your changes" it do not save.

Link to the blitz that caused the error

https://stackblitz.com/edit/nextjs?file=README.md

Steps to reproduce

  1. MUST NOT BE REGISTERED/LOGGED IN
  2. Go to https://stackblitz.com/edit/nextjs?file=README.md
  3. Install some libraries , create files , write code.
  4. Open a new tab in browser , go to stackblitz -> create account ( do not verify email )
  5. Go back to the tab ("https://stackblitz.com/edit/nextjs?file=README.md")
  6. Click the "Sign in to save your changes", insert credentials -> click "Sign in" and then message about "verify email" appears
  7. Verify email
  8. Click again "Sign in"
  9. And it redirects to the dashboard with empty projects, not saved and lost the codebase

Expected behavior

Expected to save

Parity with Local

Screenshots

No response

Platform

Browser name  = Chrome
Full version  = 129.0.0.0
Major version = 129
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 89240614,
  "usedJSHeapSize": 84044294,
  "jsHeapSizeLimit": 4294705152
}
Hash = 134daa3c

Additional context

No response