feat(ui): Übersicht als Überblick mit Gesamtzustand, Datenqualität und Fehleranzeige (#1197, DASH-R1 AP6, AP7)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GmHhg7qE8FdhchzsBrwgjZ
This commit is contained in:
2026-11-22 10:52:25 +01:00
parent 1a35f0f89c
commit bc5fcd6aa7
7 changed files with 582 additions and 80 deletions

View File

@ -214,6 +214,16 @@ impl Metrics {
self.lock().faults.remove(model);
}
/// Modelle, deren Start fehlgeschlagen und noch nicht behoben ist.
pub fn start_faults(&self) -> Vec<String> {
self.lock()
.faults
.iter()
.filter(|(_, (art, _))| art == "start")
.map(|(modell, _)| modell.clone())
.collect()
}
/// Letzter ungelöster Fehler des Modells: Art und Text.
pub fn fault(&self, model: &str) -> Option<(String, String)> {
self.lock().faults.get(model).cloned()