feat(z01): 상자 이름을 서버 group_label 로 — 안 오면 group 키 그대로(화면에 한글 이름 안 박음)

- 지금 서버가 갈래 키(base_price·pumsem_basis)만 줘 상자 제목이 영문으로 뜨던 자리
- 공종 축(work_item) 상자는 코드 추가 없이 섬 — 가짜 응답으로 확인(산림 358 · 건설 가짜 2,199 · 찾기·끝 쪽)
- 시험: 갈래 이름이 오면 그 이름 · 안 오면 키가 드러남

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016VBGFXB9AbJBwXP19z75Qq
This commit is contained in:
2026-09-17 10:54:44 +09:00
co-authored by Claude Opus 5
parent 459033786b
commit 7cb15af1e7
3 changed files with 21 additions and 14 deletions
+3 -3
View File
@@ -56,7 +56,7 @@ export function buildSidePanel(
button.addEventListener("click", () => {
activate(button);
view.show({
title: `${box.group} › ${served.label}`,
title: `${box.label} › ${served.label}`,
key: `base-prices/${served.kind}`,
load: (query) => fetchBasePrices(served.kind, query),
save: (rowId, values) => saveBasePrice(served.kind, rowId, values),
@@ -64,7 +64,7 @@ export function buildSidePanel(
});
grid.append(button);
}
return { group: box.group, grid };
return { label: box.label, grid };
});
const overridesButton = el("button", {
className: "z01-master__base z01-master__base--wide",
@@ -131,7 +131,7 @@ export function buildSidePanel(
}
panel.append(
...boxes.map((box) => section(box.group, box.grid)),
...boxes.map((box) => section(box.label, box.grid)),
section(L("Z01_MasterData_Tree"), tree),
);
attachCollapsible(panel);