-
Notifications
You must be signed in to change notification settings - Fork 618
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
OCPBUGS-47722: always show associated plugin name on CSV details page #14656
base: master
Are you sure you want to change the base?
Conversation
@yapei: This pull request references Jira Issue OCPBUGS-47222, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
/lgtm
Thanks, @yapei! Nice work.
/retest |
1 similar comment
/retest |
/retest-required |
1 similar comment
/retest-required |
@yapei: This pull request references Jira Issue OCPBUGS-47722, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
@openshift-ci-robot: GitHub didn't allow me to request PR reviews from the following users: yapei. Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
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-sigs/prow repository. |
/retest-required |
|
||
return ( | ||
<> | ||
{consoleOperatorConfig && canPatchConsoleOperatorConfig && ( | ||
<dl className="co-clusterserviceversion-details__field"> | ||
<dt>{t('olm~Console plugin', { count: csvPluginsCount })}</dt> | ||
<dt>{t('olm~Console plugin')}</dt> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We still want the pluralization if there are more than one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, you are right
updated~
/hold |
/hold cancel |
/test e2e-gcp-console |
@rhamilto May I have another review? |
</ModalTitle> | ||
<ModalBody> | ||
<p> | ||
{csvPluginsCount |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we want to keep the ternary here so the verbiage is more precise since the modal can be launched from either the CSV details page or the Dynamic Plugins list page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
got it!
/test e2e-gcp-console |
@yapei: The following tests failed, say
Full PR test history. Your PR dashboard. 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-sigs/prow repository. I understand the commands that are listed here. |
/lgtm /hold for #14621 |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rhamilto, yapei 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 |
Console plugin
section only whencsvPlugins.length > 0
and we are aiming to always present console plugin name on CSV details page, so removedcsvPluginsCount
fromConsolePlugins
Since we are trying to always show console plugin name in Console Plugin Modal, so also removed
csvPluginsCount
fromConsolePluginModal
Always show plugin name on CSV details page regardless of plugin count
Always show plugin name in plugin modal regardless of plugin count