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

This commit is contained in:
2026-10-08 16:32:43 +09:00
2 changed files with 7 additions and 5 deletions
@@ -32,7 +32,7 @@ export interface DetailNav {
export function createDetailNav(go: (kind: DetailKind) => void): DetailNav {
const buttons = ITEMS.map(([kind, label]) => {
const button = createButton({ label, size: "sm", onClick: () => go(kind) });
const button = createButton({ label, size: "sm", variant: "ghost", onClick: () => go(kind) });
button.dataset.detailNav = kind;
return button;
});
+6 -4
View File
@@ -51,8 +51,8 @@ def test_소스가_700줄을_넘지_않음():
),
# 산출근거 저장은 컨테이너가 안 함 — [산출근거 수정] 이 여는 메인 칸 전체 편집이 함
("M02_MasterTemplete_Api_Fetch.ts", ["saveTemplate"], MAIN),
# 도면 카드(31-4)는 카드 파일에서 뗀 `DrawingCard` 가 부름
("M02_MasterTemplete_Drawing.ts", ["mountDrawingTemplate"], DRAWING_CARD),
# 도면 카드(31-4)는 카드 파일에서 뗀 `DrawingCard` 가 부름 · 여러 장 탭 고르기만(105-3)
("M02_MasterTemplete_Drawing.ts", ["mountStructureSheets"], DRAWING_CARD),
("../A00_Common/spreadsheet/spreadsheet.ts", ["createSpreadsheet"], CARDS),
],
)
@@ -215,8 +215,10 @@ def test_표_도구_막대에_줄_더하기_줄_지우기_손_입력_열_없음(
def test_상세_화면_돌아가기는_집계표로_그_열_고른_채():
main = _text(MAIN)
# M01 꼴 — 제목 앞(39-5) · 49-7 [?] 칸(helpSlot)이 제목 바로 뒤
assert re.search(r"children: \[\s*back,\s*title,\s*helpSlot,\s*slot,\s*reload,\s*save,", main)
# M01 꼴 — 제목 앞(39-5) · 105-4 상세 이동 묶음(nav) · 49-7 [?] 칸(helpSlot)이 그 뒤
assert re.search(
r"children: \[\s*back,\s*title,\s*nav\.root,\s*helpSlot,\s*slot,\s*reload,\s*save,", main
)
assert "!(sel.kind in NUMBER_FIELD)" in main # 구조물 도면 · 일위대가 · 면적산출만
body = main.split('back.addEventListener("click"')[1]
assert "confirmLeave()" in body and "STRUCTURE_TABLE" in body