From c39594ca14ed26eca3e5314c0921885ede9cb576 Mon Sep 17 00:00:00 2001 From: "jeonghyo.k" Date: Mon, 20 Apr 2026 16:42:27 +0900 Subject: [PATCH 1/2] =?UTF-8?q?feat(hns):=20HNS=20=EB=B6=84=EC=84=9D=20?= =?UTF-8?q?=EB=B7=B0=20UI=20=EA=B0=9C=EC=84=A0=20=E2=80=94=20=EC=A7=80?= =?UTF-8?q?=EB=8F=84=20=EC=BB=A8=ED=8A=B8=EB=A1=A4=20=EC=9C=84=EC=B9=98=20?= =?UTF-8?q?=EC=A1=B0=EC=A0=95=20=EB=B0=8F=20=EB=B6=84=EC=84=9D=20=EB=AA=A8?= =?UTF-8?q?=EB=93=9C=20=EC=98=A4=EB=B2=84=EB=A0=88=EC=9D=B4=20=EC=A1=B0?= =?UTF-8?q?=EA=B1=B4=EB=B6=80=20=ED=91=9C=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/common/map/BaseMap.tsx | 4 +-- .../incidents/components/IncidentsView.tsx | 30 ++++++++++--------- .../weather/components/WeatherView.tsx | 4 +-- 3 files changed, 20 insertions(+), 18 deletions(-) diff --git a/frontend/src/components/common/map/BaseMap.tsx b/frontend/src/components/common/map/BaseMap.tsx index 62c7705..a18e126 100644 --- a/frontend/src/components/common/map/BaseMap.tsx +++ b/frontend/src/components/common/map/BaseMap.tsx @@ -139,8 +139,8 @@ function MapOverlayControls({ return ( <> - {/* 우측 컨트롤 컬럼 */} -
+ {/* 좌측 컨트롤 컬럼 */} +
{/* 줌 */} + } {/* 오염물 배출 규정 패널 */} - {dischargeMode && dischargeInfo && ( + {isOverlayMode && dischargeMode && dischargeInfo && ( 사고 {filteredIncidents.length}
방제선 {vesselStatus?.bangjeCount ?? 0}
- + } {/* Legend */} -
))}
- + } {/* 선박 팝업 패널 */} - {vesselPopup && selectedVessel && !detailVessel && ( + {isOverlayMode && vesselPopup && selectedVessel && !detailVessel && ( { @@ -1015,7 +1017,7 @@ export function IncidentsView() { }} /> )} - {detailVessel && ( + {isOverlayMode && detailVessel && ( setDetailVessel(null)} /> )} diff --git a/frontend/src/components/weather/components/WeatherView.tsx b/frontend/src/components/weather/components/WeatherView.tsx index b041c46..7bb3add 100644 --- a/frontend/src/components/weather/components/WeatherView.tsx +++ b/frontend/src/components/weather/components/WeatherView.tsx @@ -324,7 +324,7 @@ export function WeatherView() { {/* 레이어 컨트롤 */} -
+
기상 레이어
{/* 범례 */} -
+
기상 범례
{/* 바람 */} -- 2.45.2 From 604353cd81246b3da9513bc063e25a257a372177 Mon Sep 17 00:00:00 2001 From: "jeonghyo.k" Date: Mon, 20 Apr 2026 16:44:18 +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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/RELEASE-NOTES.md b/docs/RELEASE-NOTES.md index 1b48ea9..7c8b587 100644 --- a/docs/RELEASE-NOTES.md +++ b/docs/RELEASE-NOTES.md @@ -9,10 +9,12 @@ - 선박: 선박 검색 범위를 전체 캐시 대상으로 확대 - HNS: 정보 레이어 패널 통합 (레이어 표시/불투명도/밝기/색상 제어) - HNS: 분석 생성 시 유출량·단위·예측 시간·알고리즘·기준 모델 파라미터 전달 +- HNS/사건사고: 분석 전용 뷰 모드에서 지도 오버레이 UI 요소 조건부 숨김 처리 ### 변경 - InfoLayerSection을 공통 컴포넌트로 이동 (prediction → common/layer) - 기상 탭: 지도 오버레이 컨트롤 위치 우측 상단으로 조정 +- 지도 공통: 컨트롤 버튼 패널(줌 등) 위치 우측 → 좌측으로 변경 ### 수정 - 선박: 라우터 전체에 requireAuth 미들웨어 추가 -- 2.45.2