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

Easy way to toggle items in Navigation Panel #700

Open
krlhngs opened this issue Aug 28, 2017 · 6 comments
Open

Easy way to toggle items in Navigation Panel #700

krlhngs opened this issue Aug 28, 2017 · 6 comments
Labels
Type: Feature adds functionality

Comments

@krlhngs
Copy link

krlhngs commented Aug 28, 2017

First things first. What a great piece of software! It does everything I ever wanted in a note taking app... And so much more!!!

I like to have fewer notes, but longer, with a lot of headings and subheadings. The problem is, that every time i open my note (or edit it), all the headings in the navigation panel are open. The list becomes very long. Manually folding is a bit tiresome.

It would be a dream feature if I could do this scenario:

  1. I fold the parent heading in Navigation Menu (let's say: H1)
  2. I unfold the parent heading. All children subheadings (H2s in this scenario) are now folded.

This way I can fold the tree as w whole or only some bigger or smaller branch.

It works great in 'Tree View' in some apps (for example Total Commander).

Once again. THANK YOU Great Wizard!

@pbek pbek added the Type: Feature adds functionality label Aug 28, 2017
@pbek
Copy link
Owner

pbek commented Aug 28, 2017

Thank you for your kind words!

Currently the folding-status in the navigation panel isn't persisted (in memory between note changes) and I'm not sure if this could be done easily, since the structure is generated every time you type into your note and it can change all the time.

And to persist it on disk for every note would be even more work, since notes aren't persisted in a disk-database in QOwnNotes...

I unfold the parent heading. All children subheadings (H2s in this scenario) are now folded.

are you talking about a "fold / unfold all" feature?

@krlhngs
Copy link
Author

krlhngs commented Aug 28, 2017

I don't mean persistence (I don't think it would be that much useful). If I could do the following:

  1. select the note in the Naviation Panel.

  2. click the little triangle to fold the 'note tree'

  3. click that triangle to unfold the 'note tree' for that note

  4. have all the subheadings for that note folded.

No persistence needed :-)

@pbek
Copy link
Owner

pbek commented Aug 28, 2017

Is it correct that you want to be able to fold the sub-items of a headline by fold the headline?

But what would be the help of this if when you type a single character everything will be unfolded again?

@krlhngs
Copy link
Author

krlhngs commented Aug 28, 2017

It's no problem if I can fold subheadings by double-clicking its parents item 'triangle' (or by any other shorthand).

I see this feature useful for reading older notes, rather than for editing notes.

It would make possible to use 'Navigation Panel' as table of contents for longer notes. Now, when you have a lot of subheadings, it's rather difficult (the list is very long and you have to make a lot of scrolling). When you have few subheading, Navigation Panel is not that important at all, you can see almost everything on your 'Editing Panel'.

And I don't insist by any mean that this is 'generally' good idea. I know that it took great effort to design such a wonderfull app. I understand, that what I see as a useful feature might be for example a bug for seasoned developer. 'Navigation Panel' is still a GREAT, GREAT feature.

@pbek
Copy link
Owner

pbek commented Aug 28, 2017

I'd rather fancy a context menu where one could fold or unfold subitems.

@krlhngs
Copy link
Author

krlhngs commented Aug 28, 2017

It would be great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature adds functionality
Projects
None yet
Development

No branches or pull requests

2 participants