refactor(853-1): M01 화면 죽은 것 걷음 — 묶음 ①

- 지움: UI_Logic_Pick.ts(부르는 곳 0) · UI_Logic_Edit.ts(buildEditor · qtyKind 죽음 · 남은 formatNumber 는 공용 다시 내보내기뿐) · UI_Tree.ts(공용 트리 다시 내보내기 껍데기)
- Logic_Note: buildNote 와 그것만 쓰던 relatedFinds · matchRow · tableView 등 걷음(살아 있는 loadTable · explain 남김)
- LogicLab_Foot.FOOT_OF · Draft.fileCount 걷음(부르는 곳 0)
- 글 키: Logic_Text 62 · LogicLab_Text 11 걷음(정적 · 동적 부름 0 · typecheck 가 지킴)
- import 를 본래 자리로: formatNumber · formatMoney 등 → common_util_money · renderTree → @ui/ui_template_tree
- UI_Logic_Money.ts 는 남김 — M02 네 파일이 import(sub2 몫)
- 시험: test_782_1 소유 선택지 시험 지움(죽은 buildEditor 글만 봄) · test_208_1 · test_modal_top 경로 목록에서 Logic_Pick 줄 뺌 · helper_717_1 의 Logic_Edit 가짜 모듈 뺌

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 11:35:53 +09:00
co-authored by Claude Opus 5.5
parent 45490575f8
commit 604ab2cb73
16 changed files with 16 additions and 1030 deletions
@@ -5,7 +5,7 @@ const { makeLoader } = require("./helper_ts_stub_loader.cjs");
const ROOT = path.join(__dirname, "..", "..");
const { load } = makeLoader({
root: ROOT,
stubs: { M01_MasterData_UI_Logic_Edit: {}, M01_MasterData_UI_Logic_Text: {} },
stubs: { M01_MasterData_UI_Logic_Text: {} },
});
const urls = [];
global.fetch = async (url) => {
@@ -170,7 +170,6 @@ def test_M01_목록_별칭_열은_이름_옆_고치면_캐시() -> None:
"rel",
[
"M01_MasterData/M01_MasterData_UI_Logic_List.ts", # M01 로직 목록
"M01_MasterData/M01_MasterData_UI_Logic_Pick.ts", # M01 요소 찾기 창 · 로직 그룹
"M02_MasterTemplete/M02_MasterTemplete_Labor_Pick.ts", # M02 · B09 [로직 더하기]
],
)
+1 -8
View File
@@ -1,4 +1,4 @@
"""782-1 작은 흠 둘 — 소스 지킴: 끝내기 확인창 인자 자리 · 로직 편집 소유 선택지."""
"""782-1 작은 흠 — 소스 지킴: 끝내기 확인창 인자 자리."""
from pathlib import Path
@@ -12,10 +12,3 @@ def test_finish_confirm_args_in_order():
assert block.rstrip().endswith('"끝내기",') or '"끝내기"' in block.splitlines()[-1]
assert "M02_SkUnmoved" in block.split('"끝내기"')[0]
assert block.count('"끝내기"') == 1 and '""' not in block.split("// 780-2")[-1]
def test_owner_choices_match_server():
ui = (ROOT / "M01_MasterData/M01_MasterData_UI_Logic_Edit.ts").read_text("utf-8")
py = (ROOT / "M01_MasterData/M01_MasterData_Store_Make.py").read_text("utf-8")
assert 'OWNERS = ("현장", "공용")' in py
assert 'choice(["현장", "공용"]' in ui
@@ -45,7 +45,6 @@ def test_따로_둔_모달도_위_고정():
)
for rel in (
"M01_MasterData/M01_MasterData_UI_Pick.ts",
"M01_MasterData/M01_MasterData_UI_Logic_Pick.ts",
"M01_MasterData/M01_MasterData_UI_Logic_PickTable.ts",
"M01_MasterData/M01_MasterData_UI_LogicLab_Copy.ts",
):