supermemory/apps
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
..
browser-extension fix(extension): resolve sign-in loop and stale spaces (#1016) 2026-05-30 16:38:10 +00:00
docs docs: clarify region requirement for S3-compatible endpoints (#851) 2026-05-26 18:55:31 +05:30
mcp Update chat empty state and Auto space mode (#954) 2026-05-16 23:55:34 -07:00
memory-graph-playground use portless 2026-05-06 22:42:34 -07:00
raycast-extension feat: mobile responsive, lint formats, toast, render issue fix (#688) 2026-01-21 03:11:53 +00:00
web fix(extension): resolve sign-in loop and stale spaces (#1016) 2026-05-30 16:38:10 +00:00