From 0da3adb793b454eb58459e8b179ccd58f753e5a7 Mon Sep 17 00:00:00 2001 From: "jeonghyo.k" Date: Wed, 1 Apr 2026 08:27:41 +0900 Subject: [PATCH 1/3] =?UTF-8?q?fix(map):=20S57EncOverlay=20API=20URL?= =?UTF-8?q?=EC=9D=84=20=EA=B3=B5=EC=9C=A0=20API=5FBASE=5FURL=EB=A1=9C=20?= =?UTF-8?q?=ED=86=B5=ED=95=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - VITE_API_URL 하드코딩 제거 → @common/services/api의 API_BASE_URL 사용 --- frontend/src/common/components/map/S57EncOverlay.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/common/components/map/S57EncOverlay.tsx b/frontend/src/common/components/map/S57EncOverlay.tsx index 2408037..9211754 100644 --- a/frontend/src/common/components/map/S57EncOverlay.tsx +++ b/frontend/src/common/components/map/S57EncOverlay.tsx @@ -1,8 +1,8 @@ import { useEffect, useRef } from 'react'; import { useMap } from '@vis.gl/react-maplibre'; +import { API_BASE_URL } from '../../services/api'; -const TILES_BASE = import.meta.env.VITE_API_URL?.replace(/\/api$/, '') || 'http://localhost:3001'; -const PROXY_PREFIX = `${TILES_BASE}/api/tiles/enc`; +const PROXY_PREFIX = `${API_BASE_URL}/tiles/enc`; const ENC_SPRITE_ID = 'enc-s57'; const ENC_SOURCE_ID = 'enc-s57'; From 7d2a889e11c5efc18a03a97ca3c7b6f82f8ce2e4 Mon Sep 17 00:00:00 2001 From: "jeonghyo.k" Date: Wed, 1 Apr 2026 08:30:35 +0900 Subject: [PATCH 2/3] =?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 d87f4ec..0dfd1a8 100644 --- a/docs/RELEASE-NOTES.md +++ b/docs/RELEASE-NOTES.md @@ -4,6 +4,9 @@ ## [Unreleased] +### 수정 +- 지도: S57EncOverlay API URL을 공유 API_BASE_URL로 통합 + ## [2026-03-31.2] ### 추가 From a719130f20e77ee780a9af5ff42dfba24404f849 Mon Sep 17 00:00:00 2001 From: "jeonghyo.k" Date: Wed, 1 Apr 2026 08:36:16 +0900 Subject: [PATCH 3/3] =?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=A0=95=EB=A6=AC=20(2026-04-01)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/RELEASE-NOTES.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/RELEASE-NOTES.md b/docs/RELEASE-NOTES.md index 0dfd1a8..0c83840 100644 --- a/docs/RELEASE-NOTES.md +++ b/docs/RELEASE-NOTES.md @@ -4,26 +4,22 @@ ## [Unreleased] +## [2026-04-01] + ### 수정 - 지도: S57EncOverlay API URL을 공유 API_BASE_URL로 통합 -## [2026-03-31.2] +## [2026-03-31] ### 추가 - 지도: S-57 전자해도(ENC) 오버레이 레이어 추가 - 지도: 전체 탭 지도 배경 토글 통합 (S-57/3D/밝은테마/기본지도) - 공통: useBaseMapStyle 훅 및 mapStyles 공유 모듈 추가 - -### 변경 -- 지도: 초기 접속 시 기본지도(CartoDB Dark Matter) 표시로 변경 (S-57 기본 off) - -## [2026-03-31] - -### 추가 - 다크/라이트 테마 전환 기능 (TopBar 퀵메뉴에서 토글) - themeStore (Zustand) 테마 상태 관리 + localStorage 영속화 ### 변경 +- 지도: 초기 접속 시 기본지도(CartoDB Dark Matter) 표시로 변경 (S-57 기본 off) - 디자인 시스템 토큰 시맨틱 네이밍 전환 (하드코딩 색상 → CSS 변수) - PretendardGOV 폰트 적용 - 라이트 테마 CSS 변수 오버라이드 및 컴포넌트별 스타일 대응