8000 remove search box for child groups as API doesn't support by edewit · Pull Request #28835 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

remove search box for child groups as API doesn't support - #28835

Closed
edewit wants to merge 2 commits into
keycloak:mainfrom
edewit:issue-28818
Closed

edewit wants to merge 2 commits into
keycloak:mainfrom
edewit:issue-28818

Conversation

@edewit
@edewit edewit commented Apr 17, 2024 •
Copy link
Copy Markdown
Contributor

Signed-off-by: Erik Jan de Wit erikjan.dewit@gmail.com

@edewit
edewit requested a review from a team as a code owner April 17, 2024 08:50
@edewit edewit self-assigned this Apr 17, 2024
agagancarczyk
agagancarczyk previously approved these changes Apr 17, 2024
@agagancarczyk agagancarczyk left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

jonkoops
jonkoops previously approved these changes Apr 17, 2024
@ssilvert
Copy link
Copy Markdown
Contributor

fixes: #28818

I'm rather confused as to how we got here.

Subgroup searching needs to work. If this is a regression in the API then it does make sense to get rid of the search box until that is fixed. But the solution would be to send the issue to one of the core teams for resolution. So closing the issue as fixed is probably the wrong move.

@edewit Are you sure that this is a server-side problem?

@transducer
Copy link
Copy Markdown
Contributor

Functionally we would prefer if the child group search keeps working. It's more convenient for the user to preselect the parent group, especially when there are many parent groups with many child groups.

@edewit
edewit commented Apr 18, 2024
Copy link
Copy Markdown
Contributor Author

Yes @ssilvert it's a server side problem, it used to be that all the groups where fetched and then there was a client side filter to filter the child groups. But now it's changed to improve performance and the subgroups are paginated, but there is no support for a subgroup filter. You can still find the subgroups with the search functionality though

@ssilvert
Copy link
Copy Markdown
Contributor

Yes @ssilvert it's a server side problem, it used to be that all the groups where fetched and then there was a client side filter to filter the child groups. But now it's changed to improve performance and the subgroups are paginated, but there is no support for a subgroup filter. You can still find the subgroups with the search functionality though

Oh, I see that the search in the tree pane will work for this purpose. So the requirement is still fulfilled. I think this PR is fine to close the issue.

fixes: keycloak#28818
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
@ssilvert
Copy link
Copy Markdown
Contributor

Functionally we would prefer if the child group search keeps working. It's more convenient for the user to preselect the parent group, especially when there are many parent groups with many child groups.

OK. I guess we can merge this PR but leave the issue open and transfer to the core team.

@ssilvert ssilvert mentioned this pull request Apr 18, 2024
2 tasks done
@pedroigor
Copy link
Copy Markdown
Contributor

Just to see if I understand the original problem correctly. In previous versions we were filtering sub-groups on the client side?

@edewit
edewit commented Apr 19, 2024
Copy link
Copy Markdown
Contributor Author

@pedroigor that is correct, long lists that are not paginated by the server are paginated and filtered by the client

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
@edewit
edewit commented Apr 25, 2024
Copy link
Copy Markdown
Contributor Author

superseded by #29011

@edewit edewit closed this Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

0