- 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. |
||
|---|---|---|
| .. | ||
| app | ||
| assets | ||
| components | ||
| lib | ||
| locales | ||
| ui | ||
| App.tsx | ||
| global.css | ||
| main.tsx | ||
| Routes.tsx | ||
| setupTests.js | ||
| spanish-joi-messages.json | ||
| vite-env.d.ts | ||