feat(b08): 구조물도 모달 공용 큰 창 · 카드 셋 한 줄 세 칸(156-4)
- 모달 = 공용 wide(96vw × 94vh) · 자기 폭 규칙 지움 - 도면 · 일위대가 · 면적산출 카드 = 한 줄 세 칸(3:2:2) · 카드 높이 큰 창에 맞춤 · 칸 사이 넓힘 - 조합끼리 가름줄 - 시험 test_156_1 덧붙임 · test_61_2 옛 폭 판정을 wide 로 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01STqEqztUthVFBmEP18wBSz
This commit is contained in:
@@ -101,3 +101,12 @@ def test_화면_연결된_칸만_끊기_닫기_양식():
|
||||
assert "facilities: unlinkedAt(saved?.facilities ?? [], station)" in page
|
||||
sheets = (ROOT / "B08_Quantity/B08_Quantity_UI_Drawing.ts").read_text(encoding="utf-8")
|
||||
assert "linkSection(request.projectId, request.facilities" in sheets
|
||||
|
||||
|
||||
def test_156_4_구조물도_모달_큰_창_세_칸():
|
||||
sheets = (ROOT / "B08_Quantity/B08_Quantity_UI_Drawing.ts").read_text(encoding="utf-8")
|
||||
assert "wide: true" in sheets
|
||||
css = (ROOT / "B08_Quantity/B08_Quantity_UI_Drawing.css").read_text(encoding="utf-8")
|
||||
assert "min(1320px" not in css # 자기 폭 없음 — 공용 wide 그대로
|
||||
assert "minmax(0, 3fr) minmax(0, 2fr) minmax(0, 2fr)" in css # 도면 · 일위대가 · 면적산출
|
||||
assert ".b08-sheets__combo + .b08-sheets__combo" in css
|
||||
|
||||
@@ -20,7 +20,7 @@ def test_sheet_tab_gone_modal_wired():
|
||||
|
||||
def test_modal_own_class_and_cleanup():
|
||||
css = Path("B08_Quantity/B08_Quantity_UI_Drawing.css").read_text(encoding="utf-8")
|
||||
assert "min(1320px, 96vw)" in css and "--modal-max: 94vh" in css
|
||||
assert "wide: true" in DRAWING and "min(1320px" not in css # 공용 큰 창(156-4)
|
||||
assert "beforeClose" in DRAWING and "cards.destroy()" in DRAWING
|
||||
assert 'dialogClass: "b08-sheets"' in DRAWING
|
||||
|
||||
|
||||
Reference in New Issue
Block a user