Skip to content

Bug: UI Responsiveness and Alignment Issues in Live Dashboard #134

@utkarsh232005

Description

@utkarsh232005

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

  1. Run kdm watch to open the Live Dashboard.
  2. Have pods or docker containers with very long names, OR resize the terminal window to be narrower.
  3. Observe that the bounding boxes and text columns become misaligned.

Environment

  • OS: macOS
  • Terminal: zsh
  • CLI version: 1.2.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions