- Refactored QuoteItemsSortableDataTable to reduce lines from 593 to 88, maintaining API and re-exporting types.
- Introduced QuoteItemsAddActions for centralized row/article/block addition buttons.
- Created QuoteItemsEmptyState to handle empty states with title, description, icon, and actions.
- Separated components for table header, body, and drag overlay for better modularity.
- Implemented useQuoteItemsSortableTable hook to manage row selection, drag-and-drop functionality, and item manipulation.
- Added tests for the new hook to ensure functionality for duplication, deletion, and drag-and-drop operations.
- Updated documentation to reflect changes and improvements in the quote items table structure.
- Implement drag-and-drop functionality for chapters using the folder icon as the activator, improving accessibility and user experience.
- Refactor chapter deletion dialog to clearly separate options for keeping or deleting chapter contents, with appropriate translations and UI adjustments.
- Update empty state handling for quotes without items, providing clear actions to add content.
- Adjust translations for clarity and consistency across multiple languages.
- Remove unnecessary empty columns in the chapter details table, streamlining the layout.
- Enhance visual styling with borders and spacing adjustments for better chapter delineation.
- Add tests to cover new functionalities and ensure existing features remain intact.
- Adjusted drag handle alignment in QuoteChaptersDataTable for consistent width and positioning.
- Implemented height and opacity transitions in useChapterCollapse for smoother chapter collapsing.
- Updated QuoteItemsSortableTableRow to identify active rows with data attributes and apply consistent styling.
- Refined detail row selection to limit checkboxes to detail rows only, improving user experience.
- Enhanced visibility of controls on hover and focus for both chapter titles and detail rows.
- Improved spacing and alignment for chapter titles and associated controls, ensuring a cohesive layout.
- Added tests to validate new behaviors and interactions, ensuring functionality remains intact.
- 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.