Files
multica/packages
Lambda a6a22a259b feat(issues): badge resolved threads on the comment rail's preview card (MUL-5543)
The quick-jump rail is the one place where a resolved thread looked
exactly like an open one: the tick is the same, and the preview card
showed only the title and body excerpt. Scanning the rail gave no way to
tell "settled" from "still open" without jumping into the thread.

Add a leading "Resolved" badge to the card, in the same `text-success`
CheckCircle2 treatment CommentCard uses for its Resolution badge. The
state leads so it is read before the content.

The flag is derived with `deriveThreadResolution`, not taken from the
`resolved-bar` item kind: that kind only covers root resolutions that
are currently folded, so it would miss "Resolve thread with comment"
(reply) resolutions and would flip off the moment a user expanded a
folded thread.

The card is invisible to screen readers, so the tick's accessible name
carries the state too — "<title> (resolved)".

Co-authored-by: multica-agent <github@multica.ai>
2026-07-30 17:01:00 +08:00
..