Task #463
closedOnly 10 items are shown in comboboxes - schema attribute mapping etc.
100%
Description
Only first 10 items are shown in some comboboxes by default, for example in resouces attribute mapping.
This is really confusing, because I have to remember the name of the attributes and fill their names one by one into the text input.
Personally I think all attributes should be shown by default, usually there won't be more then 20 anyway.
Related issues
Updated by Vladimír Kotýnek almost 7 years ago
IMHO there might be more than 20 attributes, especially in LDAP schemas. There are much more attributes that might be managed by CzechIdM. I even doubt combobox is user friendly solution for lists of more than 10 items. Can anyone find a better solution?
Updated by Marcel Poul almost 7 years ago
If the # of shown attributes is the configurable value of the component, we should explicitly set some of them to ALL. Especially those mentioned by Honza. It really is hard to remember names of mapped attributes in some forms! Unfortunately I do not have better solution now. It would be really great if the selectbox would dynamicaly show more values then some limit if you scroll down :-)
Updated by Radek Tomiška almost 7 years ago
- Status changed from New to In Progress
Updated by Radek Tomiška almost 7 years ago
- % Done changed from 0 to 70
Every SelectBox component has autocomplete feature:
- autocomplete endpoint (e.q. <server>/identities/search/autocomplete) has to exists - underlying find method has to support find by property "text"
- first 10 elements (globally configurable on FE) is returned, if input is empty
- if input is changed, then new search is executed on BE by autocomplete "text" property - other elements can be found
In some BE endpoint were missing "text" property for autocomplete (e.g. for system attribute mapping ), so first page was returned all times from BE and if input changed, then only FE filtered results from first page additionally
I've added support for autocomplete to:
- schema attributes
- mapping attributes
and impove SelectBox placeholder to "Select or start writing to search ..."
I continue with adding page size configuration property to SelectBox (override global configuration). Page size is required parameter on BE, so option with 'ALL' will be complicated - I'll not implement it.
Updated by Radek Tomiška almost 7 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Radek Tomiška to Jan Helbich
- % Done changed from 70 to 90
- Estimated time set to 4.00 h
I've added 'pageSize' option to SelectBox component - doc is in readme.
Could you pls do a feedback?
Updated by Radek Tomiška almost 7 years ago
- Related to Defect #458: Unable to link entity in system added
Updated by Ondřej Kopr almost 7 years ago
- Assignee changed from Jan Helbich to Ondřej Kopr
Updated by Ondřej Kopr almost 7 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Ondřej Kopr to Radek Tomiška
- % Done changed from 90 to 100
- new props pageSize for select box is great,
- information in select box with counter is awesome, but working only without search. When have more than 10 entities with prefix "00_", information with counter missing - update this maybe in another task,
- new information and counter is much better than older selectBox, thank you for update.
Updated by Radek Tomiška almost 7 years ago
- Status changed from Resolved to Closed
Thx, I've fixed missing counter info, when search input is filled.
Updated by Ondřej Kopr over 6 years ago
- Related to Feature #651: Improve selectBox results ordering added
Updated by Petr Michal over 5 years ago
- Related to Defect #1220: Fix role assignment SelectBox added
Updated by Petr Michal over 5 years ago
- Related to deleted (Defect #1220: Fix role assignment SelectBox)