SiYuan Note Partition is a SiYuan plugin that provides workspace-like partitions without switching real SiYuan workspaces.
- Simulate workspace switching with partitions
- Let each partition maintain its own associated notebooks
- Control visibility by opening notebooks in the active partition and closing unrelated notebooks
- Do not provide security isolation, encryption, or true workspace separation
- Create a default partition on first use and associate it with all current notebooks
- Add, delete, and rename partitions
- Manage partition-to-notebook associations
- Always keep at least one partition; the last partition cannot be deleted
- Provide a left top-bar entry showing
icon + current partition name - Support quick switching and opening the management dialog from the top-bar menu
- Apply notebook visibility on partition switch
- Automatically associate newly created notebooks with the active partition
- Only notebook filtering is supported, No path-level filtering
- No note-level association
- The left top-bar button is the only main entry
- TypeScript
- Svelte 4
- Vite 5
- Sass
- SiYuan Plugin API (
siyuan)
pnpm install
pnpm run dev- Detailed design: docs/feature-design.md
- Codex reference: AGENTS.md
- SiYuan community docs: https://docs.siyuan-note.club/zh-Hans/reference/
- SiYuan source code: https://github.com/siyuan-note/siyuan
- Plugin Quick Start: https://ld246.com/article/1723732790981
- SiYuan Plugin API: https://github.com/siyuan-note/petal
- Official plugin sample: https://github.com/siyuan-note/plugin-sample
- Reference plugin idea: https://github.com/zxkmm/siyuan_fake_workspace