Summary
Allow authenticated users to comment on workouts they can view (own workouts and workouts from followed users, including federated ones). Comments must work across ActivityPub federation, consistent with existing workout delivery/inbox flow.
Scope
- Backend: comment model + storage; CRUD API under
/api/v1/workouts/:id/comments; visibility checks via CanAccessWorkout
- Federation: deliver local comments as ActivityPub
Create/Update/Delete with Note objects (inReplyTo workout URL); process inbound comment activities in InboxProcessor; store/display remote comments alongside local ones
- UI: comment list + compose on workout detail; show local and federated authors (nickname, avatar)
Permissions
- Comment author can edit/delete their comment
- Workout owner can delete any comment on their workout
Out of scope (for now)
- Reply threads / nested comments
Summary
Allow authenticated users to comment on workouts they can view (own workouts and workouts from followed users, including federated ones). Comments must work across ActivityPub federation, consistent with existing workout delivery/inbox flow.
Scope
/api/v1/workouts/:id/comments; visibility checks viaCanAccessWorkoutCreate/Update/DeletewithNoteobjects (inReplyToworkout URL); process inbound comment activities inInboxProcessor; store/display remote comments alongside local onesPermissions
Out of scope (for now)