Repository navigation
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
openrig-review
left a comment
There was a problem hiding this comment.
Approving the reviewed head 41960ce to start the macOS package tests. A host's display name in the explorer is now measured and clipped by terminal columns with the existing column helpers, so a wide name like 東京開発機 fits its budget and a joined emoji isn't split, with the host identity and reachability suffix still reserved. Thank you, @Vaishnavi220506.
|
Thanks, @Vaishnavi220506, this is merged into |
What a user gets
Host display names now fit the explorer's available terminal columns without splitting a grapheme. For example,
東京開発機previously produced a 17-column label in a 13-column budget, and clipping👩💻stationcould leave a partial joined emoji. Reuse the existingcolumnsandcolumnIndexhelpers while reserving space for the host identity and reachability suffix.How you verified it
Tested commit
41960cead4773c670bef85bb7e8e42dcc1abad86on Windows, Node 24.14.1:f2fe3e529failed in four cases: three wide labels and the joined emoji.npx vitest run packages/tui/test/host-label-width.test.ts packages/tui/test/terminal-safe-text.test.ts packages/tui/test/emoji-truncation.test.ts— 25 passed.npm run build— passed.npm run lint— passed.git diff origin/main...HEAD --check— passed.npm test— incomplete: repository script checks reported failures in unchanged packaging/policy/POSIX-oriented checks, and the run stopped making progress and was interrupted. Workspace suites were not reached.Anything you were unsure about
Rendering is verified through deterministic unit tests; no native terminal session was exercised. As before, the command identity and reachability suffix are retained when they alone exceed the available width.
If this is security-related
N/A.
CHANGELOG.mdeditSummary by CodeRabbit