Files
social-media/docs/TASKS/calendar-integrations/004-content-date-context-ui.md

35 lines
1.1 KiB
Markdown

# Task: Content date context UI
## Goal
Show calendar context while creating, editing, and viewing content items.
## Feature Spec
- `docs/FEATURES/calendar-integrations.md`
## Scope
- Show compact read-only calendar context pills near the publish date or scheduling area on content detail.
- Include same-day visible calendar events such as Mother's Day, Christmas Eve, Ramadan, and Queen's Day.
- Let users click a pill to open event details or navigate to the matching calendar day.
- Lightly mark dates with visible calendar events in the content create/edit date picker.
- Show event names in a small date context panel during date selection.
- Do not convert calendar context pills into hashtags or content tags automatically.
- Do not add scheduling warnings, blocking behavior, or notifications in this task.
## Relevant Files
- `frontend/src/features/content/views/ContentItemDetailView.vue`
- `frontend/src/features/content/views/ContentItemsView.vue`
- `frontend/src/features/content/`
- `frontend/src/locales/en.json`
- `frontend/src/locales/fr.json`
## Validation
```bash
cd frontend
npm run build
```