Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 3 additions & 0 deletions changelog/unreleased/Skyfay-history-error-truncate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### 🐛 Bug Fixes

- **history**: A long error of a failed run is cut short in the Status column of the History page instead of stretching the column. The whole error shows on hover and on the page of the run.
4 changes: 3 additions & 1 deletion src/components/dashboard/history/run-cells.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ export function LiveBar({ percent, className }: { percent: number | null; classN

export function RunStatusCell({ row }: { row: RunRow }) {
const tone = row.status === "Failed" ? "text-destructive" : row.status === "Partial" ? "text-warning" : "text-muted-foreground";
// The table sizes its columns by their content, so a long error would stretch the column.
// The note stops at a fixed width here, the whole text is in its title and on the page of the run.
return (
<div className="min-w-0">
<div className="min-w-0 max-w-72">
<ExecutionStatusBadge status={row.status} />
{row.status === "Running" ? (
<div className="mt-1.5 flex items-center gap-2">
Expand Down
Loading