-
Notifications
You must be signed in to change notification settings - Fork 667
Sort catalog filters and other enhancements #11161
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
Sort catalog filters and other enhancements #11161
Conversation
|
@beaumorley can you PTAL at this PR and approve if the badge and filters looks good to you? |
a8f51f4 to
26cbc58
Compare
|
/cc @christianvogt |
|
/retest |
|
/approve |
|
@beaumorley you'll see how there is a |
christoph-jerolimov
left a comment
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.
Get this react error and then a white page when open the OperatorBackedService catalog with this PR. Can you take a look?
Error
Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
Call Stack
checkForNestedUpdates
vendors~main-fde4aab59bedd45747de.js:465232:15
scheduleUpdateOnFiber
vendors~main-fde4aab59bedd45747de.js:463264:3
/hold
christoph-jerolimov
left a comment
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.
Some more requests to add some missing types.
frontend/packages/console-shared/src/components/catalog/catalog-view/CatalogFilters.tsx
Outdated
Show resolved
Hide resolved
frontend/packages/console-shared/src/components/catalog/catalog-view/CatalogFilters.tsx
Outdated
Show resolved
Hide resolved
frontend/packages/console-shared/src/components/catalog/catalog-view/CatalogFilters.tsx
Outdated
Show resolved
Hide resolved
|
Couple comments here
Otherwise looks great! FYI @slemeur |
26cbc58 to
b346736
Compare
@jerolimov I couldn't reproduce this issue. Can you share the steps to reproduce this? Screen.Recording.2022-03-10.at.4.51.35.PM.mov |
@serenamarie125 this is how it looks like for other filters as well. We can have a separate issue for this. |
|
/retest |
1 similar comment
|
/retest |
serenamarie125
left a comment
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.
great work!
b346736 to
9fc6da3
Compare
|
/retest |
|
The updated flags names fix the crash when the operator is not installed. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: christianvogt, divyanshiGupta, jerolimov, serenamarie125 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
10 similar comments
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/label docs-approved propagating above labels based on ACKs on epic cc @rishumehra |
@divyanshiGupta FYI: I created this issue and PR for the PF catalog extension. |
|
Tested it on a cluster bot instance, with and without Service Binding Operator, without and with Postgres for Kubernetes operator. As kubeadmin and user with limited access. /label qe-approved |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
6 similar comments
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
@divyanshiGupta: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. |

Fixes: https://issues.redhat.com/browse/ODC-6491
This PR adds the fix for sorting catalog filters alphabetically and
uses useK8sWatchResource instead of k8sGet for fetching the bindable-services.
Screenshots:

/kind feature