Merge remote-tracking branch 'origin/sub_laptop_1' into main_laptop_1

This commit is contained in:
2026-10-26 18:13:22 +09:00
3 changed files with 76 additions and 9 deletions
+13
View File
@@ -104,3 +104,16 @@ def test_셸_한_벌():
assert ':root[data-theme="dark"] .b01-shell {' in css
icons = _text(ROOT / "ui_template" / "ui_template_icons.ts")
assert "MIT License" in icons and "Paweł Kuna" in icons
def test_메뉴_배지_알림():
shell = _text(B01 / "B01_Dashboard_UI_Shell.ts")
badges = shell.split("async function refreshBadges")[1].split("\n}\n")[0]
assert 'nav.setBadge("people", joins.length, true);' in badges # 가입 요청 = 빨강
assert "!p.linked_project_id || p.update_available" in badges # 받은 예정노선 새로 · 업데이트
assert 'nav.setBadge("temp", temp.length);' in badges
assert "const todo = joins.length + newPlans + expiring;" in badges # 알림 = 처리할 일 합
assert "void refreshBadges(ctx, nav, bell);" in shell # 페이지 바뀔 때마다 다시 셈
css = _text(B01 / "B01_Dashboard_UI_Style_Shell.css")
assert "@media (max-width: 1024px)" in css # 작은 화면 = 아이콘 레일
assert "html:has(.b01-shell) .app-header" in css # 옛 ☰ 걷음