Add CPU display options #24

Closed
opened 2026-11-16 14:39:28 +00:00 by aaron · 1 comment
Owner

Story

As a TrueNAS user, I want to choose the CPU readings and graphs shown so that monitoring fits my workflow.

Context

Parent scope: #7.

Use current usage, temperatures and system info. No frequency, wattage, sensor-discovery or GPU APIs.

Upstream: btop 5d03929a.

Acceptance criteria

  • Choose upper/lower sources from available total/core usage with clear Auto/default behavior.
  • Support lower inversion and single-graph mode.
  • Allow temperature/core-temperature visibility and Celsius/Fahrenheit/Kelvin/Rankine units.
  • Allow a custom CPU name and uptime visibility.
  • Apply per-panel graph choices and keep missing readings visibly unavailable.
  • Test source availability, units, toggles and server switches with differing core counts.

Validation

Run focused tests through mise run test --filter <name> and relevant existing mise format/lint tasks. Record interactive or platform checks required by this issue; report anything untested.

Dependencies

Blocked by #10, #18.

## Story As a TrueNAS user, I want to choose the CPU readings and graphs shown so that monitoring fits my workflow. ## Context Parent scope: #7. Use current usage, temperatures and system info. No frequency, wattage, sensor-discovery or GPU APIs. Upstream: [btop 5d03929a](https://github.com/aristocratos/btop/tree/5d03929a45e0720a4c8e2d189360ff1eb9ce1731). ## Acceptance criteria - [x] Choose upper/lower sources from available total/core usage with clear Auto/default behavior. - [x] Support lower inversion and single-graph mode. - [x] Allow temperature/core-temperature visibility and Celsius/Fahrenheit/Kelvin/Rankine units. - [x] Allow a custom CPU name and uptime visibility. - [x] Apply per-panel graph choices and keep missing readings visibly unavailable. - [x] Test source availability, units, toggles and server switches with differing core counts. ## Validation Run focused tests through `mise run test --filter <name>` and relevant existing mise format/lint tasks. Record interactive or platform checks required by this issue; report anything untested. ## Dependencies Blocked by #10, #18.
aaron added this to the v0.2.0 milestone 2026-11-16 14:41:42 +00:00
Author
Owner

Verified against pushed main at 1a17d5f520. Completing commit: 7b2d2e9264.

Checked total/core/Auto source selection, inversion, single graph, temperature visibility/units, CPU name and uptime in src/ui/view/cpu.rs. Tests cover changing core counts, absent readings, units and preference changes.

Fresh checks: all 103 Rust/CLI tests, all lint tasks, all-target/all-feature compilation, build, and all 3 Unix installer tests passed on macOS. The owner approved the live UI and panel-border controls. Final cross-platform packaged-binary checks remain in #7.

Closing after verification; the push stopped automatic issue processing at the dependency on #10.

Verified against pushed main at 1a17d5f520b4aee3f38250931223df054858f6fb. Completing commit: 7b2d2e926459a59f18fca728e8d43d2d2e94e821. Checked total/core/Auto source selection, inversion, single graph, temperature visibility/units, CPU name and uptime in src/ui/view/cpu.rs. Tests cover changing core counts, absent readings, units and preference changes. Fresh checks: all 103 Rust/CLI tests, all lint tasks, all-target/all-feature compilation, build, and all 3 Unix installer tests passed on macOS. The owner approved the live UI and panel-border controls. Final cross-platform packaged-binary checks remain in #7. Closing after verification; the push stopped automatic issue processing at the dependency on #10.
aaron closed this issue 2026-11-16 17:29:48 +00:00
Sign in to join this conversation.
No description provided.