You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Panel states currently persist across notes. When a panel is toggled on for one note, navigating to another open note also displays that panel.
Proposed Enhancement
ZenNotes should save panel states independently for each note. A panel enabled for one note should not automatically be enabled when navigating to another note.
This should apply to panels such as:
Connections
Calendar
Outline
Comments
The behaviour should be controlled by a setting so users who prefer the current global panel state can disable it.
Example
If the Connections panel is enabled while viewing Note A, navigating to Note B should preserve Note B's own Connections panel state rather than enabling the panel automatically.
Considerations
Each note should retain its own panel states when revisited.
The setting should allow users to opt out of per-note panel states.
The behaviour should be consistent across supported panels.
Rationale
Saving panel states per note would allow different notes to maintain their own workspace layouts without requiring panels to be repeatedly toggled when navigating between notes.
Current Workaround
Manually toggle each panel when navigating between notes.
Additional Context
The Calendar panel already saves its state independently per note, providing a similar behaviour that could be extended to other panels.
This is built on the v2.52.0 branch and ships in 2.52.0: 007f52c7.
What you get. A new setting, Settings → Editor → Keep panels when switching notes. Turn it off and every note keeps its own Connections, Outline, Comments and Calendar state:
Open Connections on Note A, move to Note B, and B shows B's own panels, not A's. Come back to A and Connections is open again.
A note you have not opened yet starts with no panels.
A note's panels follow it through a rename or a move, and a new split starts with the panels of the pane it was split from.
All four panels behave the same way, as you asked. For the Calendar that means one more thing: with the automatic calendar on (Calendar panel state is not preserved after visiting periodic notes #502), a daily or weekly note whose calendar you closed now stays closed when you return to it, instead of reopening every time.
There is a command palette entry too (Remember Panels per Note / Keep Panels When Switching Notes), and the setting travels in config.toml as keep_panels_across_notes under [view].
Flipping the setting never rearranges what is on screen. The panels you are looking at stay put; only later note switches behave differently.
Two places where it differs from the proposal, so you are not surprised:
It is opt-in, not opt-out. You suggested per-note as the behavior with a setting to go back. I kept the current behavior as the default, because panels that follow you while you browse is what everyone has today, and an update that silently closes people's Outline on every note switch would read as a bug to them. One toggle gets you exactly what you described.
The memory lasts until you quit, the same as the per-note Edit / Split / Preview mode it is modeled on. It is never written into the note (notes stay plain files). Tabs and layout already come back after a restart from the workspace snapshot, and that is the right home for per-note panels too; I am treating that as a follow-up rather than holding this back for it. If a restart forgetting your panels bothers you in practice, say so here and that moves it up.
Found along the way, fixed in the same release: the panel shortcuts (Cmd/Ctrl+2, Cmd/Ctrl+3, Shift+Cmd/Ctrl+C) used to flip a pane's panels even while it was showing Trash, Tasks or Help, where no panel is visible, so the change turned up on the next note (c048134e). And "Keep view mode when switching notes", the sibling setting, was never actually written to config.toml; it is now (ecbc0109).
How to try it once 2.52.0 is out: open a note, press Ctrl+3 and Ctrl+2 (Outline, Connections), and move to another note: both panels follow you, as today. Now open Settings, type keep panels, press Enter and switch it off. Open a third note: it starts clean. Give it Comments, then go back and forth between the three: each one comes back the way you left it.
Thanks for the clear write-up, the list of panels and the #502 pointer made this one easy to scope.
Follow-up on point 2 above: the per-note panels now survive a restart, so that caveat no longer applies. 53c339ce, also in 2.52.0.
With Keep panels when switching notes turned off, each note's panels are saved with the workspace, the same record that already brings back your tabs and splits (and .zennotes/workspace.json, if your vault syncs). Quit, relaunch, and every note comes back with the panels you left it with. Nothing is written into the notes themselves; they stay plain Markdown.
Two details you may care about:
A daily or weekly note whose calendar you closed stays closed after a restart too, even with the automatic calendar on.
The saved record stays small: only what is open is stored, a note with nothing open is not stored at all, and panel memory for a note that has since been deleted is dropped on the next launch.
One thing that is still session-only, as before: each note's Edit / Split / Preview mode. That is a separate memory and this change does not touch it.
Activity
adibhanna commentedon Sep 17, 2026
This is built on the
v2.52.0branch and ships in 2.52.0: 007f52c7.What you get. A new setting, Settings → Editor → Keep panels when switching notes. Turn it off and every note keeps its own Connections, Outline, Comments and Calendar state:
config.tomlaskeep_panels_across_notesunder[view].Two places where it differs from the proposal, so you are not surprised:
Found along the way, fixed in the same release: the panel shortcuts (
Cmd/Ctrl+2,Cmd/Ctrl+3,Shift+Cmd/Ctrl+C) used to flip a pane's panels even while it was showing Trash, Tasks or Help, where no panel is visible, so the change turned up on the next note (c048134e). And "Keep view mode when switching notes", the sibling setting, was never actually written toconfig.toml; it is now (ecbc0109).How to try it once 2.52.0 is out: open a note, press
Ctrl+3andCtrl+2(Outline, Connections), and move to another note: both panels follow you, as today. Now open Settings, typekeep panels, press Enter and switch it off. Open a third note: it starts clean. Give it Comments, then go back and forth between the three: each one comes back the way you left it.Thanks for the clear write-up, the list of panels and the #502 pointer made this one easy to scope.
Feat(panels): per-note panels come back after a restart (#794)
adibhanna commentedon Sep 17, 2026
Follow-up on point 2 above: the per-note panels now survive a restart, so that caveat no longer applies. 53c339ce, also in 2.52.0.
With Keep panels when switching notes turned off, each note's panels are saved with the workspace, the same record that already brings back your tabs and splits (and
.zennotes/workspace.json, if your vault syncs). Quit, relaunch, and every note comes back with the panels you left it with. Nothing is written into the notes themselves; they stay plain Markdown.Two details you may care about:
One thing that is still session-only, as before: each note's Edit / Split / Preview mode. That is a separate memory and this change does not touch it.
Fix(panels): the note keeps a readable width when side panels do not …
Feat(panels): each note can remember its own panels (ZenNotes#794)