Project

General

Profile

Actions

Task #463

closed

Only 10 items are shown in comboboxes - schema attribute mapping etc.

Added by Jan Helbich almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Frontend
Target version:
Start date:
05/31/2017
Due date:
% Done:

100%

Estimated time:
4.00 h
Owner:

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

Related to IdStory Identity Manager - Defect #458: Unable to link entity in systemClosedRadek Tomiška05/30/2017

Actions
Related to IdStory Identity Manager - Feature #651: Improve selectBox results orderingNewOndřej Kopr08/14/2017

Actions
Actions #1

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?

Actions #2

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 :-)

Actions #3

Updated by Radek Tomiška almost 7 years ago

  • Status changed from New to In Progress
Actions #4

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.

Actions #5

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?

Actions #6

Updated by Radek Tomiška almost 7 years ago

  • Related to Defect #458: Unable to link entity in system added
Actions #7

Updated by Ondřej Kopr almost 7 years ago

  • Assignee changed from Jan Helbich to Ondřej Kopr
Actions #8

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
i did review:
  • 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.
Actions #9

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.

Actions #10

Updated by Ondřej Kopr over 6 years ago

  • Related to Feature #651: Improve selectBox results ordering added
Actions #11

Updated by Petr Michal over 5 years ago

  • Related to Defect #1220: Fix role assignment SelectBox added
Actions #12

Updated by Petr Michal over 5 years ago

  • Related to deleted (Defect #1220: Fix role assignment SelectBox)
Actions

Also available in: Atom PDF