Skip to content

[2.x] fix: keep the unread comment icon's weight out of the forced style - #4878

Merged
imorland merged 1 commit into
2.xfrom
im/unread-comment-icon-no-override
Aug 2, 2026
Merged

[2.x] fix: keep the unread comment icon's weight out of the forced style#4878
imorland merged 1 commit into
2.xfrom
im/unread-comment-icon-no-override

Conversation

@imorland

@imorland imorland commented Aug 1, 2026

Copy link
Copy Markdown
Member

Follow-up to #4873, same class of bug: the discussion list signals unread replies by icon weight alonefas fa-comment (solid) for unread against far fa-comment (regular) for read. With a forced FontAwesome style configured, both restyled to the same weight and the two states became indistinguishable.

The unread icon now opts out with noStyleOverride, exactly like the online indicator and subscription stars.

Deliberately left following the forced style:

Verified: typecheck and Prettier clean. The visual (authenticated session, unread badge, override active) uses the identical mechanism manually verified in #4873.

The discussion list signals unread replies by icon weight alone: a
solid comment for unread against a regular one for read. Forcing a
FontAwesome style restyled both to the same weight, making the two
states indistinguishable.

The unread icon now opts out with noStyleOverride, the same exemption
the online indicator and subscription stars use (#4873). The read-state
icon still follows the forced style, so the contrast survives — the
checkmark shown on hover is an action glyph, not a weight signal, and
keeps following the forced style too.
@imorland
imorland requested a review from a team as a code owner August 1, 2026 19:51
@imorland imorland changed the title fix: keep the unread comment icon's weight out of the forced style [2.x] fix: keep the unread comment icon's weight out of the forced style Aug 1, 2026
@imorland imorland added this to the 2.0.0-rc.6 milestone Aug 1, 2026
@imorland
imorland merged commit 443c82f into 2.x Aug 2, 2026
25 checks passed
@imorland
imorland deleted the im/unread-comment-icon-no-override branch August 2, 2026 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant