Skip to content

Commit

Permalink
JobList: Drop hover text
Browse files Browse the repository at this point in the history
Now that we have expandos, we don't need the tooltips.

Signed-off-by: Zack Cerza <[email protected]>
  • Loading branch information
zmc committed Jan 25, 2024
1 parent dfce1e1 commit b32c9df
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/components/JobList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,6 @@ const columns: MRT_ColumnDef<Job>[] = [
accessorKey: "status",
size: 120,
filterVariant: "select",
// filterSelectOptions: ["pass", "fail", "dead", "running", "waiting", "unknown"],
Cell: ({ row }) => {
let failure_reason = row.original.failure_reason || "";
const max_length = 800;
const ellipsis = "...";
if ( failure_reason.length > max_length ) {
failure_reason = failure_reason.substring(0, max_length - ellipsis.length) + ellipsis;
}
return (
<Tooltip title={failure_reason}>
<span>{row.original.status}</span>
</Tooltip>
);
}
},
{
header: "links",
Expand Down

0 comments on commit b32c9df

Please sign in to comment.