From 0a9a5f433eab208cb8bf18c2c38e22d790d0ae97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=EB=82=9C=EA=B2=BD?= Date: Fri, 17 Apr 2026 07:34:41 +0900 Subject: [PATCH 1/2] =?UTF-8?q?docs:=20MPA=20=EC=BB=B4=ED=8F=AC=EB=84=8C?= =?UTF-8?q?=ED=8A=B8=20=EA=B5=AC=EC=A1=B0=20=EB=B0=98=EC=98=81=20(tabs/=20?= =?UTF-8?q?=E2=86=92=20components/=20=EA=B2=BD=EB=A1=9C=20=EC=A0=95?= =?UTF-8?q?=EC=A0=95)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/COMMON-GUIDE.md | 4 ++-- docs/CRUD-API-GUIDE.md | 2 +- docs/DEVELOPMENT-GUIDE.md | 4 ++-- docs/INSTALL_GUIDE.md | 2 +- docs/README.md | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/COMMON-GUIDE.md b/docs/COMMON-GUIDE.md index 660504f..216383b 100644 --- a/docs/COMMON-GUIDE.md +++ b/docs/COMMON-GUIDE.md @@ -375,7 +375,7 @@ PUT, DELETE, PATCH 등 기타 메서드는 사용하지 않는다. ### 탭별 API 서비스 패턴 -각 탭은 `tabs/{탭명}/services/{탭명}Api.ts`에 API 함수를 정의한다. +각 탭은 `components/{탭명}/services/{탭명}Api.ts`에 API 함수를 정의한다. ```typescript // frontend/src/components/board/services/boardApi.ts @@ -1406,7 +1406,7 @@ frontend/src/ | +-- cn.ts className 조합 유틸리티 | +-- sanitize.ts XSS 방지/입력 살균 | +-- coordinates.ts 좌표 변환 유틸리티 -+-- tabs/ 탭별 패키지 (11개) ++-- components/ 탭별 패키지 (11개, MPA 컴포넌트 구조) | +-- {탭명}/ | +-- components/ 탭 뷰 컴포넌트 | +-- services/{탭명}Api.ts 탭별 API 서비스 diff --git a/docs/CRUD-API-GUIDE.md b/docs/CRUD-API-GUIDE.md index 050d50e..6f17bff 100644 --- a/docs/CRUD-API-GUIDE.md +++ b/docs/CRUD-API-GUIDE.md @@ -21,7 +21,7 @@ DB 설계부터 백엔드 구현, 프론트엔드 연동까지 End-to-End 패턴 ``` [Frontend] [Backend] [Database] -tabs/{탭}/services/{tab}Api.ts src/{domain}/{domain}Router.ts PostgreSQL 16 +components/{탭}/services/{tab}Api.ts src/{domain}/{domain}Router.ts PostgreSQL 16 Axios (withCredentials: true) requireAuth -> requirePermission --HTTP--> src/{domain}/{domain}Service.ts wingPool / authPool wingPool.query(SQL, params) --SQL--> diff --git a/docs/DEVELOPMENT-GUIDE.md b/docs/DEVELOPMENT-GUIDE.md index ff14f54..c3ef052 100644 --- a/docs/DEVELOPMENT-GUIDE.md +++ b/docs/DEVELOPMENT-GUIDE.md @@ -242,7 +242,7 @@ frontend/src/ │ ├── store/ authStore (Zustand), menuStore │ ├── types/ backtrack, boomLine, hns, navigation │ └── utils/ coordinates, geo, sanitize -└── tabs/ 탭 단위 패키지 (11개) +└── components/ 탭 단위 패키지 (11개, MPA 컴포넌트 구조) ├── prediction/ 확산 예측 ├── hns/ HNS 분석 ├── rescue/ 구조 시나리오 @@ -259,7 +259,7 @@ frontend/src/ **각 탭 내부 구조 패턴:** ``` -tabs/{탭명}/ +components/{탭명}/ ├── components/ UI 컴포넌트 │ ├── {Tab}View.tsx 메인 뷰 (App.tsx에서 라우팅) │ ├── {Tab}LeftPanel.tsx diff --git a/docs/INSTALL_GUIDE.md b/docs/INSTALL_GUIDE.md index 243e765..80c71b1 100755 --- a/docs/INSTALL_GUIDE.md +++ b/docs/INSTALL_GUIDE.md @@ -75,7 +75,7 @@ wing/ │ │ │ ├── store/ authStore, menuStore (Zustand) │ │ │ ├── types/ backtrack, boomLine, hns, navigation │ │ │ └── utils/ coordinates, geo, sanitize -│ │ └── tabs/ 탭 단위 패키지 (11개) +│ │ └── components/ 탭 단위 패키지 (11개, MPA 구조) │ │ ├── prediction/ 확산 예측 │ │ ├── hns/ HNS 분석 │ │ ├── rescue/ 구조 시나리오 diff --git a/docs/README.md b/docs/README.md index 79fffc3..503036a 100755 --- a/docs/README.md +++ b/docs/README.md @@ -66,7 +66,7 @@ wing/ │ │ ├── utils/ cn, coordinates, geo, sanitize │ │ ├── styles/ base.css, components.css, wing.css (@layer) │ │ └── constants/ featureIds.ts (FEATURE_ID 상수 체계) -│ └── tabs/ @components/ alias (11개 탭) +│ └── components/ @components/ alias (11개 탭, MPA 구조) │ ├── prediction/ 유류 확산 예측 │ ├── hns/ HNS 분석 │ ├── rescue/ 구조 시나리오 -- 2.45.2 From 749453b9d1c4ce0d22f0fd0e1a4cab3f76198944 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=EB=82=9C=EA=B2=BD?= Date: Fri, 17 Apr 2026 07:34:53 +0900 Subject: [PATCH 2/2] =?UTF-8?q?docs:=20=EB=A6=B4=EB=A6=AC=EC=A6=88=20?= =?UTF-8?q?=EB=85=B8=ED=8A=B8=20=EC=97=85=EB=8D=B0=EC=9D=B4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/RELEASE-NOTES.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/RELEASE-NOTES.md b/docs/RELEASE-NOTES.md index a557136..b17998e 100644 --- a/docs/RELEASE-NOTES.md +++ b/docs/RELEASE-NOTES.md @@ -4,6 +4,9 @@ ## [Unreleased] +### 문서 +- MPA 컴포넌트 구조 반영: 개발 가이드·공통 가이드·CRUD 가이드·설치 가이드·docs/README의 `tabs/` 경로 예시를 `components/`로 정정 + ## [2026-04-17] ### 문서 -- 2.45.2