Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page Index hides folders #169

Open
0maunz0 opened this issue Dec 8, 2024 · 2 comments
Open

Page Index hides folders #169

0maunz0 opened this issue Dec 8, 2024 · 2 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@0maunz0
Copy link

0maunz0 commented Dec 8, 2024

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.
image
image

On this note, the sidebar currently doesn't handle long names very well.
The name shifts one line down from the bullet:
image
Maybe also a setting for custom sidebar width is possible?

@redimp
Copy link
Owner

redimp commented Dec 8, 2024

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 🤔 ...

@redimp redimp added enhancement New feature or request question Further information is requested labels Dec 8, 2024
@0maunz0
Copy link
Author

0maunz0 commented Dec 10, 2024

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!

redimp added a commit that referenced this issue Jan 19, 2025
redimp added a commit that referenced this issue Jan 19, 2025
The sidebar now is 20rem per default (as before) and on screens >1200px
it's now 25rem wide and on screen >1900px 35rem wide.

This was discussed in #169 and #185.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants