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

Add warning for Boot menu switch on running VM. #560

Merged
merged 1 commit into from
Apr 10, 2018

Conversation

bond95
Copy link
Contributor

@bond95 bond95 commented Apr 9, 2018

Fixes: #549

Running VM:
image

Not running VM:
image


This change is Reviewable

@bond95 bond95 requested review from jniederm and mareklibra April 9, 2018 14:10
Copy link
Contributor

@mareklibra mareklibra left a comment

Choose a reason for hiding this comment

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

Minor comments, but release is pending ...

isUp &&
<React.Fragment>
<span className='pficon pficon-warning-triangle-o' />
&nbsp;
Copy link
Contributor

Choose a reason for hiding this comment

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

In this case, use of padding would be better.
Considering time constraint, let's keep it for a follow-up.

@@ -262,6 +262,7 @@ export const messages = {
network: 'Network',
noNetwork: 'No network',
vnicProfileEmpty: '<Empty>',
bootMenuWarning: 'All changes will take effect only after reboot!',
Copy link
Contributor

Choose a reason for hiding this comment

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

Please no exclamation mark ! in similar texts.
Considering time constraint, let's keep it for a follow-up

@mareklibra mareklibra merged commit 7703fd2 into oVirt:master Apr 10, 2018
@@ -435,6 +435,7 @@ class VmDialog extends React.Component {
}

const isEdit = !!vm
const isUp = (isEdit && vm.get('status') === 'up')
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be isRunning

mareklibra added a commit that referenced this pull request Apr 10, 2018
mareklibra added a commit that referenced this pull request Apr 10, 2018
mareklibra added a commit that referenced this pull request Apr 10, 2018
@mareklibra mareklibra mentioned this pull request Apr 10, 2018
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.

2 participants