fix(M02): 51-7 일위대가 표 줄 이름 앞 ▸/▾ 화살표 없앰 — 줄 누름 펼침 · 같은 줄 다시 누름 접힘 그대로

- 카드 · 상세 같은 표(logicTable) — 화살표 span · .m02-labrow__fold 스타일 걷어냄
- ui_checks 51-2 시나리오 — 열림 = 고른 줄 수 · 화살표 = 0 기대

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MgChuAcyBqUkhHMTXomQC7
This commit is contained in:
2026-10-05 19:50:28 +09:00
co-authored by Claude Opus 5.5
parent 440e063c13
commit 74c20420c4
3 changed files with 4 additions and 10 deletions
@@ -6,7 +6,7 @@
* 기대 수치(카드 · 상세 같음):
* - lines[*].subs ≥ 1 · lines[*].cells = head(칸 수 = 머리 칸 수) · lines[*].next = true(고른 줄 바로 아래)
* - lines[*].base ≈ lines[*].subBase · lines[*].applied ≈ lines[*].subApplied(반올림 차 ≤ 하위 행 수)
* - lines[*].open = 1 · lines[*].arrow = "▾"(한 줄만 열림)
* - lines[*].open = 1(한 줄만 열림) · lines[*].arrow = 0(이름 앞 화살표 없음 · 51-7)
* - again.subs = 0 · again.selected = 0(같은 줄 다시 = 닫힘) · box = 0(따로 상자 없음)
*/
(async () => {
@@ -58,9 +58,9 @@
subBase: Math.round(subs.reduce((a, s) => a + total(s, ".m02-labrow__base"), 0)),
applied: total(tr, ".m02-labrow__applied"),
subApplied: Math.round(subs.reduce((a, s) => a + total(s, ".m02-labrow__applied"), 0)),
open: [...tb.querySelectorAll(".m02-labrow__fold")].filter((f) => f.innerText === "▾")
open: rowsOf(tb).filter((r) => r.classList.contains("is-selected")).length,
arrow: [...tb.querySelectorAll(".m02-labrow__name")].filter((d) => /[▸▾]/.test(d.innerText))
.length,
arrow: tr.querySelector(".m02-labrow__fold")?.innerText,
names: subs.map((s) => s.querySelector(".m02-labrow__subname").innerText).slice(0, 4),
});
}