Skip to content

Update FXML Home 1.0 & CSS#18

Merged
ZanDev32 merged 54 commits into
homefrom
main
Jul 21, 2025
Merged

Update FXML Home 1.0 & CSS#18
ZanDev32 merged 54 commits into
homefrom
main

Conversation

@Hiikonics

Copy link
Copy Markdown
Collaborator
  • Update CSS for FXML Style Requirements
  • Matching Figma Design to FXML

ZanDev32 and others added 30 commits July 7, 2025 19:31
…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.
- 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.
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
ZanDev32 and others added 24 commits July 20, 2025 01:24
- 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.
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
ZanDev32 merged commit b72cc7f into home Jul 21, 2025
2 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.

2 participants