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

UI - fix perf standby feature display #5971

Merged
merged 5 commits into from Dec 18, 2018
Merged

UI - fix perf standby feature display #5971

merged 5 commits into from Dec 18, 2018

Conversation

meirish
Copy link
Contributor

@meirish meirish commented Dec 18, 2018

Perf standbys are always in the features list (in pro and prem), but there's also performance_standby_count which is 0 in pro and 2 in prem. This PR changes the license component to display count if there is one, and to show Performance Standby as Not Active if the count is 0.

screen shot 2018-12-18 at 10 04 41 am

screen shot 2018-12-18 at 10 09 51 am

@meirish meirish requested review from a team December 18, 2018 16:13
madalynrose
madalynrose previously approved these changes Dec 18, 2018
Copy link
Contributor

@madalynrose madalynrose left a comment

Choose a reason for hiding this comment

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

This looks great!

@@ -71,7 +71,8 @@
{{#each featuresInfo as |info|}}
{{#info-table-row label=info.name value=(if info.active "Active" "Not Active") data-test-feature-row="data-test-feature-row"}}
{{#if info.active}}
<ICon @size=28 @glyph="true" /> <span data-test-feature-status>Active</span>
<ICon @size=28 @glyph="true" /> <span data-test-feature-status>Active {{#if info.count}}&mdash;
Copy link
Contributor

Choose a reason for hiding this comment

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

💅 &mdash; fanciness

Co-Authored-By: meirish <meirish@users.noreply.github.com>
@meirish
Copy link
Contributor Author

meirish commented Dec 18, 2018

screen shot 2018-12-18 at 10 48 23 am

@meirish meirish merged commit fb35119 into master Dec 18, 2018
@meirish meirish deleted the ui-perf-standby branch December 18, 2018 17:01
@meirish meirish added this to the 1.0.2 milestone Jan 7, 2019
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.

None yet

3 participants