Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.

Banned user reviews#855

Merged
lyyder merged 5 commits intomasterfrom
banned-user-reviews
Jun 27, 2018
Merged

Banned user reviews#855
lyyder merged 5 commits intomasterfrom
banned-user-reviews

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

@lyyder lyyder force-pushed the banned-user-reviews branch from f0b4112 to ad77d5a Compare June 26, 2018 09:52
@lyyder lyyder requested a review from Gnito June 26, 2018 09:55
@lyyder lyyder force-pushed the banned-user-reviews branch from 60d5047 to 06e869f Compare June 26, 2018 09:58
}

.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 force-pushed the banned-user-reviews branch from a8c38f3 to 33625ea Compare June 27, 2018 05:46
@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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants