diff --git a/B05_Profile/B05_Profile_UI_Panel_Sections.ts b/B05_Profile/B05_Profile_UI_Panel_Sections.ts index b676383b6..2fc33bfd4 100644 --- a/B05_Profile/B05_Profile_UI_Panel_Sections.ts +++ b/B05_Profile/B05_Profile_UI_Panel_Sections.ts @@ -31,7 +31,7 @@ registerPanelSection({ views: ["profile"], order: 30, build: (ctx, view) => { - const frame = createSectionFrame(view, "계획노선"); + const frame = createSectionFrame(view, "계획노선", true); // 311 기본 접힘 frame.body.append(part(ctx, "route").plannedRouteButton); return frame.root; }, diff --git a/B06_Section/B06_Section_UI_Page_Panel.ts b/B06_Section/B06_Section_UI_Page_Panel.ts index ffbc9a703..111b1ca73 100644 --- a/B06_Section/B06_Section_UI_Page_Panel.ts +++ b/B06_Section/B06_Section_UI_Page_Panel.ts @@ -50,7 +50,7 @@ registerPanelSection({ views: ["cross"], order: 20, build: (ctx, view) => { - const frame = createSectionFrame(view, L("B06_View_Title")); + const frame = createSectionFrame(view, L("B06_View_Title"), true); // 311 기본 접힘 frame.body.append(part(ctx, "crossView").row); return frame.root; }, diff --git a/B09_Estimation/B09_Estimation_UI_Shell.ts b/B09_Estimation/B09_Estimation_UI_Shell.ts index 81dc5157f..68495bd37 100644 --- a/B09_Estimation/B09_Estimation_UI_Shell.ts +++ b/B09_Estimation/B09_Estimation_UI_Shell.ts @@ -332,7 +332,7 @@ export function renderB09Estimation(root: HTMLElement): void { }); reset.dataset.b09BillReset = ""; // 카드 = 좌측 패널 공용 카드(269 · 「구조물 배치」 양식) - const section = createPanelCard("데이터 점검"); + const section = createPanelCard("데이터 점검", true); // 311 기본 접힘 section.append(refresh, check.list); // 303-1 · 304-1 하단 고정 줄 — [박스보기|호표보기] · [하이퍼링크|팝업] · 초안 단추 · [?][저장][내역 초기화] const actions = createDock([save, reset], () => isGroupTab(current) && show(current)); diff --git a/B09_Estimation/draft/B09_Draft_Schedule_Panel.ts b/B09_Estimation/draft/B09_Draft_Schedule_Panel.ts index 9bd64b379..e68bc0e6a 100644 --- a/B09_Estimation/draft/B09_Draft_Schedule_Panel.ts +++ b/B09_Estimation/draft/B09_Draft_Schedule_Panel.ts @@ -160,7 +160,7 @@ export function createSchedulePanel(user: () => Row, setUser: (next: Row) => voi holidayCaption.textContent = "공휴일 넣기(그 밖 법정공휴일은 늘 넣음)"; holidayBox.append(holidayCaption, ...checks); - const section = createPanelCard("공기 옵션"); + const section = createPanelCard("공기 옵션", true); // 311 기본 접힘 section.dataset.b09SchedulePanel = ""; section.style.display = "none"; // 원천(서버 공기 자료)이 오면 보임 · hidden 은 공용 카드 flex 가 덮음 section.append( diff --git a/resources/tester/test_203_1_b09_data_check.py b/resources/tester/test_203_1_b09_data_check.py index 804896861..5e63d693e 100644 --- a/resources/tester/test_203_1_b09_data_check.py +++ b/resources/tester/test_203_1_b09_data_check.py @@ -21,7 +21,9 @@ SHELL = (ROOT / "B09_Estimation/B09_Estimation_UI_Shell.ts").read_text("utf-8") def test_묶음_이름_단추_글_설명_없음(): - assert 'createPanelCard("데이터 점검")' in SHELL and "원가 단가" not in SHELL # 269 공용 카드 + assert ( + 'createPanelCard("데이터 점검", true)' in SHELL and "원가 단가" not in SHELL + ) # 269 공용 카드 assert 'label: "업데이트",' in SHELL and "단가 갱신" not in SHELL # 옛 굳힌 시각 안내 글(made) 없음 · 묶음 = 제목 · [업데이트] · 연결 점검 assert "made.textContent" not in SHELL and "b09-estimation__hint" not in SHELL