feat: add personal workspace creation for legacy users and invitation landing page

This commit is contained in:
Anurag Jangid 2026-10-23 02:09:59 +05:30
parent bf5cd44dc1
commit e905184c7f
12 changed files with 240 additions and 21 deletions

View file

@ -265,6 +265,8 @@ npm run build
- Added workspace-scoped MongoDB document metadata and dashboard filtering.
- Existing owner-owned spaces and pages are backfilled into the selected
workspace on first workspace load without changing their content or sharing.
- Legacy users without a tenant are automatically given a personal
organization and workspace, so Invite Fellow works immediately after login.
- New document creation rejects workspace IDs the authenticated user cannot
access.
- Added a workspace administration page at `/settings/workspaces` for
@ -276,6 +278,7 @@ npm run build
- Removed the unused Customize sidebar action and its controls.
- Updated Invite Fellow to create a workspace invitation and open a prefilled
email containing the invitation link.
- Added the invitation landing page at `/invite/:token`.
Validation completed:
@ -292,3 +295,28 @@ Next tenant work:
- Add invitation and audit history views to the administration page.
- Add organization-level security settings.
- Add authenticated browser coverage for workspace creation and role denial.
#### Workspace navigation polish
- Workspace and page views now retain the primary dashboard navigation:
For you, Templates, Recent, Favourite Projects, and All Projects.
- The navigation appears above the current space/page tree instead of replacing
the dashboard experience; the duplicate Dashboard button was removed because
the workspace header already provides that route.
- Space views now keep the sidebar visible, with the active space and its
content shown beneath the primary navigation.
- Navigating to a child page now automatically keeps its ancestor pages
expanded in the tree.
- New child pages are created as `Untitled` so users can name them directly.
- Template content now stays isolated to the page created from that template;
switching between pages remounts the editor for the active document instead
of reusing stale content from the previous page.
- Workspace sidebar navigation now opens the corresponding dashboard view:
Recent, Favourite Projects, All Projects, and Templates no longer all open
the default dashboard state.
- Workspace navigation now opens those flyouts in place without leaving the
current page or space. Dashboard and workspace navigation use matching
sidebar width, button height, padding, and text sizing.
- Workspace navigation now mirrors dashboard controls: “For you” links to the
dashboard, while Recent, Favourite Projects, All Projects, and Templates
use trailing chevrons and active flyout states.