feat(terminal): network-info drill-down window (closes #46)#230
Merged
Conversation
The network-level sibling of the #45 node-info window. `[n]` now opens a full-screen modal (reusing runInfoModal) composing three already-available daemon methods into one overview: - GetNetworkStatus — dongle connection + TTY, home id + controller node, node count, in-flight session, uptime. - GetDongleInfo — the dongle's Z-Wave library version + type. - GetInitData — serial-API version, capabilities, chip type/version, and the startup node-bitmap count. Each section degrades independently: if one method errors the modal shows that line and still renders the rest. Terminal-only — the daemon aggregator (GetNetworkStatus) was already done. Replaces the two prior activity-log handlers (handleNetworkStatus + handleDongleInfo, both only reachable from [n]) with the single handleNetworkInfo modal. Docs: MANUAL §16g, CLAUDE.md, TODO.md (#46 done). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The network-level sibling of the #45 node-info window.
[n]now opens a full-screen network-info drill-down modal (reusingrunInfoModal) composing three already-available daemon methods into one overview:GetNetworkStatus— dongle connection + TTY, home id + controller node, node count, in-flight inclusion/exclusion session, uptime.GetDongleInfo— the dongle's Z-Wave library version + type.GetInitData— serial-API version, capabilities byte, chip type/version, and the startup node-bitmap count.Each section degrades independently: if one method errors (e.g. no dongle introspected yet) the modal shows that line and still renders the rest.
Scope
Terminal-only — the daemon aggregator (
GetNetworkStatus) was already done, per the issue. Replaces the two prior activity-log handlers (handleNetworkStatus+handleDongleInfo, both only reachable from[n]) with the singlehandleNetworkInfomodal — no functionality lost, and dongle/init detail is now presented together instead of scrolling the log.Verification
gnuandllvmbuild clean (daemon + terminal); 483/483 ctest; clang-tidy + clang-format clean on the changed files.Docs
MANUAL §16g, CLAUDE.md, TODO.md (#46 marked done).
🤖 Generated with Claude Code