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

Banned user reviews #855

Merged
merged 5 commits into from
Jun 27, 2018
Merged

Banned user reviews #855

merged 5 commits into from
Jun 27, 2018

Conversation

lyyder
Copy link
Contributor

@lyyder lyyder commented Jun 26, 2018

Currently showing reviews from banned users breaks as the data provided for those users by the API is limited. This PR solves this problem by showing a placeholder name in place of the author display name in such cases. Also the background of the banned user avatar is changed to match the marketplace color theme.

screen shot 2018-06-26 at 12 50 18

}

.backgroundDark {
stop-color: var(--marketplaceColor);
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd add more variables to marketplace.css

--bannedColorLight: var(--marketplaceColorLight);
stop-color: var(--bannedColorLight);

Copy link
Contributor

@Gnito Gnito left a comment

Choose a reason for hiding this comment

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

LGTM - although I'd create more colors to marketplace.css.
CSS parameterization makes customizations a bit easier.

Add new css properties for setting the background color used in the
banned users icon.
@lyyder lyyder merged commit 397c1e0 into master Jun 27, 2018
@lyyder lyyder deleted the banned-user-reviews branch June 27, 2018 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants