Skip to content

tui3: hovered tab's full title sits on the blank row and ends under its tab - #1496

Merged
AbirAbbas merged 3 commits into
devfrom
tab-title-preview-blank-row
Sep 25, 2026
Merged

AbirAbbas merged 3 commits into
devfrom
tab-title-preview-blank-row

Conversation

@ZeroPoint95

@ZeroPoint95 ZeroPoint95 commented Sep 25, 2026 •

Copy link
Copy Markdown
Collaborator
1496

Changed

  • Blank row, not the rule. Hover a tab → its full title shows on the empty row under the head. The rule under the tabs stays drawn.
  • Ends under its tab. The title's right edge lines up with the tab's right edge (close mark included). Wider than the tab? It sticks out left.
  • Right only if it must. It takes room to the right only when it can't fit between the left margin and the tab. Wider than the whole row → wraps over the conversation, same as before.

Why

The title started at the left margin, so it read as part of the conversation below, not the tab above.

Checked

  • ✅ New test covers all three placements (fits · sticks out left · wraps)
  • ✅ Manual page (screen.md) says the same thing
  • ✅ make pr-ready light gate · ✅ make test-touched (rerun after a go.mod rewrite stopped the gate)

🤖 Generated with Claude Code

ZeroPoint95 and others added 3 commits September 24, 2026 23:38
…over the rule

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The preview started at the left margin, so it read as part of the
conversation below rather than the tab above. It is now right-aligned to
the tab's right edge, close cells included, and a title wider than the tab
sticks out to the left. Only a title too wide for the room left of that
edge takes cells to the right, and only as many as it needs; one wider than
the row still wraps from the margin over the conversation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@AbirAbbas
AbirAbbas merged commit 6005ae2 into dev Sep 25, 2026
4 checks passed
@AbirAbbas
AbirAbbas deleted the tab-title-preview-blank-row branch September 25, 2026 14:25
AbirAbbas added a commit that referenced this pull request Sep 25, 2026
Merged through a commit that stands for #1429's squash with the branch this
one was built on (6416a6c) as its second parent, so only the real
conflicts show.

tabtitle: #1496 put the hovered tab's full title on the head's blank row under
the rule; on this branch a chat's head is the nav, the strip, the rule and the
blank, so that row is chatHeadRows-1 and the strip's row is tabStripRow.

notice: #1487's quiet tip reads the keys row of a put-away column, which this
branch spells through sideBackHint (`alt+l tasks`, `alt+l traffic` for a
manager) rather than the retired railBackHint.

manual: #1495's workers heading stands before this branch's rewritten roster
paragraph; team_stop keeps #1429's background-member sentence beside this
branch's new rows; the dock and wall probes are both kept.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@santoshkumarradha santoshkumarradha added the area:chat The v3 surface a person sits in front of (internal/tui3) label Oct 3, 2026
@santoshkumarradha santoshkumarradha added this to the Chat & connections milestone Oct 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:chat The v3 surface a person sits in front of (internal/tui3)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants