Compare commits

..

1 Commits

Author SHA1 Message Date
f53df5440b Remove 'Repo' prefix from backup header display
All checks were successful
Build and Release / build-and-release (push) Successful in 1m10s
Simplify backup section header by removing the 'Repo' prefix and
displaying only the timestamp with status icon. Repository details
are still shown as sub-items below the timestamp.
2025-12-09 20:32:05 +01:00
5 changed files with 8 additions and 9 deletions

6
Cargo.lock generated
View File

@@ -279,7 +279,7 @@ checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d"
[[package]] [[package]]
name = "cm-dashboard" name = "cm-dashboard"
version = "0.1.268" version = "0.1.269"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"chrono", "chrono",
@@ -301,7 +301,7 @@ dependencies = [
[[package]] [[package]]
name = "cm-dashboard-agent" name = "cm-dashboard-agent"
version = "0.1.268" version = "0.1.269"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"async-trait", "async-trait",
@@ -325,7 +325,7 @@ dependencies = [
[[package]] [[package]]
name = "cm-dashboard-shared" name = "cm-dashboard-shared"
version = "0.1.268" version = "0.1.269"
dependencies = [ dependencies = [
"chrono", "chrono",
"serde", "serde",

View File

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

View File

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

View File

@@ -544,9 +544,8 @@ impl SystemWidget {
"unknown".to_string() "unknown".to_string()
}; };
// Header: "Repo <complete timestamp>" // Header: just the timestamp
let repo_text = format!("Repo {}", time_display); let repo_spans = StatusIcons::create_status_spans(self.backup_status, &time_display);
let repo_spans = StatusIcons::create_status_spans(self.backup_status, &repo_text);
lines.push(Line::from(repo_spans)); lines.push(Line::from(repo_spans));
// List all repositories with archive count and size // List all repositories with archive count and size

View File

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