Updated Workspace (markdown)

Elian Doran 2025-10-30 09:50:41 +02:00
parent 758981b2f3
commit b495435196

@ -1,22 +1 @@
Workspace is a concept built up on top of \[\[note hoisting\]\]. It is based on the idea that a user has several distinct spheres of interest. An example might be "Personal" and "Work", these two spheres are quite distinct and don't interact together. When I focus on Work, I don't really care about personal notes. See https://docs.triliumnotes.org/user-guide/concepts/navigation/workspace.
So far workspace consists of these features:
* \[\[note hoisting\]\] - you can "zoom" into a workspace subtree to focus only on the relevant notes
* easy entering of workspace:
![](https://user-images.githubusercontent.com/617641/107129392-72df1280-68c5-11eb-92b6-6ce1cd52fdff.png)
* visual identification of workspace in tabs:
![](https://user-images.githubusercontent.com/617641/107129467-d406e600-68c5-11eb-86a7-219f168b47a9.png)
### How to use workspaces
Let's say you have identified the workspaces and their subtrees. Define on the root of this subtree following labels:
* `#workspace` - Marks this note as a workspace, button to enter the workspace is controlled by this
* `#workspaceIconClass` - controls the box icon to be displayed in the tree and tabs, example `bx bx-home`. See [https://boxicons.com/](https://boxicons.com/)
* `#workspaceTabBackgroundColor` - Background color of the tab, use any CSS color format, e.g. "lightblue" or "#ddd". See [https://www.w3schools.com/cssref/css_colors.asp](https://www.w3schools.com/cssref/css_colors.asp).
* `#workspaceCalendarRoot` - marking a note with this label will define a new per-workspace calendar. If there's no such note, the global calendar will be used.
* `#workspaceTemplate` - This note will appear in the selection of available templates when creating a new note, but only when you are currently hoisted into a workspace containing this template.