Skip to content

fix(sidebar): give compact host rows the full name line - #2

Merged
LukeGus merged 1 commit into
Termix-SSH:dev-1.1.0from
Rhiz3K:fix/sidebar-host-row
Oct 29, 2026
Merged

LukeGus merged 1 commit into
Termix-SSH:dev-1.1.0from
Rhiz3K:fix/sidebar-host-row

Conversation

@Rhiz3K

@Rhiz3K Rhiz3K commented Oct 25, 2026

Copy link
Copy Markdown

In compact density the host row squeezed the name and the status/address line into one short row, so long names were cut early and the hover actions covered the name. Compact host rows now get the full name line and a second line for details (row height 48 px, COMPACT_HOST_ROW_HEIGHT), and the virtualizer uses the same height. Comfortable density is unchanged (screenshot is byte-identical).

Files: HostItem.tsx, SidebarTree.tsx, tests HostItem.test.tsx, sidebar-density.test.tsx.

Screenshots (before → after)

Before After
Compact, 250 px
Compact hover, 250 px
Compact, 400 px
Comfortable, 250 px (unchanged)

Verification

  • npm test: 64 files, 398 tests pass.
  • npm run typecheck, npx prettier --check ., npx termix-plugin validate, npm run build: pass.
  • npx termix-plugin test sometimes exits 1 with EnvironmentTeardownError ("Closing rpc while onUserConsoleLog was pending") from tests/frontend/layout/classic-layout.test.tsx. This also happens on unchanged main, so it isn't caused by this change.

Compact rows put the name, tags, address and actions on one line, so
names were cut to a few characters. The name now has its own line with
the pin and lock markers; actions, address and tags that fit go on a
second line, and the tooltip always lists the address and all tags.
@termix-triage-bot

Copy link
Copy Markdown

AI review | Looks safe to merge

Refactors compact host rows into a fixed 48px two-line layout and simplifies virtualizer height estimates. Follows plugin rules, uses i18n correctly, and includes comprehensive tests.

Reviewed 677fb64. AI can be wrong, a maintainer still decides. Comment /termix review to run it again.

@LukeGus
LukeGus changed the base branch from main to dev-1.1.0 October 29, 2026 17:58
@LukeGus
LukeGus merged commit 8b93500 into Termix-SSH:dev-1.1.0 Oct 29, 2026
1 check passed
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.

2 participants