Conversation
Hiikonics
commented
Jul 20, 2025
Collaborator
- Update CSS for FXML Style Requirements
- Matching Figma Design to FXML
directory
…iles and update XML data structure - Removed all posts from PostData.xml to reset data. - Updated uploadtime format in PostDataDummy.xml for consistency. - Modified community.fxml to add event handling for profile button and adjusted layout constraints. - Deleted editProfile.fxml and myRecipe.fxml as they are no longer needed. - Updated profile.fxml to fix layout issues and add event handling for profile image. - Added RecipeItemController.java to manage recipe item interactions. - Created editAccount.fxml for user account editing functionality. - Introduced recipeItem.fxml for displaying individual recipe items with proper layout.
- Upgraded Maven dependencies: maven-compiler-plugin to 3.11.0 and maven-surefire-plugin to 3.0.0-M9. - Introduced FileSystemManager for improved file handling, including directory initialization and file copying. - Refactored image loading in CommunityController to utilize FileSystemManager for resolving image paths. - Updated CreatePostController to copy images to user-specific directories using FileSystemManager. - Enhanced EditProfileController to update user profile images with new file management logic. - Removed obsolete XML files (PostData.xml, UserData.xml) and replaced with a new directory structure. - Updated UserDataDummy.xml to reflect new user data structure. - Added integration tests for data repositories and file system access to ensure functionality. - Improved error handling and logging in file operations.
…creation and dependency management
- Updated CSS styles for post creation and interaction buttons to improve UI consistency. - Modified FXML files for community, createPost, postItem, and recipeItem views to align with new styles and structure. - Implemented new DeleteDialogController and EditPostController for handling post deletion and editing functionalities. - Added XML data structure for dummy post data to support testing and UI rendering. - Enhanced Post model to include comment count and liked state, with corresponding unit tests to validate functionality. - Created tests for PostDataRepository to ensure proper saving and loading of post liked states. - Added icons for like and photo functionalities to improve user experience.
…s into ImageUtils for better code reuse
Complete CRUD for Post Management and Fix multiple bugs
Bumps [com.thoughtworks.xstream:xstream](https://github.com/x-stream/xstream) from 1.4.20 to 1.4.21. - [Release notes](https://github.com/x-stream/xstream/releases) - [Commits](https://github.com/x-stream/xstream/commits) --- updated-dependencies: - dependency-name: com.thoughtworks.xstream:xstream dependency-version: 1.4.21 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
…s.xstream-xstream-1.4.21 Bump com.thoughtworks.xstream:xstream from 1.4.20 to 1.4.21
…mproved error handling and consistency across application
- Modified navbar.fxml to change searchbar float mode to DISABLED and added custom styling. - Enhanced profile button in navbar with adjusted dimensions and added a profile image. - Introduced PostController.java to manage post-related functionalities. - Added new icons for AI checker, achievements, community, game, mission, and wiki. - Created Post.fxml to define the layout for displaying posts, including user profile, title, description, and nutrition facts. - Updated main.fxml to include a sidebar with navigation buttons for different sections of the application.
- Updated CreatePostController to format text with vertical lines instead of commas for ingredients and directions. - Enhanced MainController to manage navigation to the Post view and maintain the current post state. - Implemented PostController to display post details, including ingredients and directions formatted with vertical lines. - Added click handling in PostItemController and RecipeItemController to navigate to the full post view. - Updated ProfileController to ensure RecipeItemControllers have access to the MainController for navigation. - Modified XML data in PostDataDummy.xml to reflect new formatting for ingredients and directions. - Improved FileSystemManager to prioritize resource path handling. - Enhanced CSS styles for recipe text formatting. - Updated Post.fxml to use MFXScrollPane for better layout management and added new UI elements for post interaction.
…ntegration - Added Nutrition model to store nutrition facts data. - Introduced NutritionParser utility for parsing nutrition XML from AI responses. - Created PopupDialogController for displaying warning and success messages. - Developed ProcessingDialogController for showing processing status during post creation. - Updated PostItemController to handle like and comment button clicks publicly. - Enhanced PostDataRepository to support nutrition data serialization. - Added new styles in CSS for nutrition facts and verdicts. - Created FXML views for popup and processing dialogs. - Implemented unit tests for NutritionParser to ensure accurate parsing and fallback mechanisms.
…I updates such as doughnut chart
Update the Achievement model and controller to support new achievement features, including XML data handling for achievements.
update FXML design to be more user friendly looking
Introduce a chatbot for user interaction and enhance the application with a nutrition analysis feature, including improved UI elements and error handling. Refactor logging for consistency and update achievement models and controllers. Fix minor bugs and improve overall user experience.
… handling - Added Nutrition model to encapsulate nutrition facts and calculations for ingredients. - Created Post model to represent community posts with various attributes including nutrition data. - Implemented User model for user account management with equality and hash code methods. - Developed AchievementDataRepository and LocalUserDataRepository for managing post and user data respectively. - Updated PostDataRepository and UserDataRepository to reflect new model structure. - Added XML data files for default user accounts and dummy post data. - Enhanced session management and utility classes to support new models. - Created FXML views for Recipe Manager and User Manager with appropriate styling. - Updated tests to align with new model structure and ensure functionality.
- Implemented a new FXML file for the settings view, allowing users to input their ChatGPT secret key. - Created a test class for SettingController to validate configuration creation, serialization, and file handling. - Added unit tests for ChatHistoryManager to ensure proper session management and message handling.
…tbot #19 Add admin panel and data models for post management
ZanDev32
approved these changes
Jul 21, 2025
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.