Skip to content

Conversation

@alecmerdler
Copy link
Contributor

@alecmerdler alecmerdler commented Jan 6, 2020

Description

Improves on the OpenShift integration with Quay via the Container Security Operator (CSO) console extension.

Changes

  • List view for ImageManifestVuln
  • Detail view for ImageManifestVuln
  • Nav item for ImageManifestVuln under Administration
  • Kebab action for Pods to view associated ImageManifestVulns (if any)

Screenshots

ImageManifestVuln list view:
Screenshot_20191227_145932

ImageManifestVuln detail view:
Screenshot_20200103_120459

ImageManifestVuln detail view (continued):
Screenshot_20200106_165334

ImageManifestVuln detail view (affected pods):
Screenshot_20200103_120530

Kebab action on Pods list view:
Screenshot_20200106_165502

Future Work

Addresses https://issues.redhat.com/browse/PROJQUAY-119

@alecmerdler alecmerdler changed the title Container Security Operator UI Improvements [WIP] Container Security Operator UI Improvements Jan 6, 2020
@openshift-ci-robot openshift-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Jan 6, 2020
@openshift-ci-robot openshift-ci-robot added the component/core Related to console core functionality label Jan 6, 2020
@itsptk
Copy link

itsptk commented Jan 7, 2020

FYI @beanh66 @alimobrem

@openshift-ci-robot openshift-ci-robot added the component/sdk Related to console-plugin-sdk label Jan 8, 2020
@alecmerdler alecmerdler force-pushed the bugzilla-1768496 branch 3 times, most recently from dd6f0bd to bf6f25c Compare January 10, 2020 00:37
@alecmerdler alecmerdler changed the title [WIP] Container Security Operator UI Improvements Container Security Operator UI Improvements Jan 10, 2020
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 10, 2020
@alecmerdler alecmerdler force-pushed the bugzilla-1768496 branch 5 times, most recently from 6042694 to d7d0f53 Compare January 14, 2020 23:38
@openshift-ci-robot openshift-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 14, 2020
@openshift-ci-robot openshift-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 14, 2020
@alecmerdler alecmerdler force-pushed the bugzilla-1768496 branch 2 times, most recently from 92b0103 to 70aa25e Compare January 16, 2020 07:35
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Looks like Pods got left out of the kebab extensions.

Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
const ready = _.get(obj.status, 'containerStatuses', []).length > 0;
const ready = (obj.status?.containerStatuses || []).length > 0;

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I forgot that we can use optional chaining now!

Copy link
Member

Choose a reason for hiding this comment

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

@alecmerdler You'll need to rebase the PR for the eslint / prettier updates to use optional chaining, #3747

Copy link
Member

Choose a reason for hiding this comment

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

Should this be list?

Copy link
Member

Choose a reason for hiding this comment

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

chunk name doesn't match the others

Copy link
Member

@spadgett spadgett left a comment

Choose a reason for hiding this comment

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

/approve
/lgtm

thanks @alecmerdler 👍

Copy link
Member

@spadgett spadgett left a comment

Choose a reason for hiding this comment

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

/approve
/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 21, 2020
@openshift-bot
Copy link
Contributor

/retest

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

2 similar comments
@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@spadgett
Copy link
Member

/hold
the merge queue is blocked

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 21, 2020
@spadgett
Copy link
Member

/hold cancel
/retest

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 22, 2020
@openshift-bot
Copy link
Contributor

/retest

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

6 similar comments
@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@spadgett
Copy link
Member

/hold

ERROR in /go/src/github.com/openshift/console/frontend/packages/container-security/src/plugin.ts
(127,9): Types of property 'componentProps' are incompatible.
  Type '{ name: string; resource: string; required: string; testID: string; }' is not assignable to type 'Pick<NavLinkProps, "startsWith" | "name" | "testID"> & Pick<ResourceNSLinkProps, "resource" | "model">'.
    Object literal may only specify known properties, and 'required' does not exist in type 'Pick<NavLinkProps, "startsWith" | "name" | "testID"> & Pick<ResourceNSLinkProps, "resource" | "model">'.

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 22, 2020
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Jan 22, 2020
@spadgett
Copy link
Member

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 22, 2020
@spadgett
Copy link
Member

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 22, 2020
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alecmerdler, spadgett

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

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/core Related to console core functionality component/sdk Related to console-plugin-sdk lgtm Indicates that a PR is ready to be merged. 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.

6 participants