- 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. |
||
|---|---|---|
| .vscode | ||
| client | ||
| dist/client | ||
| doc | ||
| e2e | ||
| server | ||
| shared | ||
| .env.e2e.example | ||
| .gitignore | ||
| .prettierrc | ||
| AGENTS.md | ||
| Caddyfile | ||
| docker-compose.e2e.yml | ||
| docker-compose.yml | ||
| Dockerfile.client.bak | ||
| Dockerfile.server | ||
| package.json | ||
| playwright.config.ts | ||
| README.md | ||
| stack.env | ||
| tsconfig.json | ||
| yarn.lock | ||
Para publicar en producción
-
Construir el cliente:
cd client pnpm run build
-
Subir al repositorio todo, incluido el cliente generado en /dist/client con las imágenes públicas en /dist/client/img
-
Conectarse por SSH a presupuestos.uecko.com
-
Ejecutar:
cd /opt/presupuestador-uecko/ git pull yarn run docker:rebuild yarn run docker:restart