Skip to content

Add role tag #11805

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 10, 2025
Merged

Add role tag #11805

merged 2 commits into from
Apr 10, 2025

Conversation

masvelio
Copy link
Contributor

@masvelio masvelio commented Apr 9, 2025

Link to Issue

Closes: #11790

Description of Changes

  1. Added user tier handling with UserTierMap.IncompleteUser as default
  2. Enhanced user profile data handling with better null checks
  3. Added role display functionality across components using CWTag
  4. Improved thread and comment mapping to include user tier information
  5. Updated UI styling for user roles and profile displays

Test Plan

Should show tag:

  1. Within the community on hover of the user profile
  2. Thread Page
  3. On Discussions / Overview Pages

image

image

image

Deployment Plan

  1. n/a

Other Considerations

  • n/a

masvelio added 2 commits April 9, 2025 16:08
…omponents. Updated MinimumProfile to use UserTierMap for default tier, enhanced Profile and FullUser components to reflect user tier in comments and roles, and added shouldShowRole prop to relevant components.
…e unnecessary console log. Added shouldShowRole prop to CommentCard for improved role display handling.
@masvelio masvelio requested review from mzparacha and Israellund April 9, 2025 14:55
@masvelio masvelio merged commit dbad0a4 into master Apr 10, 2025
9 checks passed
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.

Display role tag
3 participants