Skip to content

fix(ui): put faces after the channel name and pin only in the context menu - #520

Merged
iamnbutler merged 3 commits into
mainfrom
sidebar-faces
Oct 19, 2026
Merged

iamnbutler merged 3 commits into
mainfrom
sidebar-faces

Conversation

@iamnbutler

Copy link
Copy Markdown
Contributor

Sidebar rows no longer hold space at the right edge for the facepile and a hover pin button.

  • The facepile follows the channel name inside the row. The name truncates only when the name and the faces don't both fit, and the faces always stay fully visible.
  • Pin and unpin are only in the row's context menu (Pin channel / Unpin channel). The hover pin button, its hit area, and the pr-13 / pr-17 / pr-24 padding are gone, along with the unused SessionActions and hasVisibleActions.
  • Regular rows, hoverExpand rows, and lobby rows all render the same title line, so they all get the change.
  • The Presence tooltip still opens from the faces. Because the faces are now inside the row's button, the trigger has an empty title, so a row's summary tooltip can't cover the presence tooltip. A lane note records this.
  • Retired three lane notes about the removed pin button and trailing slot.

Checked in a temporary Vite preview in headless Chromium (not committed). It covered short and long names, 0 to 4 people (including +1 overflow and an away person), a selected row, lobby rows, and both the plain and hoverExpand variants, plus the presence tooltip and the context menu. Screenshot not attached because gh can't upload images.

Fixes #505

Built in Ace

No — Claude Code subagent outside Ace, run by the lead during a batch of fixes.

… menu

Sidebar rows reserved space at the right edge for the facepile and a hover pin
button, so short names truncated with room to spare. The facepile now follows
the name inside the row, the name alone shrinks when both don't fit, and pin
and unpin live only in the row's context menu.

Fixes #505

Why: packages/ui/src/components/session-item/session-item.tsx#function Presence | the facepile sits inside the row's button, so its trigger keeps an empty title or the row's summary tooltip covers the presence tooltip
@iamnbutler
iamnbutler merged commit 515104f into main Oct 19, 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.

Sidebar rows: put faces after the channel name and move pin to the context menu

1 participant