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

kubevirt: add source and remove type from disks table #3562

Conversation

atiratree
Copy link
Member

changing according to our recent UI discussions

@glekner @matthewcarleton

btw, shouldn't we keep the name first?

tat

@openshift-ci-robot openshift-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. component/kubevirt Related to kubevirt-plugin labels Nov 25, 2019
@atiratree
Copy link
Member Author

/retest

@matthewcarleton
Copy link
Contributor

matthewcarleton commented Nov 25, 2019

@suomiy let me look at the order again. This could just be an artifact of the old Create VM Flow where we had an inline edit flow where source needed to be first because it would determine which fields followed when editing/creating a disk.

@matthewcarleton
Copy link
Contributor

@suomiy I think we could now align better with the console by putting the name first. We'll still want to keep the source first in the modal b/c it impacts other fields.

@atiratree
Copy link
Member Author

fixed, name comes first now

return {
wizardStorageData,
// for sorting
name: combinedDisk.getName(),
source: source && source.getValue(),
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe the safe accessing can move to getSource() ?

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed

@openshift-ci-robot openshift-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Nov 26, 2019
@rawagner
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 26, 2019
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rawagner, suomiy

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

1 similar comment
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@matthewcarleton
Copy link
Contributor

fixed, name comes first now

ok, this means we'll want to ensure it's the same everywhere now right (Name first)?

@atiratree
Copy link
Member Author

@suomiy I think we could now align better with the console by putting the name first. We'll still want to keep the source first in the modal b/c it impacts other fields.

ok, this means we'll want to ensure it's the same everywhere now right (Name first)?

not sure what you mean by that? The names are first in all tables, but not in the modals.

@matthewcarleton
Copy link
Contributor

@suomiy I think we could now align better with the console by putting the name first. We'll still want to keep the source first in the modal b/c it impacts other fields.

ok, this means we'll want to ensure it's the same everywhere now right (Name first)?

not sure what you mean by that? The names are first in all tables, but not in the modals.

ok, we have in some of our designs (maybe just CD-ROMs right now) where the source is still first so maybe that's the only one we need to update which I can do. FYI @glekner

@openshift-merge-robot openshift-merge-robot merged commit 529fc17 into openshift:master Nov 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. component/kubevirt Related to kubevirt-plugin lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants