Skip to content
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

Various UI updates on permissions #2765

Merged

Conversation

asaadmahmood
Copy link
Contributor

Summary

Various UI updates on permissions

Screenshots

Screenshot 2022-04-12 at 6 10 42 PM

Screenshot 2022-04-12 at 6 10 47 PM

@asaadmahmood asaadmahmood requested a review from a team as a code owner April 12, 2022 13:11
@asaadmahmood asaadmahmood requested review from Pinjasaur and Rajat-Dabade and removed request for a team April 12, 2022 13:11
Copy link
Contributor

@Pinjasaur Pinjasaur left a comment

Choose a reason for hiding this comment

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

LGTM. Non-blocking question: I noticed a few different opacity values that feel a bit like "magic numbers"—would it be worth making them variables or maybe multiples of some base amount? Not familiar enough to know if there's some larger pattern like that e.g. design system or not.

@asaadmahmood
Copy link
Contributor Author

asaadmahmood commented Apr 12, 2022

@Pinjasaur We use a 4/8px grid system for the opacities. That's how we do it in the webapp too. We previously had all the colors defined as variables (in the webapp), but we shifted to this approach.
So 4,8,16,24,32,48,56,64 etc

@asaadmahmood asaadmahmood merged commit ec39401 into mattermost-community:main Apr 13, 2022
@asaadmahmood asaadmahmood deleted the permissions-ui-upgdate branch April 13, 2022 13:03
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.

2 participants