View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0024402||mantisbt||ui||public||2018-05-07 16:25||2019-09-19 04:52|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Summary||0024402: tree-based project navigation|
instead of having to read through or search through a long list of projects, why not have them automatically hidden/shown by hierarchy?
I wrote a small script which, when attached to the layout, will transform the HTML of the projects menu and add some jQuery toggle events.
screenshots show before, after (with sub-menus collapsed), and after (with a sub-menu expanded)
The code is in the Additional Information section below.
I put that in a file (/js/project-navigation.js), and then in core/layout_api.js, I put the following line after line 632 (where the "projects-list" div is echoed)
|Tags||No tags attached.|