ImagingDataCommons / IDC-WebApp

Web Application front end for IDC (CORE REPO)
Apache License 2.0
6 stars 2 forks source link

Indefinite spinner under certain conditions for cohort selection #1386

Open fedorov opened 6 months ago

fedorov commented 6 months ago

To reproduce, select the items in the screen. Per @s-paquette it is a zero count exception.

image
pgundluru commented 5 months ago

Another instance image

pgundluru commented 5 months ago

In this case, I selected all non Zero collections and one Zero count filter in body part image

G-White-ISB commented 4 months ago

My understanding is that the condition producing the indefinite spinner state is that the filters are selected which return an empty cohort. In that case there are errors generated client side in the ajax calls to update the facet counts and populate the tables. I have updated code in the expr branch to handle the errors gracefully for generating the facet counts and populating the tables. So these conditions should no longer produce this state. I am not sure if manifest downloads may still cause a problem

s-paquette commented 3 months ago

@fedorov @pgundluru Now available for testing. This will:

pgundluru commented 2 months ago

The following are tested in test tier Automatically checks zeros - Success Select filters and see a message - Success Download images and save cohort are disabled - success image