fix(react): keep labels next to truncated title in issue/project rows#20291
Merged
Conversation
Removes flex-1 from the title element wrapping EllipsisText in the My Issues row and the Projects table name cell. flex-1 made the title consume all available space, pushing sibling labels and the archived badge to the far edge instead of sitting next to the title. With just min-w-0, the title sizes to its content and still shrinks/truncates when the row overflows. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
ecmadao
approved these changes
May 11, 2026
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.



Summary
EllipsisTexton the My Issues row and the Projects table, the title element kept itsmin-w-0 flex-1, so it consumed all available width and pushed sibling labels / the archived badge to the far right edge of the row.flex-1from both call sites. The title now sizes to its content (labels sit next to it) and still shrinks + truncates when the row overflows, becausemin-w-0is preserved on a flex item that already defaults toflex-shrink: 1.Test plan
pnpm --dir frontend type-checkpnpm --dir frontend check(lint + Biome + i18n + layering + locale sort)🤖 Generated with Claude Code