Add multi-workspace selector scope
This commit is contained in:
33
docs/TASKS/workspaces/001-all-workspaces-selector.md
Normal file
33
docs/TASKS/workspaces/001-all-workspaces-selector.md
Normal 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`
|
||||
Reference in New Issue
Block a user