⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.
TypeScript agenticagileai-agentsbug-reportingbug-trackerganttissue-trackerjirajira-alternativekanbanlinearlinear-alternativeopen-sourceproduct-managementproject-managementroadmapself-hostedsprint-planningteam-collaborationtrello-alternative
import { ChevronDown, ChevronRight } from 'lucide-react';
import { cn } from '@/lib/utils';
// The heading of one group of properties, spanning both columns of the Properties
// grid. The whole row toggles the group.
export default function IssuePropertyGroupHeading({
label,
open,
onToggle,
className,
}: {
label: string;
open: boolean;
onToggle: () => void;
className?: string;
}) {
const Chevron = open ? ChevronDown : ChevronRight;
return (
<button
type="button"
className={cn(
'col-span-2 flex items-center gap-1.5 text-muted-foreground/70 hover:text-foreground',
className,
)}
onClick={onToggle}
>
<span className="h-px flex-1 bg-border/60" />
<span className="text-[10px] font-semibold tracking-wide uppercase">{label}</span>
<Chevron className="size-3" />
</button>
);
}