supermemory/apps/web/app
MaheshtheDev 3160358bfd fix(extension): resolve sign-in loop and stale spaces (#1016)
## What

Fixes two bugs reported by a customer (Plain T-1289) using the Supermemory browser extension.

### Bug 1 — extension sign-in loop

When a user logs out of the _extension_ but is still authenticated in the _web app_, the extension's Sign-in button opens `/login`, which short-circuited via a bare `router.replace("/")`. That path never carried the `extension-auth-success` flag the dashboard waits on before `postMessage`\-ing the session token to the extension content script — so the extension never received a token and stayed stuck on "Sign in" indefinitely.

Now the already-authenticated redirect carries `?extension-auth-success=true`, matching the existing fresh-login callback behavior (no new token exposure).

### Bug 2 — stale / deleted spaces

The extension's stored default space (`local:sm-default-project`) was only set when none existed, never reconciled. After renaming/deleting spaces in the web app, the popup kept showing save buttons pointing at dead spaces. Now the popup reconciles the stored default against the freshly-fetched live list: resets to the first space if the stored one was deleted, and refreshes the cached copy (label/containerTag) if it was renamed.
2026-05-30 16:38:10 +00:00
..
(app) fix(web): restore Nova onboarding analytics events (#1023) 2026-05-29 19:54:13 +00:00
(auth)/login fix(extension): resolve sign-in loop and stale spaces (#1016) 2026-05-30 16:38:10 +00:00
api fix(onboarding): fail fast when EXA_API_KEY is missing (#995) 2026-05-26 22:16:25 +05:30
auth/connect feat(dashboard): Add "Pick up where you left off" personalization panel (#935) 2026-05-24 21:58:58 -07:00
ref chore: improve the codebase with react doctor (#917) 2026-05-09 19:12:01 +00:00
upgrade-mcp chore: improve the codebase with react doctor (#917) 2026-05-09 19:12:01 +00:00
global-error.tsx fix: resolve UI accessibility, hydration, and semantic HTML issues (#520) 2025-12-07 21:31:30 -08:00
icon.png Update app favicon assets (#953) 2026-05-16 21:24:27 -07:00
layout.tsx fix(web): make Nova chat mobile-native instead of full-screen takeover (#1021) 2026-05-29 20:47:17 +05:30
manifest.ts Update app favicon assets (#953) 2026-05-16 21:24:27 -07:00
not-found.tsx feat: mobile responsive, lint formats, toast, render issue fix (#688) 2026-01-21 03:11:53 +00:00
opengraph-image.png New Version of Supermemory Consumer App 2025-08-16 18:50:10 -07:00