Skip to content

Conversation

@Ruhdee
Copy link
Contributor

@Ruhdee Ruhdee commented Feb 9, 2026

Temporary PR for trying web colors for consistency.
For details: https://chat.zulip.org/#narrow/channel/530-mobile-design/topic/mention.20colors/with/2371198

In direct messages:

Before After
Old_light New_light
Old_dark New_dark

In mentions narrow:

Before After
Mentions_old_light Mentions_new_light
Mentions_old_dark Mentions_new_dark

This is a temporary PR only for trying out web colors for design purposes. Some of the code in this PR has been vibe-coded. Use caution if using this PR as a reference while working on #646 and #647.

Deleted enum 'UserMentionType' and outdated comments. Refactored
'parseUserMention' and changed it's return type to 'MentionNode'.
Refactored '_userMentionClassNameRegexp'.
…cally

Fixes zulip#1259.

Look up current user group name from PerAccountStore when rendering
mentions, while respecting "isSilent" flag. This ensures mentions
display correctly even if the user group name has been changed since
the message was sent. Falls back to original HTML text when user
group not found. Added 'user group mention dynamic name resolution'
tests group.
Temporary commit to check design. This commit is a preview of color
changes to be made in zulip#646 and zulip#647.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant