Merge remote-tracking branch 'origin/sub_laptop_6' into main_laptop_1

This commit is contained in:
2026-10-04 22:08:46 +09:00
5 changed files with 37 additions and 21 deletions
@@ -8,6 +8,7 @@ master 만 · 단위 줄 바로 아래 차례(키보드) · project 에는 없
from __future__ import annotations
import json
import re
import shutil
import subprocess
from pathlib import Path
@@ -70,3 +71,18 @@ def test_text_column_pick_rows_blank():
assert _run()["blank"] == [
[True, False], [True, False], [True, False], [False, False], [False, False],
] # fmt: skip
def test_labor_row_shows_su_number():
"""마스터 일위대가 줄 = 그 열 일위대가번(SU) — 열의 옛 `일위대가` 칸(UA 키)은 안 읽음."""
ops = OPS.read_text(encoding="utf-8")
assert "REF_ROWS: readonly string[] = [KEY_PRICE, KEY_DRAWING, KEY_AREA]" in ops
render = (OPS.parent / "ui_template_sheet_render.ts").read_text(encoding="utf-8")
assert re.search(r"key === KEY_PRICE\s*\?\s*state\.laborLabel", render)
assert "col.일위대가" not in render
sheet = (OPS.parent / "ui_template_sheet.ts").read_text(encoding="utf-8")
assert "col.일위대가" not in sheet # 읽기 · 쓰기 · 조회 후 선택 모두 안 건드림
main = (ROOT / "M02_MasterTemplete" / "M02_MasterTemplete_UI_Main.ts").read_text(
encoding="utf-8"
)
assert 'laborLabel: (colId: string) => struct.numbers()[colId]?.일위대가번 ?? ""' in main