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-30077: Add additional search filters in the toolbar #13233
OCPBUGS-30077: Add additional search filters in the toolbar #13233
Conversation
/retest |
1 similar comment
/retest |
@jhadvig Can you help find a reviewer for the PR? @upalatucci Let's make sure well documented the new feature in our API docs. |
frontend/packages/console-dynamic-plugin-sdk/src/extensions/console-types.ts
Outdated
Show resolved
Hide resolved
frontend/packages/console-dynamic-plugin-sdk/src/extensions/console-types.ts
Outdated
Show resolved
Hide resolved
d0bacdb
to
e2863d1
Compare
frontend/packages/console-dynamic-plugin-sdk/src/extensions/console-types.ts
Outdated
Show resolved
Hide resolved
...binding-plugin/src/components/service-binding-list/__tests__/ServiceBindingListPage.spec.tsx
Outdated
Show resolved
Hide resolved
frontend/packages/console-dynamic-plugin-sdk/src/extensions/console-types.ts
Outdated
Show resolved
Hide resolved
}} | ||
chips={searchFiltersState[searchFilter.type] ? [searchFiltersState[searchFilter.type]] : []} | ||
> | ||
<></> |
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.
Nit: why do we need an empty React fragment here?
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.
ToolbarFilter
component wants a child. Without anything, it raises errors.
3e9eeaf
to
31d1252
Compare
/retest |
3 similar comments
/retest |
/retest |
/retest |
frontend/packages/console-dynamic-plugin-sdk/src/api/dynamic-core-api.ts
Outdated
Show resolved
Hide resolved
31d1252
to
c06171b
Compare
@upalatucci: This pull request references CONSOLE-3936 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the epic to target the "4.16.0" version, but no target version was set. 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. |
/retest |
1742148
to
b2747a2
Compare
/retest |
/retest |
/retest |
5 similar comments
/retest |
/retest |
/retest |
/retest |
/retest |
b2747a2
to
fb8052e
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: upalatucci, vojtechszocs 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 |
/jira refresh |
@upalatucci: This pull request references CONSOLE-3936 which is a valid jira issue. 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. |
@upalatucci: This pull request references CONSOLE-3963 which is a valid jira issue. 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. |
/jira refresh |
@upalatucci: This pull request references CONSOLE-3963 which is a valid jira issue. 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. |
/jira refresh |
@upalatucci: This pull request references Jira Issue OCPBUGS-30077, 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. |
@upalatucci: This pull request references Jira Issue OCPBUGS-30077, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: 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. |
@upalatucci: all tests passed! 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/test-infra repository. I understand the commands that are listed here. |
@upalatucci: Jira Issue OCPBUGS-30077: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-30077 has been moved to the MODIFIED state. 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. |
[ART PR BUILD NOTIFIER] This PR has been included in build openshift-enterprise-console-container-v4.16.0-202402291846.p0.g2d3c1cb.assembly.stream.el8 for distgit openshift-enterprise-console. |
Fix included in accepted release 4.16.0-0.nightly-2024-03-05-105513 |
@spadgett @vojtechszocs
Hi guys this is the PR to add search filters to the
ListPageFilter
component.I've added a new
RowSearchFilter
type to therowFilters
prop. The new type has aplaceholder
key and does not have the keyitems
as in the search params there are no options but the user needs actually to type. It's not shown in the Filter popup but in the dropdown.For other things is treated as a normal
RowFilter
.Another option would be to have a different prop for that kind of filter.
I have shared some screenshots with an example with pod list.
With Name and Labels
With no name and no labels