monarch-initiative / monarch-legacy

Monarch web application and API
BSD 3-Clause "New" or "Revised" License
42 stars 37 forks source link

Add wedge or similar icon to filter panels #728

Open kshefchek opened 9 years ago

kshefchek commented 9 years ago

Something similar to this should work: http://jsfiddle.net/Wc4xt/2339/

kshefchek commented 9 years ago

Spent some time trying a pure css solution with no luck.

Interesting side note, the styling and behavior across bootstrap versions is surprisingly different. For example, with BS 3.0.0 the collapsible panels allow for more than one panel to be open at a time. But when changing the version with the same html/css only one panel can be open at one time. Compare

http://tartini.crbs.ucsd.edu/labs/widget-scratch/disease/DOID:14330 to http://amigo2.berkeleybop.org/amigo/bulk_search/annotation

What is the desired behavior? I'm assuming we want to allow multiple panels to be open at one time - so leaving as is for now.

kltm commented 9 years ago

You'd have to ask somebody else; or frankly, better not. AmiGO in production right now just has one allowed, and nobody has noticed or complained, but if it was brought up, many opinions would happen once people noticed. (As an argument for, navigation between large and open filters is very vertical and time consuming, especially as the results table is likely no longer on the screen; anyways, added filters are displayed and you can't look at two sets at the same time anyways.) That said, I believe it's configurable either way, you're just hitting default behaviour.