TriliumNext / Notes

Build your personal knowledge base with TriliumNext Notes
https://triliumnext.github.io/Docs/
GNU Affero General Public License v3.0
852 stars 46 forks source link

(Feature request) Trilium Demo notes branch review and update #487

Open maphew opened 1 week ago

maphew commented 1 week ago

Describe feature

The Trilium Demo branch which ships with the default database should be reviewed and updated

eliandoran commented 1 week ago

@maphew ,

new note types demo'd (ex: Mind Maps)

This point should already be addressed since the first beta which introduced the mindmap.

Do note that the demo branch is not kept up to date in your local database. The only way to see the latest demo is to start off with an empty database.

maphew commented 1 week ago

Do note that the demo branch is not kept up to date in your local database. The only way to see the latest demo is to start off with an empty database.

Oh! Of course. That points to an enhancement of: publishing Trilium Demo as part of the docs, but that won't work unless/until docs are served from Trilium instead of static html. Or an "import latest of this branch" mechanism, which in turn would rely on a possible future multi-database scenario.

maphew commented 1 week ago

https://triliumnext.github.io/Docs/Wiki/database.html#restoring-demo-notes has a procedure for fetching/restoring the demo notes outside of initial install time, but it relies on importing a .zip from stable, which doesn't currently exist.

I guess a github action will need to be created to make this archive as part of the release process?

eliandoran commented 1 week ago

@maphew , on our side we don't use the stable branch anymore. You can use https://github.com/TriliumNext/Notes/blob/develop/db/demo.zip (or https://github.com/TriliumNext/Notes/raw/develop/db/demo.zip for a direct download) instead.