Remove status icon from network interface display
All checks were successful
Build and Release / build-and-release (push) Successful in 1m20s

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
This commit is contained in:
Christoffer Martinsson 2025-11-26 18:15:01 +01:00
parent fbbb4a4cfb
commit 00fe8c28ab
5 changed files with 9 additions and 10 deletions

6
Cargo.lock generated
View File

@ -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",

View File

@ -1,6 +1,6 @@
[package]
name = "cm-dashboard-agent"
version = "0.1.163"
version = "0.1.164"
edition = "2021"
[dependencies]

View File

@ -1,6 +1,6 @@
[package]
name = "cm-dashboard"
version = "0.1.163"
version = "0.1.164"
edition = "2021"
[dependencies]

View File

@ -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

View File

@ -1,6 +1,6 @@
[package]
name = "cm-dashboard-shared"
version = "0.1.163"
version = "0.1.164"
edition = "2021"
[dependencies]