progenetix/progenetix-web

Refinement: Ontology selector

Closed this issue · 3 comments

The ontology selector (i.e. the most relevant metadata filter) is pre-populated with values from all datasets, which are themselves filtered by an optional filters value (e.g. a prefix).

The useFilteringTerms call should be executed again upon selecting one or several datasetIds, to reflect the correct content (i.e. represented filters) and counts.

I improved the selector UX by making it searchable. This is unrelated to the solution presented here.
To implement this solution I would need the backend to return the filters associated to the datasetIds.

Not checked the current status due to "offline" mode, but adding e.g. &datasetIds=arraymap etc. should work.

It seems to work fine.