Skip to content

feat: Implement admin management for categories, publishers, authors, books, and sales, including new UI, API endpoints, client interfaces, and integration tests.#26

Merged
aalmada merged 26 commits intomainfrom
feature/management_dialogs
Feb 4, 2026
Merged

Conversation

@aalmada
Copy link
Owner

@aalmada aalmada commented Jan 29, 2026

Pull Request Template

Description

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Code refactoring
  • Performance improvement
  • Test addition/update

Related Issues

Fixes #

Changes Made

Testing

  • Unit tests pass (dotnet test)
  • Build succeeds (dotnet build)
  • Code formatting is correct (dotnet format --verify-no-changes)
  • No new analyzer warnings
  • Manual testing completed

Checklist

  • My code follows the project's coding standards
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Screenshots (if applicable)

Additional Notes

… books, and sales, including new UI, API endpoints, client interfaces, and integration tests.
…dmin-specific DTOs and endpoints for improved management.
…ation and improve test reliability for eventual consistency.
…HeaderHandler` and removing explicit header parameters from client endpoints.
…on and introduce a dedicated favorite books endpoint interface.
… book creation endpoint to return the created DTO.
…and add Accept-Language headers to author and category endpoints.
… `Refit` clients for improved type safety and maintainability.
- ShoppingCartTests: Combined invalid quantity tests using [Arguments]
- BookValidationTests: Combined validation tests using [Arguments]
- Improved exception testing with TUnit's .Throws<>() pattern
- Added soft delete and restore operations to ManagementIntegrationTests
- Simplified verification since AuthorDto doesn't expose IsDeleted property
- PriceFilterRegressionTests: Use TestConstants for retry counts
- BookFilterRegressionTests: Use TestConstants for retry counts and delays
- CategoryOrderingTests: Use TestConstants.DefaultProjectionDelay
- ShoppingCartTests: Use .IsEmpty() instead of .Count().IsEqualTo(0)
- CategoryOrderingTests: Use .IsEquivalentTo() instead of manual loop assertions
- CorrelationTests: Grouped related header and database assertions
- Improved failure reporting by showing all assertion failures at once
- Ran dotnet format for code cleanup
- Added comprehensive XML docs to fake data generators
- Documented GenerateFakePassword, GenerateFakeEmail
- Documented GenerateFakeBookRequest, GenerateFakeAuthorRequest
- Documented GenerateFakeCategoryRequest, GenerateFakePublisherRequest
- Documented GetAuthenticatedClientAsync<T>
- Improves developer experience and maintainability
…new API endpoints, services, and a language selector UI component.
…ueChanged parameters and ensure unique supported languages.
@github-actions
Copy link

github-actions bot commented Feb 4, 2026

Code Coverage

Package Line Rate Branch Rate Health
BookStore.Shared 19% 38%
BookStore.Shared 18% 10%
BookStore.ApiService 11% 14%
JasperFx 0% 0%
Summary 12% (1361 / 21664) 22% (604 / 9805)

@aalmada aalmada merged commit 8f30e89 into main Feb 4, 2026
4 checks passed
@aalmada aalmada deleted the feature/management_dialogs branch February 4, 2026 09:01
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.

1 participant