supermemory/apps/web
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(extension): resolve sign-in loop and stale spaces (#1016) 2026-05-30 16:38:10 +00:00
components fix(web): restore Nova onboarding analytics events (#1023) 2026-05-29 19:54:13 +00:00
hooks add org level context and space level profile (#1002) 2026-05-26 10:17:56 -07:00
lib fix(web): restore Nova onboarding analytics events (#1023) 2026-05-29 19:54:13 +00:00
public Update app favicon assets (#953) 2026-05-16 21:24:27 -07:00
stores fix: multi-select propagation bug and redesign selection toolbar (#901) 2026-05-05 22:35:35 +00:00
.env.example feat: deep-research on user profile and tiptap integration (#672) 2026-01-15 21:53:53 +00:00
.gitignore sentry sourcemaps 2025-08-23 09:55:40 -07:00
biome.json feat: mobile responsive, lint formats, toast, render issue fix (#688) 2026-01-21 03:11:53 +00:00
components.json New Version of Supermemory Consumer App 2025-08-16 18:50:10 -07:00
globals.css feat(web): redesign login with split layout and context network panel (#1010) 2026-05-27 00:59:32 +00:00
instrumentation-client.ts feat: warning when model is unavailable in the region (#814) 2026-03-28 05:52:41 +00:00
middleware.ts fix(web): portless dev auth redirects and session cookies (#981) 2026-05-20 23:38:07 +00:00
next.config.ts Rewrite @supermemory/memory-graph with perf optimizations + consolidate consumers (#809) 2026-03-28 19:06:27 -07:00
open-next.config.ts feat: mobile responsive, lint formats, toast, render issue fix (#688) 2026-01-21 03:11:53 +00:00
package.json feat: autumn migration (#902) 2026-05-08 22:42:55 +00:00
postcss.config.mjs feat: mobile responsive, lint formats, toast, render issue fix (#688) 2026-01-21 03:11:53 +00:00
README.md New Version of Supermemory Consumer App 2025-08-16 18:50:10 -07:00
tsconfig.json fix 2026-02-09 22:07:09 -08:00
wrangler.jsonc feat: mobile responsive, lint formats, toast, render issue fix (#688) 2026-01-21 03:11:53 +00:00

supermemory Consumer