zadam / trilium

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

(Bug report) Collapsing trilium sidebar in one browser window also collapses sidebar in all other browser windows #3698

Closed meichthys closed 1 year ago

meichthys commented 1 year ago

Trilium Version

0.59.1

What operating system are you using?

Windows

What is your setup?

Local + server sync

Operating System Version

Windows 10

Description

This is an edge case for sure, but if using Trilium in multiple browser windows at the same time, collapsing the sidebar on one window will collapse the sidebar in all browser windows.

image

I know it's not a supported use case, but if there are multiple people logged into the web interface at the same time, this situation is unexpected.

Note: this does not affect the desktop app, just two browser instances of Trilium.

Error logs

No response

zadam commented 1 year ago

Yes, this is expected. Collapsed state is global and persisted (but not synced), therefore it affects all tabs.

meichthys commented 1 year ago

Ok, makes sense 👍

Nriver commented 1 year ago

If you want more space for editing area, you can try this really cool widget https://github.com/SiriusXT/trilium-left-panel-auto-zoom. It automatically widen note tree by moving your mouse.

meichthys commented 1 year ago

Kewl! I hadn't seen that yet! It's not currently easy to discover widgets like this, but your repo does help. something like https://github.com/zadam/trilium/issues/986 would definitely help too!