Extract CPU model number only to save display space
All checks were successful
Build and Release / build-and-release (push) Successful in 1m35s

- Parse Intel models (i3/i5/i7/i9-XXXX) from full name
- Parse AMD Ryzen models (Ryzen X XXXX) from full name
- Display format: "i7-9700 (8 cores)" instead of full CPU name
- Reduces CPU section width significantly
This commit is contained in:
2025-12-01 19:23:26 +01:00
parent 5bc250a738
commit 7a0dc27846
5 changed files with 55 additions and 8 deletions

6
Cargo.lock generated
View File

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