Show subnet and port-count overview beside network inventory #11
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?
Delivery status
All five commits (
044888a,53e680d,3630678,afb0eb2,6df1532) are now pushed toorigin/main. Remote HEAD was verified as6df1532cca8632c0c2c6066faf1b9ec2ab5de076.The scoped implementation and local source/browser/worker verification described below are complete and delivered. Closing this implementation/fix issue. Remaining native desktop and live-cloud acceptance is tracked centrally in #10; no native/live-cloud pass is claimed. Older paragraphs describing an unpushed change or per-issue confirmation hold are superseded by this delivery status.
User requested a right-hand network overview listing subnets and the number of ports per subnet, without listing individual ports. Implement a paged cached summary, count distinct ports from their fixed-IP subnet assignments (including dual-stack ports), and show incomplete/stale data explicitly. Keep UI, application client and SQLite aggregation separate. Source validation required; do not commit test suites or artifacts. Requested while implementing VM actions in #10.
Implementation and validation
Implemented locally in commit
044888a(pushed to origin/main). The network inventory has a right-hand subnet/port-count sidebar, retained when opening network details. Subnet lists are paged at 25 entries. The worker aggregates published profile-scoped SQLite generations; UI does not fetch every port. Ports count once per subnet regardless of multiple fixed IPs. Dual-stack ports may count in two subnet totals. Unknown/legacy mappings and incomplete inventories show unknown counts; offline/stale counts are identified as saved inventory.Svelte check, frontend build, worker source/manifests, full CloudProfile browser integration and responsive component checks passed. SQLite verification covered paging, network isolation, duplicate-IP/dual-stack counting, empty collections, old/missing mappings and offline state. The bound RPC route and native response allowlist were checked.
Native desktop/runtime acceptance is outstanding: this environment lacks Rust/Cargo. Issue remains OPEN until that acceptance is complete. No artifacts or test suites were added to the source repository.
Interaction correction (#13)
The user clarified that the sidebar belongs only inside an opened network. Follow-up local commit
53e680dremoves it from the general Networks list, including summary RPCs. The opened-network view retains subnet counts; returning to the list removes the sidebar. Browser verification passed. The current behavior supersedes the earlier general-inventory sidebar description.