Skip to content
Open
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
28 changes: 21 additions & 7 deletions packages/core/src/ui/pages/queue.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ import {
DropdownMenuTrigger,
} from "@/components/ui/dropdown-menu";
import { Input } from "@/components/ui/input";
import {
Tooltip,
TooltipContent,
TooltipTrigger,
} from "@/components/ui/tooltip";
import type { JobInfo, JobStatus } from "@/core/types";
import {
useBulkDelete,
Expand All @@ -51,7 +56,6 @@ import {
useRefresh,
useResumeQueue,
} from "@/lib/hooks";
import { truncate } from "@/lib/utils";
import type { QueueSearch } from "@/router";

interface QueuePageProps {
Expand Down Expand Up @@ -523,12 +527,22 @@ function JobRow({ job, selected, onSelect, onClick }: JobRowProps) {
<Checkbox checked={selected} />
</div>
<FileText className="h-4 w-4 shrink-0 text-muted-foreground" />
<div className="min-w-0">
<div className="truncate font-medium">{job.name}</div>
<div className="truncate font-mono text-xs text-muted-foreground">
{truncate(job.id, 24)}
</div>
</div>
<Tooltip>
<TooltipTrigger asChild>
<div className="min-w-0">
<div className="truncate font-medium">{job.name}</div>
<div className="truncate font-mono text-xs text-muted-foreground">
{job.id}
</div>
</div>
</TooltipTrigger>
<TooltipContent align="start" className="max-w-[28rem]">
<div className="font-medium">{job.name}</div>
<div className="break-all font-mono text-muted-foreground">
{job.id}
</div>
</TooltipContent>
</Tooltip>
</div>
<div className="col-span-2">
<StatusBadge status={job.status} duration={job.duration} />
Expand Down