Fixes:
- Add teal, cyan, slate colors to StatusColor type and StatusBadge
- Create StatsCard component with color prop for backward compatibility
- Add label/required props to FormGroup component
- Fix Pagination to accept both currentPage and page props
- Fix unused imports in quality and contracts pages
- Add missing Plus, Trash2, User icon imports in contracts pages
- Remove duplicate formatDate function in ContratoDetailPage
New components:
- StatsCard, StatsCardGrid for statistics display
Build: Success (npm run build passes)
Dev: Success (npm run dev starts on port 3020)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Components added:
- G-003: ErrorBoundary with withErrorBoundary HOC and PageErrorFallback
- G-010: Pagination with SimplePagination variant
- G-011: Dropdown system (Dropdown, DropdownItem, Menu, etc.)
- G-012: FileUpload with drag & drop and preview
- G-013: DatePicker with DateRangePicker
Hooks added:
- G-006: useDebounce, useDebouncedCallback, useDebounceWithImmediate
- G-007: useLocalStorage, useSessionStorage
Services added:
- G-004: API Client with request/response interceptors, token refresh
Tests: 49 passing (14 new tests for utility hooks)
TypeScript: All types validated
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add PresupuestoDetailPage with partidas table
- Add version history sidebar
- Add partida CRUD operations
- Add approval/rejection workflow
- Add PDF/Excel export buttons
- Enhance presupuestos.api.ts with version management APIs
- Add 8 new hooks in usePresupuestos.ts
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sprint 2 - S2-T01 & S2-T02
New features:
- ProgramaObraPage: Work schedule management with version control
- Hierarchical activities (WBS)
- Simple Gantt visualization
- S-Curve chart (planned vs actual)
- ControlAvancePage: Progress control dashboard
- KPI cards (SPI, CPI, variance)
- Progress by concept table
- Progress by lot grid view
- Weekly progress chart
- Pending approvals summary
New API services:
- programa-obra.api.ts with full CRUD
- 18 new React Query hooks for programa operations
Navigation: Added Control and Programa items to sidebar
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sprint 1 - S1-T03: Pagina de Catalogo de Obras
New features:
- Avances de Obra page: work progress tracking with workflow
(pending -> captured -> reviewed -> approved/rejected)
- Bitacora de Obra page: daily work log with timeline view
- Progress API services (avances-obra.api.ts, bitacora-obra.api.ts)
- React Query hooks (useProgress.ts) with 18 hooks total
- Navigation section "Control de Obra" in sidebar
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>