-
Notifications
You must be signed in to change notification settings - Fork 5k
fix: allow board column tag to shrink so aggregate value remains visible #17372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
fix: allow board column tag to shrink so aggregate value remains visible #17372
Conversation
Greptile SummaryFixed a UI overflow issue where long select option labels in board columns would push the aggregate value (e.g., '12.6m') out of view.
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant BoardColumn as RecordBoardColumnHeader
participant Tag as StyledTag
participant Aggregate as AggregateDropdown
User->>BoardColumn: View board column
BoardColumn->>Tag: Render column label (long text)
Note over Tag: min-width: 0 allows shrinking<br/>overflow: hidden clips content
Tag-->>BoardColumn: Truncated label with ellipsis
BoardColumn->>Aggregate: Render aggregate value
Note over Aggregate: Aggregate remains visible<br/>in StyledLeftContainer
Aggregate-->>User: Display value (e.g., '12.6m')
|
|
🚀 Preview Environment Ready! Your preview environment is available at: http://bore.pub:30898 This environment will automatically shut down when the PR is closed or after 5 hours. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 1 file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 2 files
|
To reproduce the aggregate values like "5.5m" shown in the screenshot:
The aggregate value will then display instead of "-".
@lucasbordeau Can you please review the changes? |

Summary
When a select option label is long, it was pushing the aggregate value (e.g., '12.6m') out of view because the tag had
flex-shrink: 0.Changed to
min-width: 0andoverflow: hiddento allow the tag to shrink and truncate with ellipsis, keeping the aggregate value visible.Changes
StyledTagin RecordBoardColumnHeader.tsx to allow shrinkingThe Tag component already has built-in text truncation with
OverflowingTextWithTooltip, so this change enables that functionality to work properly.Fixes #17350