Skip to content

Added Newsfeed, likes and comments functionality to huddle posts#383

Merged
Dharp02 merged 15 commits into
mainfrom
newsfeed
Jun 20, 2026
Merged

Added Newsfeed, likes and comments functionality to huddle posts#383
Dharp02 merged 15 commits into
mainfrom
newsfeed

Conversation

@Dharp02

@Dharp02 Dharp02 commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Dharp02 added 12 commits June 15, 2026 11:10
- Created PostCard component in src/features/huddle/PostCard/index.tsx
- Displays post author, timestamp, content, and attachments
- Includes like/comment count actions
- Uses @mieweb/ui components (Card, Avatar, Button, Badge)
- Resolves "Failed to resolve import" error blocking Huddle page
- Add like toggle functionality for huddle posts
- Implement comment system with mentions support
- Add migration for likes and commentCount fields
- Create HuddleComment model with Mongoose
- Add controller methods for toggleLike, addComment, getComments, deleteComment
- Add REST API routes for likes and comments
- Implement real-time comment updates via WebSocket
- Add HuddleComments UI component with comment list and composer
- Update PostCard to show like/comment counts and toggle UI
- Add API client methods for likes and comments
- Update AppLayout with comment event listener
- Add framer-motion dependency for UI animations
@Dharp02 Dharp02 self-assigned this Jun 19, 2026
Dharp02 added 3 commits June 19, 2026 15:25
Resolved conflicts:
- backend/src/models/index.ts: Include both HuddlePost/HuddleComment and TeamJoinRequest imports
- backend/src/server.ts: Merge bodyLimit and trustProxy Fastify options
- package.json: Include all dependencies from both branches (@capacitor/share, @codemirror packages, katex, mermaid, date-fns)
- src/ui/AppLayout.tsx: Handle both huddle notifications and team join request notifications
- package-lock.json: Regenerated via npm install
Applied automatic formatting to resolve CI failures:
- Backend huddle files (controller, routes, services)
- Frontend huddle components
- Documentation files
- API integration files
Fixes TS2339 error where teamApi.getTeams() returns an object with teams property,
not a Team array directly. Using getTeamsOnly() which returns Team[] directly.
@Dharp02 Dharp02 changed the title Added likes and comments functionality to huddle posts Added Newsfeed, likes and comments functionality to huddle posts Jun 19, 2026
@Dharp02 Dharp02 merged commit 86d5a60 into main Jun 20, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant