zadam / trilium

Build your personal knowledge base with Trilium Notes
GNU Affero General Public License v3.0
27.4k stars 1.93k forks source link

(Feature request) lazy loading in note tree #3569

Open WPum opened 1 year ago

WPum commented 1 year ago

Describe feature

In some cases, there's a note with a huge number of children (not descendents). To keep the note tree clean, it's better not to display them all at once when the parent note is expanded. Instead, a "load more notes" button can be displayed at the bottom of all loaded notes. The expansion of parent notes will only result in 10~20 (configurable?) subnotes being shown in the tree structure (ordered manually or by #sorted).

Additional Information

No response

salmund commented 1 year ago

Like "lazy loading" for websites ?

zadam commented 1 year ago

I remember researching this once, but it wasn't easy. It's good to keep the note structure / children of a manageable size, anyway.

WPum commented 1 year ago

Like "lazy loading" for websites ?

Exactly.

Nriver commented 1 year ago

It could be helpful for the notes that imported from other source like Evernote which could contain hundreds or even thousands of notes under one parent note.