isamplesorg / isamples_webui

Web interface to iSB and iSC APIs

Home Page:https://isamplesorg.github.io/isamples_webui/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hide facets that have all zeroes underneath them

dannymandel opened this issue · comments

@jdeck88 suggested that it would be nice to hide the facets that have zeroes contained in them. Once the fetched content was populated and had records associated with the facets, they should be re-expanded.

I think it should be easy to fold the facet UI closed if there is nothing contained in it. Completely hiding it (the solr-faceted-search-react is very much a chaotic global state machine, so removing the UI might cause problems) might be more difficult, but folding it closed would probably be a nice first step to implement.