fix(gui): clarifier aide et disponibilite moteurs

Passe theme clair, libelles utilisateur, aides conteneurs, recherche de mise a jour et indication honnete des moteurs optionnels non embarques. Tests GUI unitaires: 126 passed.
This commit is contained in:
2026-06-17 18:01:25 +02:00
parent d18ca919fa
commit 60fb41c2e7
11 changed files with 296 additions and 44 deletions

View File

@@ -2,7 +2,18 @@
from __future__ import annotations
from gui_v6.tabs.tab_config import CONFIG_INTERACTION_CONTRACT, CONFIG_MOCKUP_SECTIONS
import pytest
pytest.importorskip("customtkinter")
from gui_v6.tabs.tab_config import (
CONFIG_INTERACTION_CONTRACT,
CONFIG_MOCKUP_SECTIONS,
MINI_TOGGLE_HEIGHT,
MINI_TOGGLE_HINT_FONT_SIZE,
MINI_TOGGLE_LABEL_FONT_SIZE,
_DETECTION_OPTIONS,
)
def test_config_mockup_sections_cover_admin_surface():
@@ -42,3 +53,12 @@ def test_config_interaction_contract_prebuilds_panels_and_mask_editor():
"clear_page",
"apply_template_selection",
]
def test_detection_rows_are_readable_in_light_theme():
"""Retour Dom : les sous-labels de la colonne détection doivent rester lisibles."""
assert ("Noms et prénoms", "Annuaire + IA") in _DETECTION_OPTIONS
assert ("Noms et prénoms", "Bases de données + IA") not in _DETECTION_OPTIONS
assert MINI_TOGGLE_HEIGHT >= 44
assert MINI_TOGGLE_LABEL_FONT_SIZE >= 12
assert MINI_TOGGLE_HINT_FONT_SIZE >= 11