Files
social-media/docs/TASKS/content/005-scope-content-editor-channels.md
Jonathan Bourdon b66c10b681
Some checks failed
Backend CI/CD / build_and_deploy (push) Has been cancelled
Frontend CI/CD / build_and_deploy (push) Has been cancelled
Add calendar integrations and collaboration updates
2026-05-05 15:25:53 -04:00

33 lines
1.0 KiB
Markdown

# Task: Scope content editor channels to item workspace
## Feature
`docs/FEATURES/channels.md`
## Goal
Prevent content item channel placements from mixing channels across workspaces when the app is viewed in an all-workspaces scope.
## Context
Seeded content such as `Bakery loyalty carousel` should only use channels from its own workspace. The seed source assigns it to `Atlas Bakery Instagram`, but stale editor drafts or all-workspaces channel options can show unrelated Luma channels in the content detail editor.
## Scope
- Limit content detail channel options to the content item's workspace.
- Deduplicate publication target parsing and summary serialization.
- Normalize restored editor drafts so duplicate or other-workspace known channels are not kept.
## Validation
```bash
cd frontend
npm run build
```
## Acceptance Criteria
- [x] Existing content items only offer channels from their own workspace.
- [x] Duplicate publication target strings render as one placement.
- [x] Stale restored drafts do not keep known channels from other workspaces.