⭐️⭐️⭐️ 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 { DEFAULT_COLOR, type IssueGroup } from '@/utils/project';
import { StateIcon } from '@/features/issue/components/shared/IssueIcons';
// The leading marker for a group header: a status icon for status groups,
// otherwise a colored dot. Shared by the board columns/swimlanes and the table
// sections.
export function GroupDot({ group }: { group: IssueGroup }) {
if (group.stateType)
return (
<StateIcon
stateType={group.stateType}
color={group.color ?? DEFAULT_COLOR}
className="size-3.5"
/>
);
return (
<span
className="inline-block h-2.5 w-2.5 rounded-full border"
style={{ backgroundColor: group.color ?? 'var(--muted-foreground)' }}
/>
);
}