feat(377-2 B07 전개도): 좌측 「전개도」 카드 · 목록 · 단건 · 확정본 kind — 늘 카드 · 구조물 종류마다 하위 묶음(이름 줄 + 형태 단추) · 목록 맨 뒤 · 전개도 id 면 측점별 설계 실어 그림
- Router_Support _drawing_list 맨 뒤 development_list · _read_drawing 분기 · 확정본 kind development - Router 단건 = _designs_by_chainage · Schema · Api_Fetch kind development - UI_Development.ts 새 카드(groupPlanSheets 재사용) · test_311 접힘 대조에 전개도 카드(기본 펼침) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Se7ytqbohmBQnfYpwYFnYf
This commit is contained in:
@@ -252,7 +252,7 @@ def development_sheets(rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
|
||||
{
|
||||
"id": kind_id if index == 1 else f"{kind_id}_{index}",
|
||||
"kind_id": kind_id,
|
||||
"title": title,
|
||||
"title": title if index == 1 else f"{title} ({index})",
|
||||
"group": group,
|
||||
"form": form,
|
||||
"rows": chunk,
|
||||
@@ -290,15 +290,15 @@ def _read_json(path: Path) -> dict[str, Any]:
|
||||
def development_list(
|
||||
project_root: Path, manifest_drawings: dict[str, Any]
|
||||
) -> list[DesignDrawingItem]:
|
||||
"""좌측 「전개도」 카드 단추 — 장마다 한 줄(plan_kind = 묶음 · 형태 · 하위 묶음)."""
|
||||
"""좌측 「전개도」 카드 단추 — 장마다 한 줄 · 하위 묶음(plan_kind) = 구조물 종류."""
|
||||
return [
|
||||
DesignDrawingItem(
|
||||
id=sheet["id"],
|
||||
kind="development",
|
||||
label=sheet["title"],
|
||||
confirmed=bool(manifest_drawings.get(sheet["id"], {}).get("confirmed")),
|
||||
plan_kind=sheet["kind_id"],
|
||||
plan_kind_name=sheet["title"],
|
||||
plan_kind=f"development_{sheet['group']}",
|
||||
plan_kind_name=GROUPS[sheet["group"]],
|
||||
)
|
||||
for sheet in development_sheets(development_rows(project_root))
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user