fix: Feature-Auswahl im Element-Dialog pending und live
- Feature-Button folgt dem pending Typ/Kuerzel statt dem gespeicherten Segment; nach der Kuerzelwahl wird er sofort aktiv - Feature-Auswahl aktualisiert Level, Base Value und Hinweis live - Erst Uebernehmen schreibt Typ, Kuerzel, Features, Level und Standzeit in einem Undo-Schritt; Abbrechen verwirft - 259 Whiteboard-Assertions (918 gesamt) - Doku und Findings aktualisiert
This commit is contained in:
parent
1f5834752e
commit
15f7eab9cf
6 changed files with 234 additions and 72 deletions
|
|
@ -195,7 +195,9 @@ Begrenzung auf zwei Features pro Fuß.
|
|||
(Pirouetten, Schrittsequenzen) und übernimmt die Auswahl undo-fähig. Der
|
||||
Level wird daraus automatisch gesetzt und der Level-Regler ist bei
|
||||
Katalog-Elementen read-only; Sprünge sind fest Base, `ChSq` fest Level 1.
|
||||
Ein Hinweis zeigt Feature-Anzahl und abgeleitetes Level.
|
||||
Die Feature-Auswahl bleibt bis zum Übernehmen pending; erst dann werden
|
||||
Typ, Kürzel, Features, Level und Standzeit in einem Undo-Schritt
|
||||
gespeichert. Ein Hinweis zeigt Feature-Anzahl und abgeleitetes Level.
|
||||
Die Timing-Details (Dauer/Tempo/Profil) werden beim Setzen und für
|
||||
Punktmarker ausgeblendet, damit die Leiste auch im Landscape kompakt bleibt.
|
||||
- **Prüfung:** Der Button „Prüfen“ in der Statusleiste validiert alle
|
||||
|
|
@ -366,7 +368,7 @@ Aktueller Stand:
|
|||
Prüfstatistik je Kategorie.
|
||||
- **Canvas:** 90 Assertions für Meter→Pixel-Mapping, Fit/Zoom/Pan,
|
||||
Rink-Kontur und die reine Bogen-Geometrie.
|
||||
- **Whiteboard:** 253 Assertions für Controller-Verdrahtung, Segmenterzeugung,
|
||||
- **Whiteboard:** 259 Assertions für Controller-Verdrahtung, Segmenterzeugung,
|
||||
Linien-/Bogenpfade, Klemmen an der Bande, Auswahl, Griff- und
|
||||
Richtungs-/Kanten-Bearbeitung, Segmentlöschung, Element-Marker (Setzen,
|
||||
Typwechsel, Inspector inkl. Kürzelauswahl, Standzeit, Base-Value- und
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ der Feature-Auswahl.
|
|||
| Unbekannte Freitext-Codes | Level bleibt manuell |
|
||||
| Oberfläche | Level-Regler bei Katalog-Elementen read-only |
|
||||
| Undo | Feature- und Leveländerung in einem Schritt |
|
||||
| Tests | 912 Assertions gesamt, `./tools/test.sh` grün |
|
||||
| Tests | 918 Assertions gesamt, `./tools/test.sh` grün |
|
||||
|
||||
## Verhalten
|
||||
|
||||
|
|
@ -34,6 +34,21 @@ der Feature-Auswahl.
|
|||
- Der Feature-Hinweis zeigt nur noch `Features: n · Level m`; die frühere
|
||||
Mismatch-Anzeige entfällt bei automatisch abgeleiteten Elementen.
|
||||
|
||||
## Feature-Auswahl im Dialog
|
||||
|
||||
Die Feature-Auswahl ist eine **Pending-Auswahl**:
|
||||
|
||||
1. Typ und Kürzel im Dialog wählen.
|
||||
2. Der Button **Features (n)** wird aktiv, sobald das Kürzel im Katalog steht.
|
||||
3. Features anhaken; Level, Base Value und Hinweis aktualisieren sich sofort.
|
||||
4. Erst **Übernehmen** schreibt Typ, Kürzel, Features, Level und Standzeit in
|
||||
einem Undo-Schritt ins Segment. **Abbrechen** verwirft die Auswahl.
|
||||
|
||||
Damit ist die Feature-Prüfung nicht mehr an das bereits gespeicherte Segment
|
||||
gebunden. Vorher blieb der Button nach einem Typ-/Kürzelwechsel stumm, weil er
|
||||
noch die alten Segmentdaten las; das war der gemeldete „Level bleibt Base“-
|
||||
Effekt.
|
||||
|
||||
## Auswirkungen auf Altdaten
|
||||
|
||||
- Ein gespeicherter manueller Level ohne Features wird beim nächsten Öffnen
|
||||
|
|
@ -55,7 +70,7 @@ der Feature-Auswahl.
|
|||
|
||||
## Tests
|
||||
|
||||
Erweitert: `tests/run_whiteboard_tests.gd` (241 → 253 Assertions)
|
||||
Erweitert: `tests/run_whiteboard_tests.gd` (241 → 259 Assertions)
|
||||
|
||||
- Katalog-Spin ohne Features ist Base
|
||||
- vier Features ergeben Level 4, drei Level 3, zwei Level 2
|
||||
|
|
@ -64,6 +79,8 @@ Erweitert: `tests/run_whiteboard_tests.gd` (241 → 253 Assertions)
|
|||
- Level-Regler ist bei Katalog-Spin deaktiviert
|
||||
- Suffix-Code und unbekannter Freitext-Code funktionieren weiterhin
|
||||
- Sequenzbereich erhält Level 2 aus zwei Features
|
||||
- kompletter Dialogfluss von leeren Marker über Typ-/Kürzelwahl und
|
||||
Feature-Auswahl bis zum bestätigten Level 2
|
||||
|
||||
Visuell geprüft über `tests/manual/capture_elements.gd ... features` bei
|
||||
1400 × 876: `Level 2` ausgegraut, `Base Value: 2,50`, Status `CCoSp L2`.
|
||||
|
|
|
|||
|
|
@ -160,11 +160,12 @@ Unbekannte Kürzel erscheinen als „Kürzel nicht im Katalog 2025/26“. Der
|
|||
Hinweis aktualisiert sich bei Änderungen an Typ, Kürzel und Features; der
|
||||
Tooltip nennt Saison und Quelle.
|
||||
|
||||
Darunter liegt der Button **Features (n)**. Er öffnet eine Checkbox-Liste mit
|
||||
den Features des Elementtyps; die Auswahl wird beim Schließen übernommen und
|
||||
ist undo-fähig. Der Level-Regler ist bei Katalog-Elementen read-only und folgt
|
||||
der Feature-Auswahl: 0 Features → Base, 1 → Level 1 … 4 → Level 4. Der Hinweis
|
||||
zeigt z. B. `Features: 2 · Level 2`.
|
||||
Darunter liegt der Button **Features (n)**. Er wird aktiv, sobald Typ und
|
||||
Kürzel im Katalog stehen. Er öffnet eine Checkbox-Liste mit den Features des
|
||||
Elementtyps; die Auswahl bleibt bis zum Übernehmen pending und ist dann Teil
|
||||
desselben Undo-Schritts. Der Level-Regler ist bei Katalog-Elementen read-only
|
||||
und folgt der Feature-Auswahl: 0 Features → Base, 1 → Level 1 … 4 → Level 4.
|
||||
Der Hinweis zeigt z. B. `Features: 2 · Level 2`.
|
||||
|
||||
## Prüfung
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue