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

Namespace list: use CompoundFilter & AppliedFilters instead of custom toolbar #1557

Merged
merged 3 commits into from
Feb 2, 2022

Conversation

himdel
Copy link
Collaborator

@himdel himdel commented Jan 25, 2022

Fixes AAH-820

AAH-820 was fixed in #1195 and #1402 for all screens using CompoundFilter, but NamespaceList wasn't using CompoundFilter yet (happened in #509 for the collection list screens).

This updates namespace list to use CompoundFilter and AppliedFilters, fixing the empty search issue, removing a custom label, and the page now also changes to 1 when filtering/sorting.

Before:

151068139-d7678430-ce7a-4fac-8f25-95d1905b8163
151068149-7ed63a9b-6397-4cfa-8cb7-19a8786639e1

After:

20220125221320
20220125221331

@himdel himdel added the backport-4.4 This PR should be backported to stable-4.4 (2.1) label Jan 25, 2022
Copy link
Contributor

@jerabekjiri jerabekjiri left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@himdel himdel merged commit 0bb6d90 into ansible:master Feb 2, 2022
@himdel himdel deleted the namespace-search branch February 2, 2022 13:26
@patchback

This comment has been minimized.

himdel added a commit to himdel/ansible-hub-ui that referenced this pull request Feb 2, 2022
… toolbar (ansible#1557)

* Move our toolbar patternfly override to namespace-list, only used there now

Issue: AAH-820

* Use CompoundFilter & AppliedFilters in namespace-list, instead of custom search

* fix sort & Create alignment with multiline filter

(cherry picked from commit 0bb6d90)
himdel added a commit that referenced this pull request Feb 2, 2022
… toolbar (#1557) (#1590)

* Move our toolbar patternfly override to namespace-list, only used there now

Issue: AAH-820

* Use CompoundFilter & AppliedFilters in namespace-list, instead of custom search

* fix sort & Create alignment with multiline filter

(cherry picked from commit 0bb6d90)
@github-actions github-actions bot added the backported-4.4 This PR has been backported to stable-4.4 (2.1) label Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-4.4 This PR should be backported to stable-4.4 (2.1) backported-4.4 This PR has been backported to stable-4.4 (2.1)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants