status colours

This commit is contained in:
Oliver Bryan
2026-01-10 21:49:26 +00:00
parent 1a8dc1a57e
commit 5db22961c5
20 changed files with 2033 additions and 62 deletions

View File

@@ -23,7 +23,7 @@ export function IssueDetailPane({
project: ProjectResponse;
issueData: IssueResponse;
members: UserRecord[];
statuses: string[];
statuses: Record<string, string>;
close: () => void;
onIssueUpdate?: () => void;
}) {
@@ -98,7 +98,11 @@ export function IssueDetailPane({
chevronClassName="hidden"
isOpen={isOpen}
>
<StatusTag status={value} className="group-hover:bg-foreground/75" />
<StatusTag
status={value}
colour={statuses[value]}
className="hover:opacity-85"
/>
</SelectTrigger>
)}
/>