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

Bug 1794926: Search - Identify kind with more detail #4303

Merged
merged 1 commit into from Feb 17, 2020

Conversation

zherman0
Copy link
Member

In order to better identify what resources are being shown, I have added the group and version to the title of each acordian section. The chips do not have this on the toolbar as we are concerned about space. We will discuss this further with UXD but this should help immensely for 4.4.
Screenshot_2020-02-12 Search · OKD
Screenshot_2020-02-12 Search · OKD(1)

@openshift-ci-robot
Copy link
Contributor

@zherman0: This pull request references Bugzilla bug 1794926, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

Bug 1794926: Search - Identify kind with more detail

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 bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. component/core Related to console core functionality labels Feb 12, 2020
@zherman0
Copy link
Member Author

/retest
@benjaminapetersen - this is ready for review.

frontend/public/components/_resource-dropdown.scss Outdated Show resolved Hide resolved
return (
<span className="co-search-group__accordian-label">
{labelPlural}{' '}
<span className="text-muted co-truncate show co-nowrap small">
Copy link
Member

Choose a reason for hiding this comment

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

Rather than showing this for every resource, does it make sense to follow what we do in the dropdown and only show it if there is more than one instance of a resource?

Screen Shot 2020-02-13 at 2 43 23 PM

I'm not sure truncation is the right solution here because you can lose the meaningful differentiator at mobile.
localhost_9000_k8s_ns_robb_clusterserviceversions_orderBy=asc sortBy=Deployment(iPhone 5_SE) (1)

And in this instance, you can't even see all of the resource name (which is a separate, but related bug).
localhost_9000_k8s_ns_robb_clusterserviceversions_orderBy=asc sortBy=Deployment(iPhone 5_SE)

Copy link
Member Author

Choose a reason for hiding this comment

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

@rhamilto - talked to @bmignano about the showing of the group and version for everything and she said it was fine.
I will remove the truncation in the next push.

Copy link
Member

@rhamilto rhamilto left a comment

Choose a reason for hiding this comment

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

/lgtm

@@ -23,6 +23,14 @@
flex: 1 0 auto;
}

.co-search-group__accordion-label {
display: flex;
align-items: center;
Copy link
Member

Choose a reason for hiding this comment

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

Nit: alphabetize declarations by property.

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rhamilto, zherman0

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-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 17, 2020
@openshift-bot
Copy link
Contributor

/retest

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

@openshift-merge-robot openshift-merge-robot merged commit fa35634 into openshift:master Feb 17, 2020
@openshift-ci-robot
Copy link
Contributor

@zherman0: All pull requests linked via external trackers have merged. Bugzilla bug 1794926 has been moved to the MODIFIED state.

In response to this:

Bug 1794926: Search - Identify kind with more detail

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.

@spadgett spadgett added this to the v4.4 milestone Feb 18, 2020
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. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. component/core Related to console core functionality lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants