Conversation
- 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
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.
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.
No description provided.