Outlines Collapsed by Default

Hey everyone,

It’d be awesome to have outlines collapsed by default.


Daily notes need to be collapsed every time

In my case I keep I find this specially useful on my daily notes. I keep a lot of structured outlines and I find my self using double tab constantly to close it all.

For instance on returning to an specif page / daily note
this is that view that I’d like to see by default

Collapsed by default (ideal)

Screen Shot 2021-02-05 at 18.12.38

Expanded by default (current)

Screen Shot 2021-02-05 at 18.12.01

Double tab

pressing tab twice collapses the level 1 outline, but it doesn’t seem to collapse the levels under it

What I mean is that after using double tab and choosing to expand a level 1 outline everything unfolds under it.

Sub-levels also collapsed (ideal)

That way after uncollapsing level 1 things would look like this, instead of every sub-level uncollapsed

Screen Shot 2021-02-05 at 18.19.30

Suggestions to adding this feature

One of my favorite things of Logseq is how it uses so many awesome aspects of org-mode.

Collapsed by default but with individual pages expections if needed

What’d be amazing is to be able to choose a default visability, in my case I’d like to have everything collapsed by default.

but there are also ways in org-mode to determine a certain behaviour for specific pages as seen in this following link…

Org Mode Initial Visibility Documentation


Thanks for the excellent tool, truly loving it and this feature would truly enhance my use of logseq and the use of many others!

After seraching further in the Discord chat I found @tienson mentioning something about it here

I’d love to hear the challenges of this feature and the time frame to achieve it, since I’m sure there are backend things that I’m not considering

I was just thinking about making the same feature request!
Having the option to collapse outlines by default would be very useful for large outlines. At the moment I either have to scroll down a lot or collapse the outline manually to get an overview

1 Like

good to know this is in demand! From what I saw mentioned in discord this seems tricky to achieve correctly, so hopefully we’ll be able to do this soon!

Click on triangle = collapse/expand block at only one level
Shift+Click on triangle = collapse/expand block recursively

With that, for a fully expanded page, one could for example do:

  1. shift + click a top-level bullet (to collapse recursively)
  2. click the same top level bullet (to re-expand only the top level bullet)

Should be easy/straightforward to implement, and covers all use cases I can think of.

5 Likes

Definitely on board with this!!

On an unrealated note:

Still getting used to Dragon. So while I was dictating this response. I kept getting "post cannot be empty"or something like that. I have to go in and press something on the keyboard just for the website to know I did write something!

1 Like

I’d like to do everything without my mouse.

Currently non-insert mode is useless.

I vision something like http://littleoutliner.com/

There you can navigate between nodes, collapse-expand, hoist node and of course some keys to refactor selected node (move up/down, promote/demote).

2 Likes

I get you, I hopee the refactoring will give us new opportunities to expand this type of functionality.

littleoutliner seems really interesting, thanks for sharing it!

I think there’s a use-case for a property that controls collapsed state (per block or even the entire page).

For example for templates - I would want to be able to just control it from the template, so for a specific types of content, the template will always bring in content that is collapsed by default when the note is opened

1 Like

definitely templates is an interesting example. I think there’s tons of uses for this.

I’m sure the devs are working hard at this. It must be hard to replicate the power of org-mode while still keeping it markdown compatible

I saw collapsed: true in the properties drawer, in the org file (on file system) maybe you can use that?