Skip to content

Conversation

@glekner
Copy link
Contributor

@glekner glekner commented Aug 25, 2019

This PR implements a CDRom interface which includes a detail view of the CDRoms state, and a Modal to edit them.

@openshift-ci-robot openshift-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 25, 2019
@openshift-ci-robot
Copy link
Contributor

Hi @glekner. Thanks for your PR.

I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot openshift-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. component/kubevirt Related to kubevirt-plugin labels Aug 25, 2019
@glekner glekner force-pushed the cdrom-ui branch 6 times, most recently from 7176466 to e62c41a Compare August 27, 2019 13:25
@openshift-ci-robot openshift-ci-robot added the component/core Related to console core functionality label Aug 27, 2019
@matthewcarleton
Copy link
Contributor

@glekner looking good so far. Will this PR cover editing as well?

@glekner
Copy link
Contributor Author

glekner commented Aug 29, 2019

@glekner looking good so far. Will this PR cover editing as well?

What do you mean by editing? I have some questions about the form validations maybe you can @ me at slack or chat

@glekner glekner force-pushed the cdrom-ui branch 3 times, most recently from 9438119 to 81ffeec Compare September 1, 2019 08:13
@openshift-ci-robot openshift-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Sep 1, 2019
@glekner glekner force-pushed the cdrom-ui branch 8 times, most recently from 7372078 to bd5dd99 Compare September 4, 2019 11:39
@glekner
Copy link
Contributor Author

glekner commented Oct 24, 2019

  • Changed CSS @matthewcarleton (removed side paddings)
  • Fixed new ModalFooter disabled prop and added inProgress prop
  • Uses new ModalFooter now

@glekner glekner force-pushed the cdrom-ui branch 3 times, most recently from cb5323a to 400fe1f Compare October 25, 2019 10:44
@glekner
Copy link
Contributor Author

glekner commented Oct 25, 2019

  • Reverted factory/modal changes

@glekner glekner force-pushed the cdrom-ui branch 4 times, most recently from 2b2ad9a to 7eb9cf5 Compare October 26, 2019 10:21
Copy link
Contributor

@matthewcarleton matthewcarleton Oct 28, 2019

Choose a reason for hiding this comment

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

can you explain this why this is required?

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm still not sure why we need custom classes for these. We could use pf-l-grid with pf-m-gutter. Maybe we can talk further about this if that's helpful.

@glekner glekner force-pushed the cdrom-ui branch 2 times, most recently from 83e835a to 6663ad6 Compare October 29, 2019 11:06
@glekner
Copy link
Contributor Author

glekner commented Oct 29, 2019

  • Updated VM Templates to support the new CD interface
  • Updated CSS Grid layout

@mareklibra @matthewcarleton I added a button to the VM-Disks view to help create/edit CDs please approve.

image

@matthewcarleton
Copy link
Contributor

  • Updated VM Templates to support the new CD interface
  • Updated CSS Grid layout

@mareklibra @matthewcarleton I added a button to the VM-Disks view to help create/edit CDs please approve.

image

Thanks for adding this @glekner a couple of comments:

  • I'm not sure we want to have a specific action here for cd-roms. IMO it opens up a larger discussion about all the different type of disks that could exist here and having specific actions for each.
  • I think we need a separate design effort to determine how CD-ROMs are edited via the disks tab so we can consider the larger issue of editing in general here.
  • We also wouldn't want to have more than one primary action here.

Interested in @jelkosz opinion here as well.

@glekner
Copy link
Contributor Author

glekner commented Oct 29, 2019

@matthewcarleton Since the table now also shows the type (which can be cdrom), thought we need a way to edit it.
I also edited the Edit button in the kebab menu for each Disk, so if its a cdrom it will open the new Modal. So I can remove the new Pimary action.

@jelkosz
Copy link

jelkosz commented Oct 29, 2019

@glekner we need to be consistent. If all the other disks are being edited using the edit from the row in which they are in, we need to open it from there. I would certainly remove the "Edit CD-ROMs button" from here.

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Oct 29, 2019

@glekner: The following tests failed, say /retest to rerun them all:

Test name Commit Details Rerun command
ci/prow/e2e-aws-console 0e0de587da7a7d98bf976f4ec689f9a0e641f8b0 link /test e2e-aws-console
ci/prow/e2e-gcp 7a615a93dcc4668660e3a9fd24a1a045d3941696 link /test e2e-gcp
ci/prow/e2e-aws-console-olm afdac9c9306c562588020348dde8fdc8491b5a57 link /test e2e-aws-console-olm

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mareklibra
Copy link
Contributor

mareklibra commented Oct 30, 2019

@glekner , Please run linter with --fix
otherwise lgtm

@mareklibra
Copy link
Contributor

/lgtm

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: glekner, mareklibra

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

The pull request process is described here

Details 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-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 30, 2019
@openshift-merge-robot openshift-merge-robot merged commit 9ce25a5 into openshift:master Oct 30, 2019
@glekner glekner deleted the cdrom-ui branch October 30, 2019 11:49
@spadgett spadgett added this to the v4.3 milestone Oct 31, 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/ceph Related to ceph-storage-plugin component/core Related to console core functionality component/dashboard Related to dashboard component/dev-console Related to dev-console component/kubevirt Related to kubevirt-plugin component/metal3 Related to metal3-plugin component/monitoring Related to monitoring component/noobaa Related to noobaa-storage-plugin component/olm Related to OLM component/sdk Related to console-plugin-sdk component/shared Related to console-shared lgtm Indicates that a PR is ready to be merged. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants