fix(desktop): stop coloring every chat PR chip as merged

Merged
SU
12d ago
+2-2

Summary

Fixes SUPER-2980.

A pull request mention in a chat message (GithubWorkItemChip) always rendered violet — GitHub's "merged" color — regardless of the PR's real state, so open PRs like #8240 looked merged.

The chip only knows the link's kind; the PR state is fetched lazily when the hover card opens (and the existing test guards that it is not fetched on render). So instead of implying a state, the PR chip now uses sky, a color that maps to no GitHub PR state. The hover card still shows the real state (Open / Draft / Merged / Closed) with its state color.

Test plan

  • bun test for GithubWorkItemChip (updated color assertion) — 3 pass
  • biome check

Summary by cubic

Fixes the chat PR chip always rendering violet — GitHub's "merged" color — so open pull requests looked merged. The chip now uses sky because it displays the link's kind, not the PR's state; the hover card still shows the real state (Open / Draft / Merged / Closed) with its state color.