Skip to content

Sort lists by name and simplify status bar command display with highlighted shortcuts - #15

Merged
Rotorsoft merged 3 commits into
masterfrom
ro/feature-14-sort-lists-by-name-and-simplify-status-b
Feb 12, 2026
Merged

Sort lists by name and simplify status bar command display with highlighted shortcuts#15
Rotorsoft merged 3 commits into
masterfrom
ro/feature-14-sort-lists-by-name-and-simplify-status-b

Conversation

@Rotorsoft

Copy link
Copy Markdown
Owner

Summary

  • Sort all lists (containers, images, networks, volumes) alphabetically by name/first column for consistent, predictable ordering
  • Simplify status bar command display by embedding highlighted shortcut letters within command names (e.g., _c_reate _s_tart) instead of the old key:command format
  • Rebind stop container shortcut from x to o, and rename n:run to c:create with updated help overlay

Demo Video

Not applicable — this is a terminal UI application (built with Ink/React CLI), not a web app. Playwright cannot capture terminal rendering. Manual verification in the terminal is required.

Test Plan

  • Run pnpm test — verify new sorting tests (sorting.test.tsx) and status bar tests (status-bar.test.tsx) pass
  • Run pnpm run typecheck && pnpm run lint — no type or lint errors
  • Manually verify all four tabs (containers, images, networks, volumes) display lists sorted alphabetically by name
  • Manually verify status bar shows compact format with highlighted shortcut letters (e.g., _c_reate _e_dit _s_tart)
  • Manually verify c shortcut opens the create/run dialog on containers and images tabs
  • Manually verify o shortcut stops a container (previously x)
  • Manually verify n key is unbound and no longer triggers any action
  • Manually verify all other keyboard shortcuts (vim navigation, tab switching, etc.) still work

Closes #14


Created with Claude by gent

rotorsoft and others added 2 commits February 12, 2026 11:20
Sort all list views alphabetically by first column (name/repository).
Refactor status bar to show highlighted shortcut letters within command
names using yellow underline. Apply same highlighting to global actions
on the right side. Show 'hjkl:nav' as plain dim text. Change stop
shortcut from 'x' to 'o' (stop). Rename 'n:run' to 'c:create'.

Completed GitHub issue #14

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@Rotorsoft Rotorsoft self-assigned this Feb 12, 2026
…isplay

Sorting was done inside each view component for display, but the parent
used unsorted source arrays for action lookups (inspect, edit, delete, etc.),
causing actions to target the wrong item. Now the parent sorts and filters
with useMemo before passing data to views and using it for all index lookups.

Completed GitHub issue #14

Co-Authored-By: Claude <noreply@anthropic.com>
@Rotorsoft
Rotorsoft merged commit 5b4a6be into master Feb 12, 2026
2 checks passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sort lists by name and simplify status bar command display with highlighted shortcuts

1 participant