feat: add problem detection framework for common problems (#2412)
Introduces a ProblemManager that detects and surfaces actionable issues (stale config, legacy frigate-hass-card resources, slow/failed streams) via status bar indicators and notification popups with fix actions.
This commit is contained in:
+2
-5
@@ -1,5 +1,6 @@
|
||||
import { z } from 'zod';
|
||||
import type { EffectOptions } from './card-controller/effects/types';
|
||||
import type { Link } from './config/schema/common/link';
|
||||
import type { LovelaceCard, LovelaceCardConfig, LovelaceCardEditor } from './ha/types';
|
||||
|
||||
// UI-facing media types for galleries and views.
|
||||
@@ -49,10 +50,6 @@ export interface MediaLoadedInfo {
|
||||
}
|
||||
|
||||
export type MessageType = 'info' | 'error' | 'connection' | 'diagnostics';
|
||||
export interface MessageURL {
|
||||
link: string;
|
||||
title: string;
|
||||
}
|
||||
|
||||
export interface Message {
|
||||
message: string;
|
||||
@@ -60,7 +57,7 @@ export interface Message {
|
||||
icon?: string;
|
||||
context?: unknown;
|
||||
dotdotdot?: boolean;
|
||||
url?: MessageURL;
|
||||
link?: Link;
|
||||
}
|
||||
|
||||
export type WebkitHTMLVideoElement = HTMLVideoElement & {
|
||||
|
||||
Reference in New Issue
Block a user