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: CSI Availability Gauges #7911

Merged
merged 9 commits into from
May 13, 2020
Merged

Conversation

DingoEatingFuzz
Copy link
Contributor

@DingoEatingFuzz DingoEatingFuzz commented May 9, 2020

They look like this and are used to measure how many instances of CSI node and controller plugins are in a healthy state:
image

Includes:

  • Implementation of the gauge chart
  • Application of the gauge chart
  • Stories in Storybook
  • Integration tests

@DingoEatingFuzz DingoEatingFuzz added this to the 0.11.2 milestone May 11, 2020
@DingoEatingFuzz DingoEatingFuzz requested review from backspace and a team May 13, 2020 04:39
this.renderChart();
},

mountD3Elements() {},
Copy link

Choose a reason for hiding this comment

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

is this intentionally empty ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Lol, whoops. You caught me copy/pasting. Will delete 👍

Copy link

@gregone gregone left a comment

Choose a reason for hiding this comment

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

This is beautiful. Mostly LGTM, but I have one question about the empty mountD3Elements method

Copy link
Contributor

@backspace backspace left a comment

Choose a reason for hiding this comment

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

I mostly ignored the changes that I think come from #7896 but this looks good to me, I did also wonder about that empty D3 function.

// a storage-related page, context should be reset to volumes.
const destination = this.router.currentRouteName.startsWith('csi.') ? 'csi.volumes' : 'jobs';

this.router.transitionTo(destination, {
Copy link
Contributor

Choose a reason for hiding this comment

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

This was already merged, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. I must have missed a spot when doing git surgery.

label: 'Gauge',
});

test('presents as an svg, a formatted percentage, and an svg', async function(assert) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this meant to be “and a label” maybe?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed.

@DingoEatingFuzz DingoEatingFuzz merged commit 5456147 into master May 13, 2020
@DingoEatingFuzz DingoEatingFuzz deleted the f-ui/csi-availability-gauge branch May 13, 2020 17:18
@github-actions
Copy link

github-actions bot commented Jan 6, 2023

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants