From e7581179916163e7ba0c306d6354b0ad5b228d74 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Mon, 19 Oct 2026 16:39:42 +0900 Subject: [PATCH] =?UTF-8?q?fix(476-2=20=EC=B6=94=EC=B2=9C=20=EC=B4=88?= =?UTF-8?q?=EA=B8=B0=20=EC=A2=85=EB=8B=A8):=20[=EC=A0=81=EC=9A=A9]=20?= =?UTF-8?q?=ED=99=95=EC=9D=B8=20=EA=B8=80=20=3D=20=EC=A2=85=EB=8B=A8=20?= =?UTF-8?q?=C2=B7=20=ED=9A=A1=EB=8B=A8=20=EC=86=90=20=EC=9E=85=EB=A0=A5=20?= =?UTF-8?q?=EB=AA=A8=EB=91=90=20=EC=A7=80=EC=9B=80(=EC=9A=94=EA=B5=AC=2027?= =?UTF-8?q?7)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- B05_Profile/B05_Profile_UI_RouteEdit_Recommend.ts | 6 +++--- resources/tester/test_476_2_recommend_initial_line.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/B05_Profile/B05_Profile_UI_RouteEdit_Recommend.ts b/B05_Profile/B05_Profile_UI_RouteEdit_Recommend.ts index 5053787b8..23cca6df3 100644 --- a/B05_Profile/B05_Profile_UI_RouteEdit_Recommend.ts +++ b/B05_Profile/B05_Profile_UI_RouteEdit_Recommend.ts @@ -14,7 +14,7 @@ * 균형 종단(계획서 63-4) — 후보마다 서버가 세운 종단의 한 줄 · 그림 · 셈한 후보 표는 이 모달 * 안에서만 보인다(`_Recommend_Profile`) · 닫으면 버린다. * 적용될 초기 종단(476) — 서버가 [적용]과 같은 코드로 세운 종단을 같은 그림에 선 · 한 줄로 더한다 - * (끔이어도) · [적용]은 「종단 손 편집이 새 초기 종단으로 바뀜」 확인 뒤. + * (끔이어도) · [적용]은 「종단 · 횡단 손 입력이 모두 지워짐」 확인 뒤(요구 277). * ========================================================================== */ import { openModal } from "@ui/ui_template_modal"; @@ -87,9 +87,9 @@ const PILL_TITLE: Record<(typeof PILLS)[number], string> = { weighted: "예상 · 토공 · 기울기 비중(합 100)으로 셈한 노선 + 종단", }; -/** [적용] 확인 글(476) — 같은 노선이어도 종단을 새로 세운다. */ +/** [적용] 확인 글(476 · 요구 277) — 같은 노선이어도 수작업(종단 · 횡단 손 입력)을 모두 버린다. */ const APPLY_CONFIRM = - "이 노선을 저장하고 미리 본 초기 종단으로 종단을 새로 세웁니다 — 종단 손 편집은 새 초기 종단으로 바뀝니다. 적용할까요?"; + "이 노선과 미리 본 초기 종단을 저장합니다 — 종단 · 횡단 손 입력이 모두 지워지고 이 노선 기준으로 새로 시작합니다. 적용할까요?"; const WEIGHT_NAME: Record = { expected: "예상", diff --git a/resources/tester/test_476_2_recommend_initial_line.py b/resources/tester/test_476_2_recommend_initial_line.py index 892a0383c..c8fe799e1 100644 --- a/resources/tester/test_476_2_recommend_initial_line.py +++ b/resources/tester/test_476_2_recommend_initial_line.py @@ -58,6 +58,6 @@ def test_모달_배선과_확인_글() -> None: apply = rec[rec.index('applyButton.addEventListener("click"') :][:400] assert 'showConfirmDialog(APPLY_CONFIRM, "적용")' in apply assert apply.index("showConfirmDialog") < apply.index("params.onApply(picked);") - assert "종단 손 편집은 새 초기 종단으로 바뀝니다" in rec + assert "종단 · 횡단 손 입력이 모두 지워지고 이 노선 기준으로 새로 시작" in rec # 요구 277 css = (B05 / "B05_Profile_UI_Style_RouteRecommend.css").read_text(encoding="utf-8") assert ".b05-routerec__profile .is-initial" in css and "var(--map-route" in css