Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,14 @@ export const ExtraInfoLabel = ({
return (
<div className="d-flex align-start extra-info-container">
<Typography.Text
className="whitespace-nowrap text-sm d-flex flex-col gap-2 w-full"
className="text-sm d-flex flex-col gap-2 w-full"
data-testid={dataTestId}>
{!isEmpty(label) && (
<span className="extra-info-label-heading">{label}</span>
<Typography.Text
className="extra-info-label-heading"
ellipsis={{ tooltip: true }}>
{label}
</Typography.Text>
)}

<Typography.Text
Expand Down Expand Up @@ -140,7 +144,11 @@ export const ExtraInfoLink = ({
'w-48': ellipsis,
})}>
{!isEmpty(label) && (
<span className="extra-info-label-heading m-r-xss">{label}</span>
<Typography.Text
className="extra-info-label-heading m-r-xss"
ellipsis={{ tooltip: true }}>
Copy link

Copilot AI Apr 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ExtraInfoLink now applies ellipsis={{ tooltip: true }} to the label unconditionally, even when the ellipsis prop is false. This makes the prop’s behavior inconsistent (it currently only controls adding w-48) and can unexpectedly truncate labels in callers that didn’t opt into ellipsis. Consider applying the label ellipsis conditionally based on the ellipsis prop (or rename/remove the prop if the intent is to always truncate labels).

Suggested change
ellipsis={{ tooltip: true }}>
ellipsis={ellipsis ? { tooltip: true } : false}>

Copilot uses AI. Check for mistakes.
{label}
</Typography.Text>
)}
<div className="d-flex items-center gap-1">
<Tooltip title={value}>
Expand Down
Loading