feat(social): M13 Social Features - #9
Open
Tardisyuan wants to merge 1 commit into
Open
Tardisyuan wants to merge 1 commit into
Tardisyuan wants to merge 1 commit into
Conversation
…ollows, profiles Backend: - 133 new tests for social domain (Post, Comment, Reaction, Follow, UserProfile) - Data migration: Social menu entry in sidebar navigation - Auto-fixed 9 ruff import ordering violations Frontend: - Social API module with typed endpoints (social.ts) - TanStack Query hooks with cache invalidation (useSocial.ts) - 5 UI components: PostCard, CommentThread, ReactionBar, FollowButton, ProfileCard - 4 pages: Feed, Post Detail, Profile, Follows - Query keys for social domain (socialKeys) Routes: - /social — Feed with post creation, Feed/All tabs - /social/[id] — Post detail with threaded comments - /social/profile/[id] — User profile with posts - /social/follows — Following/Followers lists Sidebar: - Social menu entry (icon: Users, order: 50, visible to all roles) - Follows child menu entry Risk: LOW — additive feature, no existing code modified Rollback: git revert <commit> + python manage.py migrate menus 0006
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
M13 Social Features — Complete Implementation
Features Added
Routes Added
/social/social/[id]/social/profile/[id]/social/followsAPI Endpoints
/api/v1/social/posts//api/v1/social/posts/{id}//api/v1/social/posts/feed//api/v1/social/comments//api/v1/social/reactions//api/v1/social/follows//api/v1/social/follows/toggle//api/v1/social/follows/following//api/v1/social/follows/followers//api/v1/social/profiles/{id}//api/v1/social/profiles/me/Database Migrations
0007_add_social_menu: Adds Social menu entry to sidebar navigationTest Results
Sidebar Navigation
Rollback Plan
git revert <commit>python manage.py migrate menus 0006Risk Level
LOW — Additive feature, no existing code modified
Follow-up Tasks