Collapsing and expanding on the sidebar tree

I definitely agree it’s no good to see archives in the sidebar. I’m even finding that I avoid creating subprojects because I don’t want to see them in the sidebar. But I’m hesitant to start adding expand/collapse controls into that view because then you’ll have a whole new outline to manage with a slighting different UI.

Assuming I don’t add manual expand/collapse here are some ideas that come to mind:

  1. Hard code to just show top level projects. So you would see archive, but not projects it contains.

  2. Same as first case and also support a @sidebar tag that would force a tagged subproject to become visible.

  3. Add a setting that allows you to specify your own search used to generate the projects list. Default implementation would support case 1 and 2, but you could devise your own logic if you wanted.

  4. Add an automatic expand/collapse implementation based on the selected item. The coolest… but would mess up keyboard navigation in the list, so probably a no go.

Thoughts?

1 Like