⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
import type { ComponentProps, ReactNode } from "react";
import { cn } from "@/lib/cn";
import { sectionIdClass, sectionRowClass } from "./section-row-class";
type TaskReferenceRowProps = ComponentProps<"div"> & {
status: ReactNode;
displayId: string | null;
title: string;
done: boolean;
onOpen: () => void;
tag?: ReactNode;
assignee: ReactNode;
};
export function TaskReferenceRow({
status,
displayId,
title,
done,
onOpen,
tag,
assignee,
className,
...props
}: TaskReferenceRowProps) {
return (
<div
className={cn(sectionRowClass, "cursor-default", className)}
{...props}
>
{status}
<span className={sectionIdClass}>{displayId}</span>
<button
type="button"
onClick={onOpen}
className={cn(
"min-w-0 flex-1 text-left text-[13px] outline-none focus-visible:underline max-sm:line-clamp-2 sm:truncate",
done
? "text-muted-foreground line-through"
: "text-foreground/85 group-hover:text-foreground",
)}
>
{title}
</button>
{tag}
{assignee}
</div>
);
}