goauthentik / goauthentik/authentik
UI components that rely on LIST API call must return exactly matching items at the top of the list.
- Dominant language
- Python
- Stars
- 25.6k
- Forks
- 2k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 651
Description
### Is your feature request related to a problem?
We have a group with a name (say, 'stage-admin') that appears as a substring at few dozens of other groups.
When I want to assign such a group to application, I type it's name on the 'Create binding' page and see a lot of groups that contain this substring, but the one that exactly matches the name isn't listed there (due to the default page size).
I've increased "Pagination: default page size" parameter at the global settings and now the required group is available at the bottom of the list.
Ideally, the search request has to return exactly matching items at the top of the list. At least, for UI components.
Few weeks ago I created an issue [#20146](https://github.com/goauthentik/authentik/issues/20146). I bet components mentioned there are also affected.
### Describe the solution you'd like
The UI components that rely on list/search API calls, have to show exactly matching objects at the top of the list.
### Describe alternatives that you've considered
- Increase of 'Pagination: default page size' setting is a kind of workaround.
- Fix API list/search queries. But for API calls it would be excessive.
### Additional context
_No response_
Contributor guide
Research direction
Start at the Create binding page and inspect the UI components that use list/search API calls. Review issue #20146 for the other potentially affected components. Done means exact name matches appear at the top of the relevant lists without changing the global default page size.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100