Skip to content

refactor: Add group badge to diff groups from users #4478

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
Oct 11, 2022

Conversation

BrunoQuaresma
Copy link
Collaborator

Closes #4459

Before:
Screen Shot 2022-10-11 at 10 25 28

After:
Screen Shot 2022-10-11 at 10 25 18

@BrunoQuaresma BrunoQuaresma self-assigned this Oct 11, 2022
@BrunoQuaresma BrunoQuaresma requested a review from a team as a code owner October 11, 2022 13:26
@BrunoQuaresma BrunoQuaresma requested review from code-asher and Kira-Pilot and removed request for a team October 11, 2022 13:26
height: 14,
},
},
}))(Badge)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does (Badge) do here? Is that applying the styles for Badge as well?

Copy link
Collaborator Author

@BrunoQuaresma BrunoQuaresma Oct 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it is a better way, IMO, to modify component styles. So what it does is extend the Badge component with the new styles.

Copy link
Member

@Kira-Pilot Kira-Pilot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cute!

Co-authored-by: Kira Pilot <kira@coder.com>
@BrunoQuaresma BrunoQuaresma enabled auto-merge (squash) October 11, 2022 14:31
@BrunoQuaresma BrunoQuaresma merged commit a64731e into main Oct 11, 2022
@BrunoQuaresma BrunoQuaresma deleted the bq/add-group-avatar branch October 11, 2022 14:39
@github-actions github-actions bot locked and limited conversation to collaborators Oct 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

groups: add visual indicator to distinguish groups from users
2 participants