-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Epic: #12 — Implement user_activity Table Support
Size: S
Depends on: #13
Description
Add user activity tracking when comments are posted.
Files to modify
app/services/comment_service.py— callrecord_user_activity()after the twoinsert_onecalls, passcomment_id(theuuid1()) asactivity_idtests/services/test_comment_service.py— verifyrecord_user_activitycalled with correct args
Key design
activity_type="comment",activity_id=comment_id(links back to the comment)- Wrap in try/except — never fail the comment operation
Acceptance Criteria
-
add_comment_to_video()callsrecord_user_activitywithactivity_type="comment"and comment's uuid1 - Existing comment tests still pass
- New test verifies correct arguments
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request