"use client"; import { STATUS_COLORS, STATUS_LABELS, PREFIX_COLORS, PREFIX_LABELS } from "@/lib/types"; interface StatusLegendProps { prefixes: string[]; } export default function StatusLegend({ prefixes }: StatusLegendProps) { const statuses = ["open", "in_progress", "blocked", "closed"]; return (
{/* Status legend */}

Status

{statuses.map((status) => (
{STATUS_LABELS[status]}
))}
{/* Project prefix legend */} {prefixes.length > 1 && (

Projects (outer ring)

{prefixes.map((prefix) => (
{PREFIX_LABELS[prefix] || prefix}
))}
)} {/* Interaction hints */}

Interactions

Click Select node
Hover Highlight connections
Scroll Zoom in/out
Drag Pan / Move nodes
Pinch Zoom (touch)
); }