Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chess update game moves opening #151

Merged
merged 21 commits into from
Jan 23, 2025
Merged

Conversation

MichiBaum
Copy link
Owner

No description provided.

Introduce new entities and services for chess engines, openings, and evaluations. This includes database migrations, repository interfaces, REST APIs, and hierarchical data handling for opening moves. Tests are added for chess engine endpoints, and obsolete AccountServiceIT tests are commented out.
Introduce engine management features, including REST endpoints for creating, updating, and fetching chess engines, along with corresponding Angular frontend components and routing. Removed unused methods and refactored tests in `PersonService` and other areas to streamline functionality and improve code readability.
Introduce components, services, and models to manage chess openings, including viewing, selecting, and updating them in the UI. Update routes, navigation, and backend integration for seamless functionality. Adjust `.editorconfig` spacing settings to align with project standards.
Switched `indent_style` from tabs to spaces with a size of 4 in the `.editorconfig` file. This change ensures consistency across the project's codebase.
Unused imports were cleaned up across multiple files to improve readability and reduce clutter. Code alignment was adjusted to maintain consistent formatting, enhancing overall code quality.
Introduced hierarchical move evaluations for chess openings with support for multiple engines. Updated backend services, repositories, and APIs to handle nested move hierarchies and evaluations. Modified frontend to display openings and integrate evaluation data dynamically.
Introduce the chess move tree component for visualizing chess openings and their moves. Include API and backend changes to support hierarchical move data, along with UI updates for navigation and interactions.
Introduced reusable components for creating and managing chess openings and moves: `ChessOpeningForm`, `ChessOpeningMoveForm`, and their dialog counterparts. Updated the chess move tree to support dialog integration for adding moves and openings, enhancing modularity and usability.
Enhance the chess application to include the ability to create and save chess moves and openings. This includes updates to the backend API, frontend forms, and components to handle new fields and actions, along with improved UI interactions for hierarchical move management.
Replaced static menu items with a computed menu to dynamically handle visibility based on selected moves and admin permissions. Refactored to inject the PermissionService, improving maintainability and permission checks. Adjusted UI for better responsiveness by wrapping the organization chart in a scrollable container.
Refactored code to move domain entities and repositories into the database package while updating corresponding imports across the project. This aligns the structure with new package conventions for better organization and maintainability.
Introduce the ChessOpeningActions component to handle chess opening actions such as adding moves and openings. Refactor ChessMoveTree and ChessOpening components to integrate this functionality, improving modularity and permissions handling.
Introduced a configurable depth parameter for move trees to limit recursion in the chess service and UI components. Refactored several UI elements with cleaner layouts and improved container alignment for better responsiveness and readability.
Added components and dialogs for evaluating chess opening moves, including corresponding backend API endpoints for updating and deleting moves. Refactored existing move tree logic to support evaluation features and adjusted chess navigation menu to integrate new functionalities.
Upgraded MockK dependency in `pom.xml` from version 1.13.14 to 1.13.16. This ensures access to the latest features and bug fixes provided by the library.
Introduced a new component to display starting chess openings using a timeline format. Updated translations, navigation menu, and chess module structure to integrate the feature seamlessly. Replaced chess queen icon with chess king for improved branding consistency.
Replaced `ChessOpeningsComponent` with `ChessOpeningMobileComponent` for better mobile support. Adjusted routing to dynamically load the mobile or desktop component based on screen width. Added a warning message for unavailable mobile chess openings.
Introduced a 'deleted' flag in both 'opening' and 'opening_move' entities to enable soft deletions. Updated related repositories, services, and APIs to respect this new field. Enhanced the UI to support delete operations and trigger reloads upon deletions.
Updated form controls to use `ngModel` for engine selection and added depth/evaluation fields with validation. Improved dialog to support multiple evaluations via iteration with `*ngFor`. Included new button actions (save, clear, delete) and refactored component structure for better readability and maintainability.
@MichiBaum MichiBaum self-assigned this Jan 23, 2025
@MichiBaum MichiBaum added dependencies Pull requests that update a dependency file website chess-service labels Jan 23, 2025
@MichiBaum MichiBaum merged commit ab629e2 into develop Jan 23, 2025
2 checks passed
@MichiBaum MichiBaum deleted the chess-update-game-moves-opening branch January 23, 2025 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chess-service dependencies Pull requests that update a dependency file website
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant