diff --git a/Cargo.lock b/Cargo.lock index dbea4f1..774d34e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -270,7 +270,7 @@ checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d" [[package]] name = "cm-dashboard" -version = "0.1.77" +version = "0.1.78" dependencies = [ "anyhow", "chrono", @@ -292,7 +292,7 @@ dependencies = [ [[package]] name = "cm-dashboard-agent" -version = "0.1.77" +version = "0.1.78" dependencies = [ "anyhow", "async-trait", @@ -315,7 +315,7 @@ dependencies = [ [[package]] name = "cm-dashboard-shared" -version = "0.1.77" +version = "0.1.78" dependencies = [ "chrono", "serde", diff --git a/agent/Cargo.toml b/agent/Cargo.toml index 366796e..7c98b9d 100644 --- a/agent/Cargo.toml +++ b/agent/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cm-dashboard-agent" -version = "0.1.78" +version = "0.1.79" edition = "2021" [dependencies] diff --git a/dashboard/Cargo.toml b/dashboard/Cargo.toml index 91f2be6..2b42e39 100644 --- a/dashboard/Cargo.toml +++ b/dashboard/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cm-dashboard" -version = "0.1.78" +version = "0.1.79" edition = "2021" [dependencies] diff --git a/dashboard/src/ui/theme.rs b/dashboard/src/ui/theme.rs index 2905f74..6bcab4a 100644 --- a/dashboard/src/ui/theme.rs +++ b/dashboard/src/ui/theme.rs @@ -143,7 +143,7 @@ impl Theme { pub fn status_color(status: Status) -> Color { match status { Status::Ok => Self::success(), - Status::Inactive => Self::muted_text(), // Gray for inactive services + Status::Inactive => Self::muted_text(), // Gray for inactive services in service list Status::Pending => Self::highlight(), // Blue for pending Status::Warning => Self::warning(), Status::Critical => Self::error(), diff --git a/shared/Cargo.toml b/shared/Cargo.toml index d532819..9cdf222 100644 --- a/shared/Cargo.toml +++ b/shared/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cm-dashboard-shared" -version = "0.1.78" +version = "0.1.79" edition = "2021" [dependencies] diff --git a/shared/src/metrics.rs b/shared/src/metrics.rs index d758992..e4cd409 100644 --- a/shared/src/metrics.rs +++ b/shared/src/metrics.rs @@ -82,8 +82,8 @@ impl MetricValue { /// Health status for metrics #[derive(Debug, Clone, Copy, Serialize, Deserialize, PartialEq, Eq, PartialOrd, Ord)] pub enum Status { - Ok, - Inactive, // Same priority as Ok for aggregation + Inactive, // Lowest priority - treated as good + Ok, // Second lowest - also good Unknown, Offline, Pending,