mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-14 23:21:20 +00:00
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 |
||
|---|---|---|
| .. | ||
| onboarding | ||
| settings | ||
| layout.tsx | ||
| page.tsx | ||