gsxdsm
5b71bdb284
FN-7177: color PR badges by GitHub status
Align dashboard PR badges with live GitHub PR state colors.
- Add a shared PR badge modifier helper for open, draft, merged, closed, and conflict states.\n- Apply the helper to single and multi-PR task card badges so live payload changes repaint correctly.\n- Add token-backed merged/conflict styling, regression coverage, and a patch changeset.
Files changed:\n .changeset/fn-7177-pr-badge-status-color.md | 7 ++++\n packages/dashboard/app/components/GitHubBadge.tsx | 8 +++--\n packages/dashboard/app/components/TaskCard.tsx | 9 +++--\n .../app/components/__tests__/GitHubBadge.test.tsx | 1 +\n .../app/components/__tests__/TaskCard.test.tsx | 41 +++++++++++++++++++---\n packages/dashboard/app/styles.css | 15 ++++++--\n .../app/utils/__tests__/prBadgeClass.test.ts | 22 ++++++++++++\n packages/dashboard/app/utils/prBadgeClass.ts | 28 +++++++++++++++\n 8 files changed, 119 insertions(+), 12 deletions(-)
Fusion-Task-Id: FN-7177
Fusion-Task-Lineage: 23954f1b-d184-49a6-9635-7d9c1d0aea11
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-06-27 23:47:21 -07:00
..
2026-06-27 21:39:40 -07:00
2026-06-27 18:10:19 -07:00
2026-06-27 22:37:19 -07:00
2026-06-27 23:47:21 -07:00
2026-06-27 18:10:19 -07:00
2026-06-27 18:10:19 -07:00
2026-06-27 23:18:28 -07:00
2026-06-27 23:08:10 -07:00
2026-06-27 18:10:19 -07:00
2026-06-27 18:10:19 -07:00
2026-06-08 15:19:27 -07:00
2026-06-27 18:10:19 -07:00