feat(web): org brain switcher in header + plan badges#1006
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
supermemory-mcp | aedcbeb | May 26 2026, 12:55 AM |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
supermemory-app | aedcbeb | Commit Preview URL Branch Preview URL |
May 26 2026, 12:55 AM |
How to use the Graphite Merge QueueAdd the label Main to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
Claude finished @MaheshtheDev's task in 1m 26s —— View job PR Review Complete
Summary: Reviewed the org brain switcher implementation. No bugs, security issues, or logic errors found. The code correctly handles org switching with proper async flow, plan resolution logic is sound, and the shared |
There was a problem hiding this comment.
Overview: Adds an org brain switcher in the header dropdown with plan badges, extracts OrgPlanBadge to a shared component, and adds a hideCount prop to SpaceSelector.
Issues found: None — this looks good to ship.
The implementation is clean:
- Org switcher correctly determines active state by comparing org IDs
resolveOrgPlanlogic is sound: prioritizes summary data, falls back tocurrentPlanfor the active org, defaults to"free"otherwise- The async org-switch flow (
setActiveOrg→window.location.reload()) handles the state transition correctly clearActiveOrgnow properly clears both client state and server-side active org- Refactoring the badge component to a shared module reduces duplication
Score: 10/10
Merge activity
|
- Replace the top-left logo menu with an org switcher (Switch brain): lists organizations with avatar monograms, brand-blue active row, and the active org name (sans "Organization") shown above the supermemory wordmark. - Switching an org persists the active org and reloads so all data re-scopes. - Show each org's plan badge in the switcher, reusing the account settings badge (extracted OrgPlanBadge + resolveOrgPlan to a shared component). - Match the profile dropdown to the same design (rows, hover/focus, border). - Remove the 'Be part of the next supermemory app' research CTA card. - Add hideCount prop to SpaceSelector; hide the space count in chat input.
2ea5d5e to
aedcbeb
Compare

Uh oh!
There was an error while loading. Please reload this page.