fix(ui): show agent issue title as two lines on dashboard
Change the issue title in agent run cards from single-line truncate to line-clamp-2 so titles always occupy two lines for consistent card height. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -461,7 +461,7 @@ function AgentRunCard({
|
|||||||
<Link
|
<Link
|
||||||
to={`/issues/${issue?.identifier ?? run.issueId}`}
|
to={`/issues/${issue?.identifier ?? run.issueId}`}
|
||||||
className={cn(
|
className={cn(
|
||||||
"hover:underline min-w-0 truncate",
|
"hover:underline min-w-0 line-clamp-2",
|
||||||
isActive ? "text-blue-600 hover:text-blue-500 dark:text-blue-400 dark:hover:text-blue-300" : "text-muted-foreground hover:text-foreground",
|
isActive ? "text-blue-600 hover:text-blue-500 dark:text-blue-400 dark:hover:text-blue-300" : "text-muted-foreground hover:text-foreground",
|
||||||
)}
|
)}
|
||||||
title={issue?.title ? `${issue?.identifier ?? run.issueId.slice(0, 8)} - ${issue.title}` : issue?.identifier ?? run.issueId.slice(0, 8)}
|
title={issue?.title ? `${issue?.identifier ?? run.issueId.slice(0, 8)} - ${issue.title}` : issue?.identifier ?? run.issueId.slice(0, 8)}
|
||||||
|
|||||||
Reference in New Issue
Block a user