obiba / opal

OBiBa’s core database application for biobanks or epidemiological studies.
http://www.obiba.org/pages/products/opal/
GNU General Public License v3.0
29 stars 22 forks source link

OPAL-2972: Scoller not showing up in filtering dropdown (search UI) #2146

Closed ymarcon closed 6 years ago

ymarcon commented 6 years ago

Jira issue originally created by user abhishek:

ymarcon commented 6 years ago

Comment created by abhishek:

Hi,

There are 3 images I have attached. All these images relate to search entities UI.

Image 1: For a categorical variable with lots of categories the scroller within the dropdown only shows up when a few categories have been selected. Image 2: The search button can be removed as the results table updates itself when any new filter is added. The other option course would be to make the results table update only at search button click. Image 3: When I navigate to the search counts page I see all my filters. This is good but it would be better if they are not in 'open' state as they take lot of width. At times the filter-boxes also run into each other.

Thanks

ymarcon commented 6 years ago

Comment created by @ymarcon:

(1) is already fixed (not released yet) + a text box for filtering the long list of categories (2) if user does not press Enter after entering a free text query, the search button can be used (3) criterion dropdowns will appear opened only when added manually

ymarcon commented 6 years ago

Comment created by abhishek:

Sorry Yannick I know this issue is closed but for some reason I still can't see the textbox to filter long categories. The category list is truncated and the scroller only shows-up when I select a few categories (please see the attached image). This is after upgrading to Opal v10.03, clearing cache and restarting the service.

ymarcon commented 6 years ago

Comment created by @ymarcon:

How many categories do you have? Above 10 a filter box should appear, with scroll in the dropdown.

ymarcon commented 6 years ago

Comment created by abhishek:

I have exactly 10 categories but I think we need a more robust solution. Do you the attached image can offer any solution? I tried this in inspector's console and it seems to work.

Thanks

ymarcon commented 6 years ago

Issue was closed with resolution "Fixed"