Add multi-workspace selector scope

This commit is contained in:
2026-05-05 13:20:44 -04:00
parent 78a7517de7
commit 0d4188b64e
11 changed files with 270 additions and 37 deletions

View File

@@ -0,0 +1,33 @@
# All Workspaces Selector
## Feature
Workspace navigation and cross-workspace content visibility.
## Goal
Allow users with access to multiple workspaces to select an "All Workspaces" scope from the workspace selector and view combined workspace data in list/calendar style views.
## Scope
- Add an explicit all-workspaces selection state to the frontend workspace store.
- Add an "All Workspaces" entry as the first workspace selector item.
- Add per-workspace visibility toggles for the all-workspaces aggregate scope.
- Fetch list data without `workspaceId` when all workspaces are selected.
- Filter all-workspaces list data to the currently visible workspace set.
- Keep creation and workspace settings actions scoped to a concrete workspace.
## Likely Files
- `frontend/src/features/workspaces/stores/workspaceStore.js`
- `frontend/src/layouts/main/WorkspaceSelector.vue`
- `frontend/src/features/content/stores/contentItemsStore.js`
- `frontend/src/features/campaigns/stores/campaignsStore.js`
- `frontend/src/features/clients/stores/clientsStore.js`
- `frontend/src/features/channels/stores/channelsStore.js`
- `frontend/src/locales/en.json`
- `frontend/src/locales/fr.json`
## Validation
- `cd frontend && npm run build`