Add network display and scaling controls #27

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

Story

As a TrueNAS user, I want to choose network interfaces and graph scales so that monitoring fits my workflow.

Context

Parent scope: #7.

Adapt btop controls using current interface samples and session-estimated totals.

Upstream: btop 5d03929a.

Acceptance criteria

  • Persist a preferred interface and cycle previous/next with b/n; handle an absent interface after switching servers.
  • Support fixed/automatic/synced scales and visible a/y controls.
  • Swap graph positions without swapping labels, meanings or counters.
  • Support bitrate formatting consistent with the base-10/binary preference.
  • Toggle/reset the displayed session-total baseline with z without changing server counters, retaining the estimate label.
  • Test scales, swaps, interface loss, server switching, units and resets.

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 network interfaces and graph scales so that monitoring fits my workflow. ## Context Parent scope: #7. Adapt btop controls using current interface samples and session-estimated totals. Upstream: [btop 5d03929a](https://github.com/aristocratos/btop/tree/5d03929a45e0720a4c8e2d189360ff1eb9ce1731). ## Acceptance criteria - [x] Persist a preferred interface and cycle previous/next with b/n; handle an absent interface after switching servers. - [x] Support fixed/automatic/synced scales and visible a/y controls. - [x] Swap graph positions without swapping labels, meanings or counters. - [x] Support bitrate formatting consistent with the base-10/binary preference. - [x] Toggle/reset the displayed session-total baseline with z without changing server counters, retaining the estimate label. - [x] Test scales, swaps, interface loss, server switching, units and resets. ## 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: 3ae42dae0e.

Checked preferred interface selection, b/n cycling, a/y scaling, graph swaps, bitrate units and server/interface-scoped z baselines. Tests cover absent interfaces, server switching, scales, direction labels, units and unchanged collected totals.

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: 3ae42dae0ea4658509632fdc002d3762f743bc99. Checked preferred interface selection, b/n cycling, a/y scaling, graph swaps, bitrate units and server/interface-scoped z baselines. Tests cover absent interfaces, server switching, scales, direction labels, units and unchanged collected totals. 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:56 +00:00
Sign in to join this conversation.
No description provided.