Convert settings from a dedicated /settings page into a modal driven by ?settings=<tab> URL state, opened from the profile menu, header, bottom nav, and command palette. Old /settings#<tab> links redirect into it.
- Shared SettingsContent (rail nav + tabs) rendered by the modal
- Rail-top org switcher with create-organization
- Account: carded profile + plan badge, Overview stat tiles, toggle-based Org Context, compact Team members (hides own row when solo)
- Integrations nav and the MCP connect button link out to the integrations view (cat=ai-clients)
- Billing: drop unused payment_method expand that slowed plan load
- Fix nested-button hydration error in FeaturedHero
- 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.
Added workspace management to the onboarding flow with automatic organization creation and workspace validation throughout the app.
### What changed?
- Wrapped the app layout with an `EnsureWorkspace` component that redirects users without organizations to onboarding
- Enhanced the welcome page to automatically create an organization with a generated slug when users complete their name input
- Expanded the auth context to track organizations list, restoration state, and provide organization refetching capabilities
- Added utility functions for generating unique organization slugs and usernames from display names
- Implemented proper organization restoration logic that handles saved preferences and multiple organization scenarios