Files
social-media/docs/TASKS/content/008-multi-channel-preview-editor.md
Jonathan Bourdon 5a798d6650
All checks were successful
deploy-socialize / image (push) Successful in 1m15s
deploy-socialize / deploy (push) Successful in 19s
feat: add content media dam uploads
2026-05-09 12:42:20 -04:00

60 lines
3.2 KiB
Markdown

# Task: Redesign content editor for shared multi-channel previews
## Feature
`docs/FEATURES/channels.md`
## Goal
Make content creation feel like planning a real social post instead of filling out legacy form fields.
The editor should use one shared content body for every selected target channel, show selectable target channels as a vertical tab-style list, and preview the same content in platform-shaped cards for networks such as YouTube and X.
## Scope
- Keep content item editing in `frontend/src/features/content/views/ContentItemDetailView.vue`.
- Replace per-channel caption editing with a shared caption and shared hashtags.
- Let configured workspace channels be selected or unselected as targets.
- Show target channels as a single vertical tab rail and render preview cards that look closer to social platform previews.
- Convert shared hashtags into chip-style entry with suggestions from already used hashtags.
- Show a workspace hashtag feed so authors can reuse existing tags.
- Keep the editor focused on post text and target channels by removing confusing title, calendar, change summary, and base-caption fields.
- Make target preview tabs compact.
- Move the create content entry point into the top app menu bar.
- Remove the asset-management tab from the content detail production panel.
- Move content editing into the channel preview cards instead of using a separate post text field.
- Keep target copy/title synchronized by default, with per-target opt-out.
- Show title editing only for networks that normally need titles, such as YouTube, Reddit, Website, and newsletters.
- Let each target choose its own media requirement.
- Let authors upload media from the editor; uploaded media is stored as a DAM asset.
- Let authors attach an existing workspace DAM asset to the active target preview.
- Preserve existing content item save payloads.
## Validation
```bash
cd frontend
npm run build
dotnet build backend/Socialize.slnx
```
## Acceptance Criteria
- [x] Content authors select target channels with checkbox-like controls.
- [x] The same shared content appears on every selected channel preview.
- [x] The editor includes platform-specific preview treatment for YouTube and X/Twitter.
- [x] Saving still creates or revises a content item with the selected targets.
- [x] Hashtags commit to removable chips as they are entered.
- [x] Already used hashtags are available as suggestions.
- [x] The editor shows a workspace hashtag feed with usage counts.
- [x] The editor no longer shows title, calendar, change summary, or base-caption fields.
- [x] Target channel tabs use compact icon-only buttons with channel names as accessible labels and tooltips.
- [x] Create content is available from the top app menu bar.
- [x] Assets are no longer shown in the content detail production panel.
- [x] Authors edit the active channel preview directly.
- [x] Channel copy/title is synchronized by default and can be unsynchronized per target.
- [x] Title input only appears for title-oriented targets.
- [x] Each target can choose no media, image, video, clip, or carousel independently.
- [x] Authors can upload media from a target preview and create a DAM asset.
- [x] Authors can choose an existing workspace DAM asset for a target preview.