Repository navigation
fix(web): family tabs keep the lead whole and drop a shared topic - #1013
Merged
Merged
Conversation
On a crowded family row the "Lead" tab was cut to "L..." first. Every tab
could shrink, and the browser shrank each one by its full title length, so
the short lead tab lost its width fastest. The lead tab no longer shrinks,
and the other tabs start from one 200px basis, so the longest titles give
way first and cut tabs end up one width.
Threads from one job usually share a topic ("Pull Station: ..."), which
filled every tab before the cut. When two or more of a family's threads
start with the same topic, their tabs and their rows under the parent in
the sidebar now show only the rest. Both use one rule (familyTitles.logic)
over the same members, so a tab and its row read the same. A one-word topic
needs a separator after it, and a title keeps its full text when the rest
would clash with another label or say almost nothing. Hover, screen readers
and rename keep the full title.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 20, 2026
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On a crowded family tab row, the "Lead" tab was cut to "L..." before any longer tab. And when a lead starts many threads for one job, every tab and sidebar row began with the same topic ("Pull Station: ..."), so the part that tells them apart was cut off.
Lead tab. Every tab could shrink, and the browser shrank each one by its full title length, which hit the short lead tab hardest. The lead tab now never shrinks. The other tabs start from one 200px basis, so the longest titles give way first and cut tabs end up the same width, down to the existing 96px floor before "+N".
Shared topic. When two or more of a family's threads start with the same topic, their tabs and their rows under the parent in the sidebar show only the rest: "Pull Station: Android toolchain setup" becomes "Android toolchain setup". One rule (
familyTitles.logic.ts) runs over the same members for both, so a tab and its row read the same. Safeguards:The design doc (
docs/design/lead-chat.md) and the app guide's threads topic describe the rule.Tests: unit tests for the title rule and for sidebar labels staying put when a family is folded. A browser test with a lead and six long titles checks that "Lead" isn't cut, cut tabs share one width, tabs and tooltips show the right text, and the sidebar row matches its tab. It failed on the old code ("Lead" needed 27px and got 10).