Page Index hides folders
I currently have several directories with subdirectories, e.g.:
Dir/Subdir Dir2/Subdir2
As soon as a Subdir or a Page is open, it only shows the parent directory in the page index, e.g.:
Subdir2 is open --> Page Index only shows the tree starting with Dir2, Dir is no longer visible.
On this note, the sidebar currently doesn't handle long names very well.
The name shifts one line down from the bullet:
Maybe also a setting for custom sidebar width is possible?
Hey @0maunz0, thanks for the feedback!
As soon as a Subdir or a Page is open, it only shows the parent directory in the page index, e.g.: Subdir2 is open --> Page Index only shows the tree starting with Dir2, Dir is no longer visible.
Yes, this is intended. The idea behind this was to put a focus on the current folder. If you have many many pages on a level (e.g. top) and open a folder you have to scroll to find its subpages.
On this note, the sidebar currently doesn't handle long names very well. The name shifts one line down from the bullet:
- [ ] This needs to be improved!
Maybe also a setting for custom sidebar width is possible?
Hm, best would be to make the sidebar resizable 🤔 ...
Yes, this is intended. The idea behind this was to put a focus on the current folder. If you have many many pages on a level (e.g. top) and open a folder you have to scroll to find its subpages.
I understand - maybe just showing folder is something to consider? On the other hand I guess the custom menu does mostly fill that role.
Hm, best would be to make the sidebar resizable 🤔 ...
This would be great!
On this note, the sidebar currently doesn't handle long names very well. The name shifts one line down from the bullet:
This has been fixed in v2.9.0.
Is there a way to get at least the other root folders?
here's an example of how I think would be nice
Dir1
Dir2
Dir3
|-Page1
|-Page2
Dir4
When I then click Dir2 for example I see
Dir1
Dir2
|-Page1
|-Page2
|-Page3
|-Page4
Dir3
Dir4
Would be awesome if you could realize something like that, maybe as a additional option for SIDEBAR_MENUTREE_MODE
Hey @Bouni, thanks for raising this up. I'm not sure if a different SIDEBAR_MENUTREE_MODE would solve this completly .. I think we need another flag here. Will look into it!
Added the option SIDEBAR_MENUTREE_FOCUS that can be set to either SUBTREE or OFF. With focus set to OFF always all pages are displayed. In the Settings > Sidebar Preferences there is
Released in v2.11.0.
Nice, works like a charm. Thank you for implementing my FR so fast 😎