feat: Basiswert-Details im Pruefdialog aufklappbar

- Info-Link 'Was ist enthalten?' klappt Enthalten/Nicht enthalten inline auf
- zweiter Klick blendet die Details wieder aus
- kein separates Fenster, keine Fenster-Z-Order-Probleme
- 266 Whiteboard-Assertions (934 gesamt)
- Doku und Findings aktualisiert
This commit is contained in:
torsten 2026-10-31 10:59:06 +01:00
parent 334603c810
commit 531a057168
7 changed files with 90 additions and 10 deletions

View file

@ -91,6 +91,9 @@ func _capture() -> void:
controller.element_button.pressed.emit()
elif args.size() > 3 and args[3] == "validate":
controller.open_validation_dialog()
elif args.size() > 3 and args[3] == "scoreinfo":
controller.open_validation_dialog()
controller.validation_text.meta_clicked.emit("score_info")
elif args.size() > 3 and args[3] == "pending":
controller.select_segment(jump.segment_id)
controller.element_button.pressed.emit()

View file

@ -1279,6 +1279,27 @@ func _run() -> void:
and controller.validation_text.text.contains("3X — —"),
"the scoring breakdown marks unknown elements as unscored"
)
_check(
controller.validation_text.text.contains("Was ist enthalten"),
"the score caveats are available behind an info link"
)
_check(
not controller.validation_text.text.contains("1,1-Faktor"),
"the score details are hidden by default"
)
controller.validation_text.meta_clicked.emit("score_info")
_check(
controller.validation_text.text.contains("Enthalten")
and controller.validation_text.text.contains("GOE")
and controller.validation_text.text.contains("1,1-Faktor")
and controller.validation_text.text.contains("Kombinationen"),
"the score info link expands the excluded scoring parts"
)
controller.validation_text.meta_clicked.emit("score_info")
_check(
not controller.validation_text.text.contains("1,1-Faktor"),
"the score info link collapses the details again"
)
controller.validation_dialog.hide()
controller.new_routine()