Implement forum feature with recommendations#42
Draft
ruby0322 wants to merge 5 commits into
Draft
Conversation
Co-authored-by: ruby0322 <ruby0322@ntu.im>
|
Cursor Agent can help with this pull request. Just |
Contributor
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Co-authored-by: ruby0322 <ruby0322@ntu.im>
- Updated the API to support pagination for threads with `page` and `limit` parameters. - Added logic to compute likes and comments count for threads and comments. - Improved the UI to display loading states and skeletons while fetching data. - Introduced optimistic UI updates for thread creation and liking functionality. - Refactored thread and comment components for better user experience and performance.
- Updated the thread API and related components to handle string IDs instead of numbers for thread and comment identifiers. - Adjusted data structures and logic in the API to ensure compatibility with the new ID format. - Enhanced UI components to support the updated data types, improving overall consistency and performance.
…dance - Changed the placeholder text in the CommentComposer to encourage users to share their thoughts and suggestions. - Updated the placeholder in the NewThreadForm to prompt users to provide feedback, ask questions, or discuss ideas with the community.
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.
Add a mock forum feature with basic functionalities (post, comment, like, views, recommendation) and integrate it into the app header.