From a744388276d4336751b2a255854dc686f10449d6 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Mon, 14 Sep 2026 17:42:04 +0900 Subject: [PATCH] =?UTF-8?q?fix(b08):=20=EA=B3=A0=EB=A5=B4=EA=B0=9C=20?= =?UTF-8?q?=ED=9B=84=EB=B3=B4=200=20=EC=9D=B4=EB=A9=B4=20=EB=8B=A4?= =?UTF-8?q?=EC=9D=8C=20=EA=B8=B8=EC=9D=84=20=EC=A0=81=EC=9D=8C=20=E2=80=94?= =?UTF-8?q?=20=E3=80=8C=EB=82=B1=EB=A7=90=C2=B7=EA=B0=88=EB=9E=98=EB=A5=BC?= =?UTF-8?q?=20=EB=B0=94=EA=BF=94=20=EC=B0=BE=EA=B1=B0=EB=82=98=20=EC=88=98?= =?UTF-8?q?=EB=8F=99=20=EB=8B=A8=EA=B0=80(=EB=AF=B8=ED=99=95=EC=A0=95)?= =?UTF-8?q?=E3=80=8D=20=C2=B7=20=EC=A1=B0=EC=9A=A9=ED=9E=88=20=E3=80=8C?= =?UTF-8?q?=EC=97=86=EC=9D=8C=E3=80=8D=EC=9C=BC=EB=A1=9C=20=EB=A7=89?= =?UTF-8?q?=ED=9E=88=EC=A7=80=20=EC=95=8A=EA=B2=8C(936be972=20PVC=ED=8C=8C?= =?UTF-8?q?=EC=9D=B4=ED=94=84=EB=8A=94=20=EB=8B=A8=EA=B0=80=ED=91=9C?= =?UTF-8?q?=EC=97=90=20=ED=92=88=EC=85=88=C2=B7=EC=9E=90=EC=9B=90=20?= =?UTF-8?q?=EB=AA=A8=EB=91=90=200)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_016VBGFXB9AbJBwXP19z75Qq --- .../B08_Quantity_UI_StructureSheet_UnitPriceEdit.ts | 11 ++++++++++- resources/tester/test_b08_stmate_fixed_chain.py | 2 ++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/B08_Quantity/B08_Quantity_UI_StructureSheet_UnitPriceEdit.ts b/B08_Quantity/B08_Quantity_UI_StructureSheet_UnitPriceEdit.ts index f61944a7..548dc2cd 100644 --- a/B08_Quantity/B08_Quantity_UI_StructureSheet_UnitPriceEdit.ts +++ b/B08_Quantity/B08_Quantity_UI_StructureSheet_UnitPriceEdit.ts @@ -233,7 +233,16 @@ export function unitPriceEditor(options: EditorOptions): HTMLElement { if (!response.ok) throw new Error(payload.message ?? `HTTP ${response.status}`); const items = payload.items ?? []; results.replaceChildren( - ...(items.length ? items.map(choice) : [el("span", "b08-grid__caption", "없음")]), + ...(items.length + ? items.map(choice) + : [ + // 후보 0 — 조용히 막히지 않게 다음 길을 적음(갈래 바꿔 찾기 · 수동 단가는 미확정으로 셈). + el( + "span", + "b08-grid__caption", + "단가표에 후보 없음 — 낱말·갈래(품셈/자원)를 바꿔 찾거나, 이 줄에 수동 단가를 넣을 것(미확정으로 셈)", + ), + ]), ); } catch (error) { results.replaceChildren( diff --git a/resources/tester/test_b08_stmate_fixed_chain.py b/resources/tester/test_b08_stmate_fixed_chain.py index d7d96d63..6bce200f 100644 --- a/resources/tester/test_b08_stmate_fixed_chain.py +++ b/resources/tester/test_b08_stmate_fixed_chain.py @@ -105,6 +105,8 @@ def test_찾기는_코드_없는_줄_이름으로_후보만_띄운다() -> None: encoding="utf-8" ) assert "query.value = row.name" in ui and "!row.ref_code && !row.work_item_code" in ui + # 후보 0 이면 다음 길(갈래 바꾸기 · 수동 단가)을 적음 — 조용히 「없음」으로 막히지 않게(2026-09-14 브레인) + assert "수동 단가를 넣을 것" in ui def test_사용자가_코드를_고르면_금액이_선다() -> None: