Merged
Conversation
- Added new models for PostLike, PostComment, and PostRetweet to enhance interaction with posts. - Updated CommunicationBoard model to include relationships for likes, comments, and retweets. - Implemented API endpoints for creating, retrieving, updating, and deleting posts, as well as managing likes and comments. - Enhanced Community.vue to support new post creation, editing, and improved post display with comments and likes functionality. - Introduced routing for new and edit post views, ensuring authentication for these actions. These changes significantly improve the user experience by enabling interactive features for posts, enhancing community engagement within the application.
- Corrected multiple typos in backend/main.py, enhancing code clarity and readability. - Updated error handling in the get_post function to provide more informative logging and responses for missing posts and users. - Refactored image URL handling in the get_post and update_post functions to ensure consistent processing. - Enhanced the EditPost.vue component to include authorization headers for API requests, improving security during post management operations. These changes collectively enhance the robustness and user experience of the application.
- Updated CommunicationBoard model to store multiple image URLs as a JSON array, replacing the single image URL field. - Improved image handling in the backend, including enhanced error logging and consistent processing of images in get_post and update_post functions. - Refactored frontend components (Community.vue, EditPost.vue, NewPost.vue) to support multiple image uploads, including image previews and removal functionality. - Enhanced user experience with improved loading indicators and touch handling for image galleries in Community.vue. - Corrected typos and improved comments across multiple files for better code clarity. These changes collectively enhance the image management capabilities and overall user experience in the application.
…s in post management - Corrected typos in backend/main.py, improving code clarity and readability. - Enhanced error handling in the update_post and delete_post functions for better logging and user feedback. - Implemented new API endpoints for liking and commenting on posts, allowing users to interact more effectively. - Updated Community.vue and EditPost.vue to reflect changes in post interaction, including dynamic like status and comment retrieval. - Improved logging for image handling and post updates, ensuring better traceability of actions. These changes collectively enhance the functionality and user experience of the post management system.
- Added a new API endpoint for creating posts, allowing users to submit titles, content, and images. - Enhanced error handling for post creation, including validation for required fields and improved logging for image uploads. - Corrected multiple typos in backend/main.py to improve code clarity and readability. - Updated vue.config.js to ensure proper API proxy configuration for frontend communication. These changes collectively enhance the post management functionality and improve code quality.
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.
These changes collectively enhance the post management functionality and improve code quality.