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

1.0 KiB

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

cd frontend
npm run build

Acceptance Criteria

  • Existing content items only offer channels from their own workspace.
  • Duplicate publication target strings render as one placement.
  • Stale restored drafts do not keep known channels from other workspaces.