mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-05 08:06:19 +00:00
- 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.
13 lines
326 B
TypeScript
13 lines
326 B
TypeScript
"use client"
|
|
|
|
import { EnsureWorkspace } from "@/components/ensure-workspace"
|
|
import { PWAInstallPrompt } from "@/components/pwa-install-prompt"
|
|
|
|
export default function AppLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<>
|
|
<EnsureWorkspace>{children}</EnsureWorkspace>
|
|
<PWAInstallPrompt />
|
|
</>
|
|
)
|
|
}
|