Overview
A community bulletin board tab on the /community page where members can post updates and read posts from other hub members — a key differentiator of vibrant coworking communities.
Context
- Community page:
frontend/app/community/page.tsx (member directory from FE-09)
- Depends on BE-45 being implemented first
Tasks
Files to Modify / Create
frontend/app/community/page.tsx
- New:
frontend/components/community/CommunityFeed.tsx
- New:
frontend/lib/react-query/hooks/community/useGetCommunityFeed.ts
- New:
frontend/lib/react-query/hooks/community/useCreateCommunityPost.ts
Overview
A community bulletin board tab on the
/communitypage where members can post updates and read posts from other hub members — a key differentiator of vibrant coworking communities.Context
frontend/app/community/page.tsx(member directory from FE-09)Tasks
Feedtab to the/communitypage alongside the existingMembersdirectory tab2 hours ago), like count + like button (heart icon)Write a Postbutton at the top of the feed → textarea modal (max 1000 chars, char counter), submit callsPOST /community/postsPin/UnpinandDeleteaction icons on each postuseGetCommunityFeed,useCreateCommunityPost,useTogglePostLikeReact Query hooksFiles to Modify / Create
frontend/app/community/page.tsxfrontend/components/community/CommunityFeed.tsxfrontend/lib/react-query/hooks/community/useGetCommunityFeed.tsfrontend/lib/react-query/hooks/community/useCreateCommunityPost.ts