Three stale-project-identity fixes from reviewing the New-workspace flow: - New workspace (web): handleNewClick cleared the workspace and the current project but left the browser on the old /user/slug URL — a refresh (or back-button pop) silently reloaded the OLD project over the fresh unsaved workspace. Now replaceState's to the localized /editor (replace, not push, so no back-entry points at the stale project route). - New workspace (desktop menu): same URL fix for the newProject menu action, which cleared identity but never left the project route. - .vlx import: importVlxFile mutated the stores WITHOUT clearing currentProject — with a saved project open, autosave saw the imported content as dirty edits on the old projectId and silently PUT the .vlx contents over the user's saved project (and pushed the clobber to GitHub on linked projects). Now severs identity first, same guard loadExample.ts already documents. |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| DesktopWelcomePage.tsx | ||
| Esp32QemuPrompt.tsx | ||
| GraceBanner.tsx | ||
| LockoutOverlay.tsx | ||
| QemuDownloadPrompt.tsx | ||
| Stm32QemuPrompt.tsx | ||
| UpdateAvailableToast.tsx | ||
| desktop.css | ||
| index.ts | ||
| log.ts | ||
| menu.ts | ||
| tauriBridge.ts | ||