fix(network-topology): harden with edge-case fixes, logging, and test coverage (#583)

* fix(network-topology): harden with edge-case fixes, logging, and test coverage

Fixes stale data on node switch (topology now refreshes when active node changes),
adds manual refresh button to toolbar, and guards against containers with empty
Names arrays by falling back to a 12-char short ID. Adds operational and diagnostic
logging around topology fetches, and introduces 25 unit tests covering happy paths,
system network filtering, stack resolution, container deduplication, edge cases,
and error handling.

* docs: refresh screenshots
This commit is contained in:
Anso
2026-04-14 10:59:11 -04:00
committed by GitHub
parent 5bc709fc25
commit 23fc702296
8 changed files with 616 additions and 3 deletions
+1
View File
@@ -116,6 +116,7 @@ Switch to the **Topology** view to see an interactive graph of your Docker netwo
- **Container nodes** - Cards showing container name, state indicator, stack badge, image name, and IP addresses per network
- **Edges** - Animated color-coded connections between networks and their containers
- **Click-to-logs** - Click any running container node to open its log viewer directly
- **Refresh** - Use the refresh button in the toolbar to re-fetch the topology on demand
- Pan, zoom, and drag nodes to explore the topology
- A mini map in the bottom-right provides an overview
Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 58 KiB