DataBiosphere / data-explorer

BSD 3-Clause "New" or "Revised" License
11 stars 6 forks source link

Handle invalid facets in url params in a user-friendly way #360

Closed melissachang closed 5 years ago

melissachang commented 5 years ago

This PR addresses the scenario when a dataset version changes and cohorts no longer work. For example, AMP PD may release a new dataset quarterly.

Before this PR, if filter or extraFacets url params contained invalid facet names, DE UI is blank.

After this PR:

Invalid filter param:

1

Multiple invalid filter params:

1

For invalid extra facets param, we show slightly different text:

1

Multiple invalid extra facets params:

1

Also tested: