fix(web): collapse IwoooS advanced visuals
All checks were successful
CD Pipeline / tests (push) Successful in 1m23s
Code Review / ai-code-review (push) Successful in 13s
CD Pipeline / build-and-deploy (push) Successful in 6m45s
CD Pipeline / post-deploy-checks (push) Successful in 1m32s

This commit is contained in:
Your Name
2026-06-01 16:12:56 +08:00
parent a31e7bbd29
commit 02007614d6
6 changed files with 110 additions and 22 deletions

View File

@@ -353,6 +353,21 @@ def validate(root: Path) -> None:
iwooos_first_screen_text,
forbidden,
)
for text in [
'id="iwooos-decision-gate-visuals"',
'id="iwooos-scope-evidence-visuals"',
"decisionGateVisuals",
"scopeEvidenceVisuals",
"iwooos-decision-gate-visuals",
"iwooos-scope-evidence-visuals",
]:
assert_text_contains("iwooos_projection_page.progressive_disclosure_groups", iwooos_projection_page, text)
for key in ["decisionGateVisuals", "scopeEvidenceVisuals"]:
assert_contains(
"web_messages.zh-TW.iwooos.informationArchitecture.progressive_disclosure",
list(web_messages_zh["iwooos"]["informationArchitecture"].keys()),
key,
)
for text in [
"IwoooSVisualCommandDashboard",
'data-testid="iwooos-visual-command-dashboard"',
@@ -728,6 +743,7 @@ def validate(root: Path) -> None:
"s2_152_iwooos_decision_runway",
"s2_153_iwooos_executive_snapshot",
"s2_154_iwooos_first_screen_language_polish",
"s2_155_iwooos_first_layer_progressive_disclosure",
]
assert_equal(
"progress_delta_ledger.delta_ids",
@@ -12095,10 +12111,16 @@ def validate(root: Path) -> None:
"<IwoooSProfessionalSecurityExperience />",
)
assert_text_before(
"iwooos_page.first_progress_unlock_path_before_deep_sections",
"iwooos_page.decision_gate_group_contains_first_progress_unlock_path",
iwooos_projection_page,
'id="iwooos-decision-gate-visuals"',
"<IwoooSFirstProgressUnlockPathBoard />",
)
assert_text_before(
"iwooos_page.first_progress_unlock_path_before_scope_evidence_group",
iwooos_projection_page,
"<IwoooSFirstProgressUnlockPathBoard />",
"<IwoooSSectionGroup",
'id="iwooos-scope-evidence-visuals"',
)
assert_text_contains(
"iwooos_page.first_progress_unlock_path_boundary_details",
@@ -12329,11 +12351,10 @@ def validate(root: Path) -> None:
'data-testid="iwooos-focus-deck-boundaries"',
)
for text in [
"href: '#iwooos-command-map-board'",
"href: '#iwooos-first-progress-unlock-path-board'",
"href: '#iwooos-global-security-mesh-matrix-board'",
"href: '#iwooos-host-tool-evidence-chain-board'",
"href: '#iwooos-command-map-source-control'",
"href: '#iwooos-decision-gate-visuals'",
"href: '#iwooos-scope-evidence-visuals'",
"id=\"iwooos-decision-gate-visuals\"",
"id=\"iwooos-scope-evidence-visuals\"",
"iwooos-command-map-source-control",
"iwooos_focus_deck_first_layer=true",
"iwooos_focus_deck_item_count=5",