import { type CreatorRef, creatorHue, creatorInitials, creatorLabel, } from "../lib/creator-initials"; import { cn } from "../lib/utils"; /** * The round creator chip: who started this workstream, at a glance. Renders * nothing for service/system creators and unattributed legacy rows, so the one * "the rail shows people, not machinery" rule lives in `creatorInitials`. * * Decorative by construction: `aria-hidden` with a `title` tooltip. The * surrounding row owns the screen-reader wording, so a chip and its * announcement never drift apart. */ export function CreatorMonogram({ createdBy, className, showTitle = true, }: { createdBy: CreatorRef; className?: string | undefined; /** Disable the native delayed tooltip when a richer parent hover surface owns the label. */ showTitle?: boolean | undefined; }) { const initials = creatorInitials(createdBy); if (!initials) return null; return ( ); }