Replace ldap group select2 selector
What does this MR do and why?
Describe in detail what your merge request does and why.
Replace ldap group select2 selector
- replaces select2 instance with GlListbox
- retrieve initial values on load
- debounce search
- track provider element changes and update search on change of provider
- update form element with selected value
- add error state if groups can not be retrieved
- update feature specs
Changelog: changed
EE: true
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Scenario | Before | After |
---|---|---|
video | berfore | after |
default | ![]() |
![]() |
open | ![]() |
![]() |
searching | ![]() |
![]() |
results | ![]() |
![]() |
selected | ![]() |
![]() |
error on group load | ![]() |
![]() |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Add LDAP to your GDK
- Login as root under standard => Navigate to https://gdk.test:3443/groups/flightjs/-/ldap_group_links
- Select
LDAP Group cn
from the sync option - Select a group to add
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #374117 (closed)
Edited by Alexander Turinske