1.3 KiB
1.3 KiB
Task: Add content activity endpoint
Feature
docs/FEATURES/production-workflow.md
Goal
Add a content-owned activity history endpoint that is separate from user-facing notifications.
Scope
- Add persisted content activity entries.
- Add
GET /api/content-items/{id}/activity. - Log content creation, revisions, status changes, comments, linked assets, and asset revisions.
- Include field-level metadata for content revision changes such as title, message, channels, hashtags, and publish date.
- Persist publish date changes sent from the content editor revision flow.
- Use the activity endpoint from the content detail production activity tab.
Out Of Scope
- Full diff rendering UI.
- Deleting tags or assets.
- Notification recipient behavior changes.
Validation
dotnet build backend/Socialize.slnx
cd frontend
npm run build
Acceptance Criteria
GET /api/content-items/{id}/activityreturns content history for users who can review the content item.- Activity entries are not filtered by notification recipients.
- Content revision activity records changed fields.
- Publish date changes are saved and included in content activity.
- The content detail activity tab reads from content activity instead of notifications.