Files
krust/docs
ErfanandClaude Opus 4.8 75a72158fd feat(ui): sort indicator and pods-table metric column redesign (#17)
Sort visibility:
- mark the active sort column in the table header with a direction arrow
  (Name ↑ / Status ↓) and add a [SORT] <col><dir> field to the top status bar
- add `:sort <name|namespace|status|age> [asc|desc]` command (with autocomplete)

Pods-table readability:
- reorder columns to Namespace | Name | Status | Age, then split the combined
  CPU/MEM right-sizing cell into six fixed-width, right-aligned, normalized
  columns: CPU CR CL | MEM MR ML (CR/CL = cpu %req/%lim, MR/ML = mem %req/%lim)
- per-cell severity coloring (a hot %limit reddens its own cell, not the row)
- column_spacing(2) and a flexible Name column so metrics stay aligned and
  always visible regardless of terminal width

Docs/roadmap: operator-guide updated for the new columns and :sort; ROADMAP
records the sort indicator and marks 4.4 (rendered describe) as skipped.

Tests: header-arrow render snapshot, :sort parsing, and updated pod usage
percentage assertions.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-25 09:54:48 +02:00
..