Description
The KDM Live Dashboard (kdm watch) does not adapt properly to different terminal window sizes or long resource names, leading to layout breakage and misaligned borders.
Expected Behavior
The UI (built with Ink) should be fully responsive. It should gracefully handle terminal resizes, intelligently truncate or wrap long container/pod names without breaking the box layouts, and ensure the grid columns remain correctly aligned on smaller screens.
Current Behavior
When terminal sizes change or when container names are lengthy, the two-column layout (Kubernetes Pods and Docker Containers) breaks its boundaries, pushing text into the next column, wrapping improperly, or breaking the box borders.
Steps to Reproduce
- Run
kdm watch to open the Live Dashboard.
- Have pods or docker containers with very long names, OR resize the terminal window to be narrower.
- Observe that the bounding boxes and text columns become misaligned.
Environment
- OS: macOS
- Terminal: zsh
- CLI version: 1.2.5
Description
The KDM Live Dashboard (
kdm watch) does not adapt properly to different terminal window sizes or long resource names, leading to layout breakage and misaligned borders.Expected Behavior
The UI (built with Ink) should be fully responsive. It should gracefully handle terminal resizes, intelligently truncate or wrap long container/pod names without breaking the box layouts, and ensure the grid columns remain correctly aligned on smaller screens.
Current Behavior
When terminal sizes change or when container names are lengthy, the two-column layout (
Kubernetes PodsandDocker Containers) breaks its boundaries, pushing text into the next column, wrapping improperly, or breaking the box borders.Steps to Reproduce
kdm watchto open the Live Dashboard.Environment