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

feat(ui): add memory card to machine details overview #1836

Merged
merged 3 commits into from
Nov 4, 2020

Conversation

squidsoup
Copy link
Contributor

Done

-add memory card to machine details overview

QA

MAAS deployment

To run this branch you will need access to one of the following MAAS deployments:

Running the branch

You can run this branch by:

QA steps

  • Ensure the memory card renders as expected.
  • Ensure links in the results list take you to the testing tab.
  • With a machine with no memory tests run, ensure the "Test memory..." link opens the testing take action button with the appropriate memory tests selected.

Fixes

Fixes: # .

Launchpad issue

Related Launchpad maas issue in the form lp#number.

Backports

In general, please propose fixes against master rather than release branches (e.g. 2.7), unless the fix is only applicable for that specific release. Please apply backport labels to the PR (e.g. "Backport 2.7") for the appropriate releases to target.

Only bug and security fixes should be backported, new features should only land in master.


<div className="overview-card__memory-tests u-flex--vertically">
<ul className="p-inline-list u-no-margin--bottom" data-test="tests">
{machine.memory_test_status.passed > 0 ? (
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you think this whole test traffic light thing could be extracted out into a component?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, I'll add a card for that

Copy link
Contributor

@Caleb-Ellis Caleb-Ellis left a comment

Choose a reason for hiding this comment

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

LGTM!

@squidsoup squidsoup merged commit faad1f5 into canonical:master Nov 4, 2020
@squidsoup squidsoup deleted the add-memory-card branch November 4, 2020 19:53
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.

3 participants