Frontend de erp-construccion - Workspace V2
Go to file
Adrian Flores Cortes 765a639004 refactor(frontend): Extract common components and types
- Create src/types/ with organized type files:
  - api.types.ts, auth.types.ts, construction.types.ts
  - estimates.types.ts, hse.types.ts, common.types.ts

- Create src/utils/ with utilities:
  - formatters.ts (formatCurrency, formatDate, etc.)
  - validators.ts (isValidEmail, isValidRFC, etc.)
  - constants.ts (status options, color maps)

- Create src/components/common/ with reusable components:
  - DataTable, Modal, ConfirmDialog
  - FormField (TextInput, SelectField, TextareaField)
  - StatusBadge, SearchInput, PageHeader
  - ActionButtons, LoadingSpinner, EmptyState

- Refactor pages to use common components:
  - FraccionamientosPage: 385 -> 285 lines
  - PresupuestosPage: 412 -> 297 lines
  - IncidentesPage: 741 -> 253 lines

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 09:02:57 -06:00
mobile Migración desde erp-construccion/frontend - Estándar multi-repo v2 2026-01-16 08:11:18 -06:00
web refactor(frontend): Extract common components and types 2026-02-03 09:02:57 -06:00
.gitignore chore: Add .gitignore for clean repository 2026-01-20 07:31:38 -06:00
README.md Initial commit 2026-01-16 14:04:09 +00:00

erp-construccion-frontend-v2

Frontend de erp-construccion - Workspace V2