From 00fe8c28ab20cc8241b8c76bff8195223966a71c Mon Sep 17 00:00:00 2001 From: Christoffer Martinsson Date: Wed, 26 Nov 2025 18:15:01 +0100 Subject: [PATCH] Remove status icon from network interface display Network interfaces now display without status icons since there's no meaningful status to show. Just shows interface name and IP addresses with subnet compression. Version bump to 0.1.164 --- Cargo.lock | 6 +++--- agent/Cargo.toml | 2 +- dashboard/Cargo.toml | 2 +- dashboard/src/ui/widgets/system.rs | 7 +++---- shared/Cargo.toml | 2 +- 5 files changed, 9 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 45033f3..f0cb1a4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -279,7 +279,7 @@ checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d" [[package]] name = "cm-dashboard" -version = "0.1.163" +version = "0.1.164" dependencies = [ "anyhow", "chrono", @@ -301,7 +301,7 @@ dependencies = [ [[package]] name = "cm-dashboard-agent" -version = "0.1.163" +version = "0.1.164" dependencies = [ "anyhow", "async-trait", @@ -324,7 +324,7 @@ dependencies = [ [[package]] name = "cm-dashboard-shared" -version = "0.1.163" +version = "0.1.164" dependencies = [ "chrono", "serde", diff --git a/agent/Cargo.toml b/agent/Cargo.toml index 2280dd7..189f00e 100644 --- a/agent/Cargo.toml +++ b/agent/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cm-dashboard-agent" -version = "0.1.163" +version = "0.1.164" edition = "2021" [dependencies] diff --git a/dashboard/Cargo.toml b/dashboard/Cargo.toml index 979564f..9b13707 100644 --- a/dashboard/Cargo.toml +++ b/dashboard/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cm-dashboard" -version = "0.1.163" +version = "0.1.164" edition = "2021" [dependencies] diff --git a/dashboard/src/ui/widgets/system.rs b/dashboard/src/ui/widgets/system.rs index 786e99b..8768323 100644 --- a/dashboard/src/ui/widgets/system.rs +++ b/dashboard/src/ui/widgets/system.rs @@ -644,11 +644,10 @@ impl SystemWidget { interface_text.push_str(&interface.ipv6_addresses.join(", ")); } - let mut spans = vec![ + lines.push(Line::from(vec![ Span::styled(tree_symbol, Typography::tree()), - ]; - spans.extend(StatusIcons::create_status_spans(Status::Ok, &interface_text)); - lines.push(Line::from(spans)); + Span::styled(interface_text, Typography::secondary()), + ])); } lines diff --git a/shared/Cargo.toml b/shared/Cargo.toml index f087439..29bf71f 100644 --- a/shared/Cargo.toml +++ b/shared/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cm-dashboard-shared" -version = "0.1.163" +version = "0.1.164" edition = "2021" [dependencies]