From 60396356a1de341ba751edaa6b2bae724e4fe615 Mon Sep 17 00:00:00 2001 From: kent Date: Mon, 29 Dec 2025 21:04:47 +0900 Subject: [PATCH] =?UTF-8?q?docs:=20=ED=94=84=EB=A1=9C=ED=95=84=20=EC=9D=B4?= =?UTF-8?q?=EB=AF=B8=EC=A7=80=20=EC=97=85=EB=A1=9C=EB=93=9C=20API=20?= =?UTF-8?q?=EC=97=B0=EB=8F=99=20=EC=9E=91=EC=97=85=20=EA=B8=B0=EB=A1=9D=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - react-mock-remaining-tasks.md 변경 이력에 2025-12-29 작업 추가 - API, React, 심볼릭 링크, 환경변수 정리 내용 기록 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- plans/react-mock-remaining-tasks.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plans/react-mock-remaining-tasks.md b/plans/react-mock-remaining-tasks.md index 834ee11..fe80c8d 100644 --- a/plans/react-mock-remaining-tasks.md +++ b/plans/react-mock-remaining-tasks.md @@ -484,6 +484,7 @@ react/src/components/ | 날짜 | 작업 | 상세 내용 | |------|------|----------| +| 2025-12-29 | 검사 테이블 통합 및 출하 대시보드 수정 | **검사 시스템 통합**: 레거시 검사 모델 삭제 (MaterialInspection, MaterialInspectionItem, MaterialReceipt) → 통합 검사 모델 추가 (Inspection.php - IQC/PQC/FQC), 품목 입고 모델 추가 (ItemReceipt.php). **출하 대시보드**: ShipmentService stats() 프론트엔드 호환 필드 추가 (today_shipment_count, scheduled_count, shipping_count, urgent_count). 더미 데이터 tenant_id = 287로 수정 | | 2025-12-29 | api 프로젝트 게시판 메뉴 자동 연동 | 테넌트 게시판 생성/수정/삭제 시 메뉴 자동 연동. `MenuService::createMenuForBoard()`, `updateMenuForBoard()`, `deleteMenuForBoard()` 추가. `BoardService`에서 호출. 부모 메뉴 `/board` 하위 배치 | | 2025-12-29 | K-4 문의 댓글 API 연동 완료 | 댓글 CRUD API 연동 (getComments, createComment, updateComment, deleteComment). BoardComment 모델 replies() 추가, PostService user eager loading 추가, user.id localStorage 저장으로 본인 글 수정/삭제 버튼 표시 | | 2025-12-29 | Phase J 게시판 시스템 React 연동 완료 | J-1~J-3 완료: `board/actions.ts` 생성 (getPosts, getPost, createPost, updatePost, deletePost). BoardList, BoardDetail, BoardForm 모두 API 연동. 라우트 변경: `/board/[id]` → `/board/[boardCode]/[postId]`. Toast sonner 통일, MOCK_BOARDS 완전 제거 | @@ -492,4 +493,5 @@ react/src/components/ | 2025-12-27 | 게시판 API 아키텍처 개선 | 시스템/테넌트 게시판 엔드포인트 분리 (`/system-boards/{code}` vs `/boards/{code}`), ID 기반에서 code 기반 URL로 통일, 메뉴 자동 생성 기능 추가 예정 | | 2025-12-27 | 종합분석 승인/반려 버그 수정 | `ComprehensiveAnalysisService::getTodayIssue()` - 현재 사용자가 결재자인 문서만 표시하도록 수정. 이전에는 테넌트의 모든 대기 결재가 표시되어 "결재 순서가 아닙니다" 오류 발생 | | 2025-12-27 | 테스트 데이터 수정 | `ComprehensiveAnalysisSeeder` - User 33 (홍킬동) 기준으로 변경 | +| 2025-12-29 | 프로필 이미지 업로드 API 연동 | **API**: `TenantUserProfileService::updateMe()` 수정 - `profile_photo_path`, `display_name` 고정 필드 직접 처리. **React**: `uploadProfileImage()` 액션 추가, `handleImageUpload()` API 연동. **URL 수정**: `types.ts`에서 `/storage/tenants/{path}` 경로 사용. **심볼릭 링크**: `storage/app/public/tenants -> ../tenants` 추가. **환경변수 정리**: 65개 파일에서 `NEXT_PUBLIC_API_URL` → `API_URL` 통일 | | 2025-12-27 | 테스트 환경 정보 추가 | 테넌트/사용자 정보, 로그인 정보, 주의사항 추가 | \ No newline at end of file