Skip to content

docs+test: Design-Audit Phase 1 komplett + Fix Debian Secondary (#4B0523) - #11

Merged
Toqsick merged 2 commits into
mainfrom
docs/design-audit
Aug 20, 2026
Merged

Toqsick merged 2 commits into
mainfrom
docs/design-audit

Conversation

@Toqsick

@Toqsick Toqsick commented Aug 20, 2026

Copy link
Copy Markdown
Owner

🔍 Design-Audit Phase 1 – komplett

Schließt alle 4 Schritte der Audit-Phase aus der Design-Roadmap (#8) ab.

Neue Dateien

Datei Inhalt
docs/design/design-audit-inventory.md Schritt 1: Alle Color(0x…)/fromARGB/Colors.*-Vorkommen, Typo (32/24/20/16), Radius (2/7/8/10/20), Spacing inkl. Ausreißer (26/40/64/15/50/5), Icon-Größen (15–128)
docs/design/design-audit-inconsistencies.md Schritt 2: 33 token-konforme vs. ~15 verletzende Dateien, priorisierte Fix-Liste (10 Punkte), Sonderfunde
docs/design/design-audit-component-catalog.md Schritt 3: ~20 Komponenten mit Props & Zuständen, Zustands-Matrix (fehlende Focus/Loading-Zustände), Empfehlung: MintYButton + MintYButtonNavigate mergen
docs/design/screenshot-baseline.md Schritt 4: Golden-Test-Setup, Mock-Strategie für System-Layouts, CI-Fallstricke
test/goldens/layout_golden_test.dart 8 Goldens: Buttons/Messages/BarChart × 3 Akzente (mint/debian/zorin) + MintYPage 1280×720 + Light-Referenz. Benötigt flutter pub add --dev golden_toolkit

🔴 Wichtige Befunde

  1. Fix enthalten: Debian Secondary ist #4B0523 (nicht #2AB9A4) – korrigiert in lib/layouts/mint_y_tokens.dart
  2. Mutations-Hack in single_bar_chart.dart: final-Feld wird im build() mutiert; undokumentierter Dark-Track #575757 → muss in PR [TRACKER] refactor(dashboard): Widgets auf MintYColors ThemeExtension migrieren (PR B) #10 nachgeschärft werden
  3. Colors.blue als Distro-Fallback in main.dart bricht die Mint-Y-Identität
  4. #7F7FFF – verwaiste Secondary-Farbe ohne Distro-Zuordnung (Klärung offen)
  5. secondaryHeaderColor wird als Chart-Track missbraucht (semantisch falsch)

Hinweis

Keine Änderungen an App-Logik außer dem Debian-Farbfix. Golden-Test-Baseline muss lokal generiert werden (--update-goldens), Anleitung in screenshot-baseline.md.

… component catalog, golden baseline setup) + fix debian secondary color
Copilot AI lite review requested due to automatic review settings August 20, 2026 22:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants