260322:1648 Correct Coresspondence / Doing RFA / Correct CI
CI Pipeline / build (push) Failing after 12m41s
Build and Deploy / deploy (push) Failing after 2m44s

This commit is contained in:
admin
2026-03-22 16:48:12 +07:00
parent e5deedb42e
commit 11984bfa29
683 changed files with 105251 additions and 29068 deletions
@@ -15,8 +15,8 @@ Review frontend integration status and fix minor issues in Correspondences, RFAs
Verified that all 3 core modules are properly integrated with Backend APIs:
| Module | Service | Hook | API Endpoint | Status |
| ----------------- | ----------------------------- | ----------------------- | -------------------- | ---------- |
| Module | Service | Hook | API Endpoint | Status |
| ----------------- | ----------------------------- | ----------------------- | -------------------- | ----------- |
| Correspondences | `correspondence.service.ts` | `use-correspondence.ts` | `/correspondences` | ✅ Real API |
| RFAs | `rfa.service.ts` | `use-rfa.ts` | `/rfas` | ✅ Real API |
| Contract Drawings | `contract-drawing.service.ts` | `use-drawing.ts` | `/drawings/contract` | ✅ Real API |
@@ -25,6 +25,7 @@ Verified that all 3 core modules are properly integrated with Backend APIs:
### 2. Minor Issues Fixed ✅
#### 2.1 `components/drawings/list.tsx`
- **Issue:** Hardcoded `projectId: 1`
- **Fix:** Added optional `projectId` prop to `DrawingListProps` interface
@@ -41,6 +42,7 @@ interface DrawingListProps {
```
#### 2.2 `hooks/use-drawing.ts`
- **Issue:** `any` types in multiple places
- **Fix:** Added proper types
@@ -59,6 +61,7 @@ interface DrawingListProps {
```
#### 2.3 `hooks/use-correspondence.ts`
- **Issue:** `any` types and missing mutations
- **Fix:**
- Added `ApiError` type for error handling