- 새 _Panel_Recommend(칸 재료) · 칸 차례 30 · 편집 머리에서 단추 셋 지움 - _RouteEdit_Initial 이 칸 요소를 밖에서 받음 · 추천 창 「지금 노선」 = 본문 편집기 지금 노드 - 추천 창 키 막기 주석 정리(뒤 판 Ctrl+Z 끊음 그대로) - 시험: test_345_4_recommend_panel 4 · 칸 · 머리 시험 고쳐 씀 · 관련 415 통과(옛 3 실패 그대로) · typecheck 통과 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VmC34fsxxbweEG3RUjs3Mn
41 lines
1.8 KiB
TypeScript
41 lines
1.8 KiB
TypeScript
/* =============================================================================
|
|
* B05_Profile_UI_Panel_Sections.ts
|
|
* 종단 보기 좌측 패널의 **칸 정의**(등록부 `registerPanelSection`) — 페이지 설정 · 노선 추천.
|
|
* 「구조물 배치」는 두 보기 공용이라 `design_sections.ts` 에 있다.
|
|
*
|
|
* 칸 차례(2026-08-18 사용자 확정): 구조물 배치 > 페이지 설정 > 노선 추천 > 아래 고정 영역.
|
|
* 「선택 포인트 상세 설정」(3D 노선 점 옮김 · 지움 · 저장 안 되는 길)은 지움(345-2) ·
|
|
* 「계획노선」 칸 · [계획노선 편집]은 지움(345-3 — 노선 편집은 가운데 위 본문) · 그 자리에
|
|
* 「노선 추천」(345-4 · 편집 머리에서 옮김 · 재료 `_Panel_Recommend`).
|
|
* 「경로 계산 설정」은 `Old/` 로 옮김(54-24). 재료는 `_Panel_Settings` 가 만들어 `ctx.parts` 로 건넨다.
|
|
* ========================================================================== */
|
|
|
|
import "../A00_Common/design/design_sections";
|
|
import { createSectionFrame, part, registerPanelSection } from "../A00_Common/design/design_panel";
|
|
import type { RecommendPart } from "./B05_Profile_UI_Panel_Recommend";
|
|
import type { SettingsPart } from "./B05_Profile_UI_Panel_Settings";
|
|
|
|
registerPanelSection({
|
|
id: "page-settings",
|
|
title: "페이지 설정",
|
|
views: ["profile"],
|
|
order: 20,
|
|
build: (ctx, view) => {
|
|
const frame = createSectionFrame(view, "페이지 설정", true);
|
|
frame.body.append(...part<SettingsPart>(ctx, "settings").nodes);
|
|
return frame.root;
|
|
},
|
|
});
|
|
|
|
registerPanelSection({
|
|
id: "route-recommend",
|
|
title: "노선 추천",
|
|
views: ["profile"],
|
|
order: 30,
|
|
build: (ctx, view) => {
|
|
const frame = createSectionFrame(view, "노선 추천");
|
|
frame.body.append(...part<RecommendPart>(ctx, "recommend").nodes);
|
|
return frame.root;
|
|
},
|
|
});
|