Commit Graph

4 Commits

Author SHA1 Message Date
bc34a073ad feat: implement MariaDB integration testing suite and related fixtures
- Updated `capitulos-esquema.md` to reflect the current state of models and integration testing setup.
- Added `jest.mariadb.config.js` for MariaDB specific test configurations.
- Introduced `mariadb.fixture.mock.ts` to handle isolated MariaDB connections for testing.
- Created integration tests for quote chapters in `quoteChapters.mariadb.test.ts` to validate business logic against MariaDB.
- Implemented `mariadbSafety.test.ts` to ensure safety checks and error handling during integration tests.
- Added `useChapterCollapse.ts` hook for managing chapter collapse animations in the client.
- Introduced `empty.tsx` components for consistent empty state UI across the application.
- Updated `jest.config.js` to ignore MariaDB test files in the standard test run.
- Enhanced `package.json` with a new script for running MariaDB tests.
2026-10-19 16:38:44 +02:00
f8d0979059 feat: enhance quote management with localized descriptions and catalog integration
- Updated QuoteDetailsCardEditor to display localized descriptions for articles.
- Modified QuoteEdit to exclude localized descriptions from the payload sent to the server.
- Implemented GetCatalogArticlesByIdsUseCase for fetching catalog articles by IDs.
- Enhanced ICatalogRepository with methods for retrieving articles by ID.
- Introduced CatalogArticle and CatalogArticleTranslation entities for better catalog representation.
- Added resolveLocalizedQuoteDescriptions service to resolve descriptions based on user language.
- Updated sales context to include catalog article lookup functionality.
- Refactored quote controllers and presenters to utilize localized descriptions.
- Added tests for ArticleIdentifier validation and new catalog entities.
- Created test configuration for isolated testing environments.
2026-10-07 18:30:41 +02:00
740f5fd238 . 2024-07-16 19:17:52 +02:00
af1eca6c30 . 2024-04-24 12:48:49 +02:00