feat(panel): 311-1 좌측 패널 기본 접힘 — B09 데이터 점검 · 공기 옵션 / B06 횡단 보기 설정 / B05 계획노선 (요구 204)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013QyNXY2TUKXCFMwAca2APG
This commit is contained in:
2026-10-13 18:14:45 +09:00
co-authored by Claude Opus 5.5
parent 5076c44425
commit 0d3bb1154a
5 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -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<RoutePart>(ctx, "route").plannedRouteButton);
return frame.root;
},
+1 -1
View File
@@ -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<CrossViewPart>(ctx, "crossView").row);
return frame.root;
},
+1 -1
View File
@@ -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));
@@ -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(
@@ -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