feat: In-App-Hilfe und Anleitung
- ?-Button in der Statusleiste oeffnet 'Hilfe & Annahmen' - Erklaert Base Value, Level aus Features, Adult-Kategorien, Pruefung, PCS-Annahme und Sturzabzug inklusive Grenzen - docs/manual.md als ausfuehrliche Anleitung, README verlinkt - Whiteboard-Tests auf 281 Assertions erweitert (1025 gesamt) - Doku und Findings aktualisiert
This commit is contained in:
parent
ef1a01d5b3
commit
e1f543cb66
10 changed files with 360 additions and 6 deletions
|
|
@ -91,6 +91,8 @@ 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] == "help":
|
||||
controller.help_button.pressed.emit()
|
||||
elif args.size() > 3 and args[3] == "adultgold":
|
||||
controller.set_adult_category("gold")
|
||||
controller.open_validation_dialog()
|
||||
|
|
|
|||
|
|
@ -1397,6 +1397,17 @@ func _run() -> void:
|
|||
)
|
||||
controller.validation_dialog.hide()
|
||||
|
||||
controller.help_button.pressed.emit()
|
||||
_check(controller.help_dialog.visible, "help button opens the help dialog")
|
||||
_check(
|
||||
controller.help_text.text.contains("Hilfe & Annahmen")
|
||||
and controller.help_text.text.contains("PCS-Annahme")
|
||||
and controller.help_text.text.contains("Gold")
|
||||
and controller.help_text.text.contains("Level 4"),
|
||||
"help dialog explains base value, levels, categories and PCS"
|
||||
)
|
||||
controller.help_dialog.hide()
|
||||
|
||||
scene.queue_free()
|
||||
await process_frame
|
||||
_finish()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue