refactor(frontend): 공통 모듈 분리 + 탭 단위 패키지 구조 전환 #21
불러오는 중...
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/refactor-phase1-common-module"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 1+2 리팩토링
- 11개 탭 디렉토리 생성: tabs/{prediction,hns,rescue,weather,incidents,aerial,board,reports,assets,scat,admin}/ - 51개 컴포넌트를 역할 기반(views/, analysis/, layout/) → 탭 기반(tabs/) 구조로 이동 - weather 탭에 전용 hooks/, services/ 포함 - incidents 탭에 전용 services/ 포함 - 공통 지도 컴포넌트(MapView, BacktrackReplay)를 common/components/map/으로 이동 - 각 탭에 index.ts 생성하여 View 컴포넌트 re-export - App.tsx import를 @tabs/ alias 사용으로 변경 - 전체 import 경로 수정 (탭 내부 상대경로, 외부 @common/ alias) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>