Skip to content

fix(startup): reorganize HUD stats panel layout#36

Open
aporcelli wants to merge 1 commit into
Gentleman-Programming:mainfrom
aporcelli:feat/hud-stats-panel
Open

fix(startup): reorganize HUD stats panel layout#36
aporcelli wants to merge 1 commit into
Gentleman-Programming:mainfrom
aporcelli:feat/hud-stats-panel

Conversation

@aporcelli
Copy link
Copy Markdown
Contributor

@aporcelli aporcelli commented Jun 2, 2026

Summary

Reorganizes the startup HUD stats panel so information is grouped more intuitively and every pixel column is used efficiently. No more wasted real estate.


Visual change

Before (current main)

Wide terminal — 5 rows, VER eats an entire row for one number:

GIT:  On branch main            PATH: /home/user/project
MCP:  2 server(s)              PLUGINS: 8 package(s)
AGENTS:  6 phases               EXTENSIONS: 7 active
SKILLS:  45 loaded              TOOLS: 3 custom
VER:   v1.2.3

Narrow terminal — PATH comes after GIT (backwards for navigating), VER buried in the middle:

GIT:  On branch main
PATH: /home/user/project
MCP:  2 server(s)
PLUGINS:  8 package(s)
AGENTS:  6 phases
SKILLS:  45 loaded
EXTENSIONS:  7 active
VER:   v1.2.3
TOOLS:  3 custom

After (this PR)

Wide terminal — 4 compact rows, VER sits on the right of the first row where it belongs (you always glance top-right for a version number):

PATH: /home/user/project      EXTENSIONS: 7 active      VER: v1.2.3
GIT:  On branch main          PLUGINS: 8 package(s)
MCP:  2 server(s)             SKILLS: 45 loaded
AGENTS:  6 phases             TOOLS: 3 custom

Narrow terminal — PATH comes first (you want to know WHERE you are before which BRANCH), VER at the bottom:

PATH: /home/user/project
GIT:  On branch main
MCP:  2 server(s)
PLUGINS:  8 package(s)
AGENTS:  6 phases
SKILLS:  45 loaded
EXTENSIONS:  7 active
TOOLS:  3 custom
VER:   v1.2.3

What changed (code)

  • addWideRow — now accepts an optional 3rd label/value pair (l3, v3). This lets the first row carry VER on the right without needing a dedicated row. The function stays backward-compatible: existing 4-arg calls still work unchanged.
  • Wide pairings reordered for logical grouping: PATH + EXTENSIONS + VER, GIT + PLUGINS, MCP + SKILLS, AGENTS + TOOLS
  • Narrow order — PATH first (where you are, visually primary), VER last (status line, visually secondary)
  • Column widths — slimmed down to fit 3 columns in wide mode without clipping or line wrap

What did NOT change

  • ✅ CLI/tty guards — preserved exactly as in main
  • ✅ Terminal-size mode selection (full/minimal/skip) — untouched
  • ✅ Resize handling — untouched
  • ✅ Rose/logo rendering, animation, glint, sparkle — untouched
  • ✅ Banner config commands (/gentle:banner, /gentle:toggle-rose, etc.) — untouched
  • ✅ No new commands, shortcuts, or state — nothing added

Test plan

  • All 30 existing unit tests pass
  • Runtime harness passes
  • Brace balance verified (0 diff)
  • Only extensions/startup-banner.ts changed
  • Diff is +23/−34 lines, all inside the stats panel layout section

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant