This commit is contained in:
Mateusz Gruszczyński committed 2026-11-16 09:59:26 +01:00
1 parent 9e81cce271
commit 185d5da6f9
31 files changed
+296 -199

No files matched your search

+6
View File
@@ -88,6 +88,12 @@ assert "saveAppearancePreference({ stable_dialog_position: next }" in preference
assert 'html[data-stable-dialog-position="true"] dialog.vhost-dialog[open]' in editors_css
assert openapi["components"]["schemas"]["AdminPreferences"]["properties"]["stable_dialog_position"]["default"] is True
assert pl.get("stableDialogPosition") and pl.get("stableDialogPositionHelp")
assert "ui-switch-controls" in id_set, "Appearance must expose the switch controls toggle"
assert re.search(r"switch_controls:\s*true", preferences_js), "switch controls must default on in the panel"
assert "applyAdminSwitchControls(value.switch_controls)" in preferences_js
assert "saveAppearancePreference({ switch_controls: next }" in preferences_js
assert openapi["components"]["schemas"]["AdminPreferences"]["properties"]["switch_controls"]["default"] is True
assert pl.get("switchControls") and pl.get("switchControlsHelp")
assert any(path.name == "icons.js" for path in sources), "semantic icon module must be embedded in app.js"
assert 'data-i18n="overviewExtraRecentSamples"' not in html, "Overview metric tiles must not show the redundant Recent samples footer"