Add mouse navigation to menus and dashboard controls #12
Labels
No labels
build
client
config
presets
priority
p0
priority
p1
priority
p2
priority
p3
priority
p4
state
blocked
state
in progress
state
triage
theming
type
bug
type
chore
type
enhancement
type
fix
type
optimization
type
release
type
spec
ui
ux
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#9 Add the main menu and route keyboard input
aaron/tntop
#10 Add the options menu and field editing
aaron/tntop
Reference
aaron/tntop#12
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Story
As a TrueNAS user, I want to navigate controls and lists with the mouse so that monitoring fits my workflow.
Context
Parent scope: #7.
src/ui.rs ignores non-key events. Mouse and keyboard should invoke the same actions; later controls must add corresponding hit areas.
Upstream: btop 5d03929a.
Acceptance criteria
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 #9, #10.
Verified against pushed main at
1a17d5f520. Completing commit:410e64be62.Checked mouse hit dispatch, menu/category/row targets, list scrolling, overlay isolation, disabled input and terminal capture cleanup in src/ui/mouse.rs and src/ui.rs. The border-control tests pass at 70x24 and 160x60, including highlighted keys, click actions and non-overlapping targets.
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.