dasmoth / dalliance

Interactive web-based genome browser.
http://www.biodalliance.org/
BSD 2-Clause "Simplified" License
226 stars 68 forks source link

Add option to keep custom hub groups collapsed by default #234

Closed davep closed 6 years ago

davep commented 6 years ago

Currently, when a user opens a custom hub, the first group is open/visible. This change adds a browser option called noDefaultHubGroupShow, that lets the caller turn off this behaviour. Default behaviour remains the same.

dasmoth commented 6 years ago

Thanks

davep commented 6 years ago

I was meaning to ask, and seeing the "need-doc" label added, is documentation something I can contribute to rather than leaving it to you to add @dasmoth?

dasmoth commented 6 years ago

The need-doc tags are mostly aide memoires for myself, and don't carry any expectation. However, if you are interested in adding your own section(s) to the docs, the repository is here.

(Fairly standard Jekyll setup if you want to build it yourself).

davep commented 6 years ago

Brilliant, thanks for the pointer. Seemed only fair that I add the new flag to the other list of flags, so did go looking for where I could add it.