From f4b61db7539d59ec0515db634f01c7d067e97df3 Mon Sep 17 00:00:00 2001 From: iris Date: Mon, 31 Aug 2026 18:28:53 +0200 Subject: [PATCH] IssueReportPage: match the corrected row shape, assignees is a list damocles caught it on the swarm-controller PR: forge's assignee field is legacy single-value, assignees is the real multi-assignee list, and this repo actually uses multiple. Widen the frontend's row type + column to match -- rendered comma-joined the same way labels already are. --- .../swarm-ui/src/pages/IssueReportPage.tsx | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/frontend/packages/swarm-ui/src/pages/IssueReportPage.tsx b/frontend/packages/swarm-ui/src/pages/IssueReportPage.tsx index 62171995..a20b7351 100644 --- a/frontend/packages/swarm-ui/src/pages/IssueReportPage.tsx +++ b/frontend/packages/swarm-ui/src/pages/IssueReportPage.tsx @@ -34,13 +34,17 @@ interface IssueReportRow { number: number; title: string; labels: string[]; - assignee: string | null; + // `string[]`, not a single `assignee` — forge's own `assignee` field is + // the legacy single-value one; `assignees` is the real multi-assignee + // list, and this repo actually uses multiple (caught against an + // earlier draft of this row shape that had it singular). + assignees: string[]; html_url: string | null; blocked: boolean; depended_on_by_count: number; } -type SortKey = 'repo' | 'number' | 'title' | 'assignee' | 'blocked' | 'depended_on_by_count'; +type SortKey = 'repo' | 'number' | 'title' | 'assignees' | 'blocked' | 'depended_on_by_count'; type SortDir = 'asc' | 'desc'; // Sentinel `