Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(docs): document the hidden tree
Elian Doran6cc10a47d100
diff --git a/docs/User Guide/!!!meta.json b/docs/User Guide/!!!meta.jsonindex 017f7558fc..4fb1562db7 100644--- a/docs/User Guide/!!!meta.json+++ b/docs/User Guide/!!!meta.json@@ -1199,13 +1199,6 @@"isInheritable": false,"position": 20},- {- "type": "relation",- "name": "internalLink",- "value": "ivYnonVFBxbQ",- "isInheritable": false,- "position": 30- },{"type": "label","name": "shareAlias",@@ -1219,6 +1212,13 @@"value": "bx bxs-tree-alt","isInheritable": false,"position": 50+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "ivYnonVFBxbQ",+ "isInheritable": false,+ "position": 60}],"format": "markdown",@@ -7074,6 +7074,20 @@"value": "HcABDtFCkbFN","isInheritable": false,"position": 80+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "OFXdgB2nNk1F",+ "isInheritable": false,+ "position": 90+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "R9pX4DGra2Vt",+ "isInheritable": false,+ "position": 100}],"format": "markdown",@@ -7096,13 +7110,6 @@"type": "text","mime": "text/markdown","attributes": [- {- "type": "relation",- "name": "internalLink",- "value": "KC1HB96bqqHX",- "isInheritable": false,- "position": 10- },{"type": "label","name": "shareAlias",@@ -7130,6 +7137,13 @@"value": "Cq5X6iKQop6R","isInheritable": false,"position": 50+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "KC1HB96bqqHX",+ "isInheritable": false,+ "position": 60}],"format": "markdown",@@ -8763,6 +8777,238 @@"attachments": []}]+ },+ {+ "isClone": false,+ "noteId": "2mUhVmZK8RF3",+ "notePath": [+ "pOsGYCXsbNQG",+ "tC7s2alapj8V",+ "2mUhVmZK8RF3"+ ],+ "title": "Hidden Notes",+ "notePosition": 230,+ "prefix": null,+ "isExpanded": false,+ "type": "text",+ "mime": "text/html",+ "attributes": [+ {+ "type": "relation",+ "name": "internalLink",+ "value": "x3i7MxGccDuM",+ "isInheritable": false,+ "position": 10+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-hide",+ "isInheritable": false,+ "position": 20+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "zEY4DaJG4YT5",+ "isInheritable": false,+ "position": 30+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "Cq5X6iKQop6R",+ "isInheritable": false,+ "position": 40+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "eIg8jdvaoNNd",+ "isInheritable": false,+ "position": 50+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "wX4HbRucYSDD",+ "isInheritable": false,+ "position": 60+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "m1lbrzyKDaRB",+ "isInheritable": false,+ "position": 70+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "bdUJEHsAPYQR",+ "isInheritable": false,+ "position": 80+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "xYmIYSP6wE3F",+ "isInheritable": false,+ "position": 90+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "u3YFHC9tQlpm",+ "isInheritable": false,+ "position": 100+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "YKWqdJhzi2VY",+ "isInheritable": false,+ "position": 110+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "ivYnonVFBxbQ",+ "isInheritable": false,+ "position": 120+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "qzNzp9LYQyPT",+ "isInheritable": false,+ "position": 130+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "CdNpE2pqjmI6",+ "isInheritable": false,+ "position": 140+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "R9pX4DGra2Vt",+ "isInheritable": false,+ "position": 150+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "4TIF1oA4VQRO",+ "isInheritable": false,+ "position": 160+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "_globalNoteMap",+ "isInheritable": false,+ "position": 170+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "_sqlConsole",+ "isInheritable": false,+ "position": 180+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "_search",+ "isInheritable": false,+ "position": 190+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "_bulkAction",+ "isInheritable": false,+ "position": 200+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "_backendLog",+ "isInheritable": false,+ "position": 210+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "_userHidden",+ "isInheritable": false,+ "position": 220+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "_lbTplRoot",+ "isInheritable": false,+ "position": 230+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "_share",+ "isInheritable": false,+ "position": 240+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "_lbRoot",+ "isInheritable": false,+ "position": 250+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "_options",+ "isInheritable": false,+ "position": 260+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "_lbMobileRoot",+ "isInheritable": false,+ "position": 270+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "_help",+ "isInheritable": false,+ "position": 280+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "QEAPj01N5f7w",+ "isInheritable": false,+ "position": 290+ }+ ],+ "format": "markdown",+ "dataFileName": "Hidden Notes.md",+ "attachments": [+ {+ "attachmentId": "PrFEZeM6sRl6",+ "title": "image.png",+ "role": "image",+ "mime": "image/png",+ "position": 10,+ "dataFileName": "Hidden Notes_image.png"+ }+ ]}]},diff --git a/docs/User Guide/User Guide/Advanced Usage/Attributes/Attribute Inheritance.md b/docs/User Guide/User Guide/Advanced Usage/Attributes/Attribute Inheritance.mdindex 361f2bb7f9..46c09879e9 100644--- a/docs/User Guide/User Guide/Advanced Usage/Attributes/Attribute Inheritance.md+++ b/docs/User Guide/User Guide/Advanced Usage/Attributes/Attribute Inheritance.md@@ -9,19 +9,30 @@ To make an attribute inheritable, simply use the visual editor for <a class="reAs an example, the `archived` label can be set to be inheritable, allowing you to hide a whole subtree of notes from searches and other dialogs by applying this label at the top level.+Standard inheritance forces all the notes that are children (and sub-children) of a note to have that particular label or relation. If there is a need to have some notes not inherit one of the labels, then _copying inheritance_ or _template inheritance_ needs to be used instead.+## Copying InheritanceCopying inheritance differs from standard inheritance by using a `child:` prefix in the attribute name. This prefix causes new child notes to automatically receive specific attributes from the parent note. These attributes are independent of the parent and will persist even if the note is moved elsewhere.-### How to Use+If a parent note has the label `#child:exampleAttribute`, all newly created child notes (one level deep) will inherit the `#exampleAttribute` label. This can be useful for setting default properties for notes in a specific section.++Similarly, for relations use `~child:myRelation`.++Due to the way it's designed, copying inheritance cannot be used to cascade infinitely within a hierarchy. For that use case, consider using either standard inheritance or templates.++### Chained inheritance++It is possible to define labels across multiple levels of depth. For example, `#child:child:child:foo` applied to a root note would create:-* **Syntax:** `#child:attributeName`-* **Chained Inheritance:** You can chain this inheritance, such as `#child:child:attributeName`, where each child down the hierarchy receives the appropriate attribute.+* `#child:child:foo` on the first-level children.+* `#child:foo` on the second-level children.+* `#foo` on the third-level children.-### Example+Similarly, use `~child:child:child:foo` if dealing with relations.-If a parent note has the label `#child:exampleAttribute`, all newly created child notes will inherit the `#exampleAttribute` label. This can be useful for setting default properties for notes in a specific section.+Do note that same as simple copying inheritance, the changes will not apply retroactively to existing notes in the hierarchy, it will only apply to the newly created notes.## Template Inheritance-Attributes can also be inherited from [templates](../Templates.md). When a new note is created using a template, it inherits the attributes defined in that template. This is particularly useful for maintaining consistency across notes that follow a similar structure or function.\ No newline at end of file+Attributes can also be inherited from <a class="reference-link" href="../Templates.md">Templates</a>. When a new note is created using a template, it inherits the attributes defined in that template. This is particularly useful for maintaining consistency across notes that follow a similar structure or function.\ No newline at end of filediff --git a/docs/User Guide/User Guide/Advanced Usage/Attributes/Labels.md b/docs/User Guide/User Guide/Advanced Usage/Attributes/Labels.mdindex 4e6cc31901..514eb8132b 100644--- a/docs/User Guide/User Guide/Advanced Usage/Attributes/Labels.md+++ b/docs/User Guide/User Guide/Advanced Usage/Attributes/Labels.md@@ -1,9 +1,9 @@# Labels-A label is an [attribute](../Attributes.md) of a note which has a name and optionally a value.+A label is an [attribute](../Attributes.md) of a note which has a name and optionally a value.## Common use cases-* **Metadata**: Assign labels with optional values for categorization, such as `#year=1999`, `#genre="sci-fi"`, or `#author="Neal Stephenson"`.+* **Metadata for personal use**: Assign labels with optional values for categorization, such as `#year=1999`, `#genre="sci-fi"`, or `#author="Neal Stephenson"`. This can be combined with <a class="reference-link" href="Promoted%20Attributes.md">Promoted Attributes</a> to make their display more user-friendly.* **Configuration**: Labels can configure advanced features or settings (see reference below).* **Scripts and Plugins**: Used to tag notes with special metadata, such as the "weight" attribute in the <a class="reference-link" href="../Advanced%20Showcases/Weight%20Tracker.md">Weight Tracker</a>.diff --git a/docs/User Guide/User Guide/Advanced Usage/Attributes/Relations.md b/docs/User Guide/User Guide/Advanced Usage/Attributes/Relations.mdindex f121174947..66f73e5e96 100644--- a/docs/User Guide/User Guide/Advanced Usage/Attributes/Relations.md+++ b/docs/User Guide/User Guide/Advanced Usage/Attributes/Relations.md@@ -3,7 +3,9 @@ A relation is similar to a [label](Labels.md), but instead of having a text valu## Common use cases-* **Metadata Relationships**: For example, linking a book note to an author note.+* **Metadata Relationships for personal use**: For example, linking a book note to an author note.+ This can be combined with <a class="reference-link" href="Promoted%20Attributes.md">Promoted Attributes</a> to make their display more user-friendly.+* **Configuration**: For configuring some notes such as <a class="reference-link" href="../../Note%20Types/Render%20Note.md">Render Note</a>, or configuring <a class="reference-link" href="../Sharing.md">Sharing</a> or <a class="reference-link" href="../Templates.md">Templates</a> (see the list below).* **Scripting**: Attaching scripts to events or conditions related to the note.## Creating a relation using the visual editordiff --git a/docs/User Guide/User Guide/Advanced Usage/Hidden Notes.md b/docs/User Guide/User Guide/Advanced Usage/Hidden Notes.mdnew file mode 100644index 0000000000..ee2d2fd47e--- /dev/null+++ b/docs/User Guide/User Guide/Advanced Usage/Hidden Notes.md@@ -0,0 +1,18 @@+# Hidden Notes+<figure class="image image-style-align-right"><img style="aspect-ratio:263/445;" src="Hidden Notes_image.png" width="263" height="445"></figure>++For easy extensibility, a lot of features in Trilium make use of actual notes to store information as opposed to having them stored in a separate location in the database. This allows some functions such as <a class="reference-link" href="Attributes.md">Attributes</a>, <a class="reference-link" href="Attributes/Relations.md">Relations</a> or even <a class="reference-link" href="../Basic%20Concepts%20and%20Features/Navigation/Search.md">Search</a> and <a class="reference-link" href="../Note%20Types/Text/Links.md">Links</a> to be able to operate on them.++As the name suggests, these notes are hidden to the user by default to prevent cluttering the note tree and to prevent them from being accidentally deleted.++The hidden notes are stored in the user's <a class="reference-link" href="Database.md">Database</a> just like normal notes, but they have a unique <a class="reference-link" href="Note%20ID.md">Note ID</a> which allows them to be distinguished from the normal ones.++## Accessing the hidden note tree++From the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Global%20menu.md">Global menu</a>, select _Advanced_ → _Show Hidden Subtree_.++## Contents of the hidden note tree++Here is a brief summary of all the notes within the hidden tree:++<figure class="table" style="width:100%;"><table class="ck-table-resized"><colgroup><col style="width:19.93%;"><col style="width:80.07%;"></colgroup><thead><tr><th>Note</th><th>Description</th></tr></thead><tbody><tr><td><a class="reference-link" href="#root/_hidden/_globalNoteMap">Note Map</a></td><td><p>This note is actually opened when the <a class="reference-link" href="../Note%20Types/Note%20Map.md">Note Map</a> feature that is accessed from the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Launch%20Bar.md">Launch Bar</a>.</p><p>It is possible to create any child notes in it without any additional meaning. For example, it can be used to store a list of note maps which can be linked to from other notes or <a href="../Basic%20Concepts%20and%20Features/Navigation/Bookmarks.md">bookmarked</a>.</p></td></tr><tr><td><a class="reference-link" href="#root/_hidden/_sqlConsole">SQL Console History</a></td><td><p>When SQL queries or commands are executed in the <a class="reference-link" href="Database/Manually%20altering%20the%20database/SQL%20Console.md">SQL Console</a>, they are stored here, grouped by month. Only the query is stored and not the results.</p><p>This section can be accessed without going to the hidden tree by simply going to the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Global%20menu.md">Global menu</a> and selecting Advanced → Open SQL Console History.</p><p>Notes can be added as children of this tree, but it's generally not recommended to do so to not interfere with the normal history process.</p></td></tr><tr><td><a class="reference-link" href="#root/_hidden/_search">Search History</a></td><td><p>Whenever a search is executed from the full <a class="reference-link" href="../Basic%20Concepts%20and%20Features/Navigation/Search.md">Search</a>, the query will be stored here, grouped by month. Only the search parameters are stored and not the results themselves.</p><p>This section can be accessed without going to the hidden tree by simply going to the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Global%20menu.md">Global menu</a> and selecting Advanced → Open Search History.</p><p>Notes can be added as children of this tree, but it's generally not recommended to do so to not interfere with the normal history process.</p></td></tr><tr><td><a class="reference-link" href="#root/_hidden/_bulkAction">Bulk Action</a></td><td>This section is used for <a class="reference-link" href="Bulk%20actions.md">Bulk actions</a>.</td></tr><tr><td><a class="reference-link" href="#root/_hidden/_backendLog">Backend Log</a></td><td><p>This note corresponds to the backend log feature (see <a class="reference-link" href="../Troubleshooting/Error%20logs.md">Error logs</a>).</p><p>This item can be accessed without going to the hidden try by going to the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Global%20menu.md">Global menu</a> and selecting Advanced → Show backend log.</p></td></tr><tr><td><a class="reference-link" href="#root/_hidden/_userHidden">User Hidden</a></td><td>This section can be used by <a href="../Scripting.md">scripts</a> to create their own notes that should not be directly visible to the user. The note can be identified by scripts by its unique ID: <code>_userHidden</code></td></tr><tr><td><a class="reference-link" href="#root/_hidden/_lbTplRoot">Launch Bar Templates</a></td><td><p>This section contains the templates for the creation of launchers in the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Launch%20Bar.md">Launch Bar</a>. It is not possible to create child notes here.</p><p>Theoretically some of the notes here can be customized, but there's not much benefit to be had in doing so.</p></td></tr><tr><td><a class="reference-link" href="#root/_hidden/_share">Shared Notes</a></td><td><p>This tree lists all of the notes that are <a href="Sharing.md">shared</a> publicly. It can be useful to track down which notes are shared regardless of their position in the note tree.</p><p>This section can be accessed without going to the hidden tree simply by going to the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Global%20menu.md">Global menu</a> and selecting <em>Show Shared Notes Subtree</em>.</p><p>Sub-notes cannot be created here.</p></td></tr><tr><td><a class="reference-link" href="#root/_hidden/_lbRoot">Launch Bar</a></td><td><p>The tree contains both available and displayed items of the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Launch%20Bar.md">Launch Bar</a>.</p><p>This section can be accessed without going to the hidden tree by:</p><ul><li>Going to the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Global%20menu.md">Global menu</a> and selecting <em>Configure Launchbar</em>.</li><li>Right-clicking an empty space on the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Launch%20Bar.md">Launch Bar</a> and selecting <em>Configure Launchbar</em>.</li></ul><p>Sub-notes cannot be created here.</p></td></tr><tr><td><a class="reference-link" href="#root/_hidden/_options">Options</a></td><td><p>This section stores the list of <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Options.md">Options</a>.</p><p>This section can be accessed without going to the hidden tree by:</p><ul><li>Going to the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Global%20menu.md">Global menu</a> and selecting <em>Options</em>.</li><li>Pressing the dedicated Options icon in the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Launch%20Bar.md">Launch Bar</a>.</li></ul></td></tr><tr><td><a class="reference-link" href="#root/_hidden/_lbMobileRoot">Mobile Launch Bar</a></td><td><p>This is very similar to the <em>Launch Bar</em>, but is dedicated for the mobile UI only.</p><p>Accessing it outside the <em>Launch Bar</em> is the same as the Launch Bar, but needs to be done so from the mobile interface.</p></td></tr><tr><td><a class="reference-link" href="#root/_hidden/_help">User Guide</a></td><td>This is where the note structure for the User Guide is actually stored. Only the metadata is stored, as the help itself is present as actual files in the application directory.</td></tr></tbody></table></figure>\ No newline at end of filediff --git a/docs/User Guide/User Guide/Advanced Usage/Hidden Notes_image.png b/docs/User Guide/User Guide/Advanced Usage/Hidden Notes_image.pngnew file mode 100644index 0000000000..60c4c48022Binary files /dev/null and b/docs/User Guide/User Guide/Advanced Usage/Hidden Notes_image.png differdiff --git a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree.md b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree.mdindex a98732eb14..42efdb096c 100644--- a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree.md+++ b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree.md@@ -30,4 +30,4 @@ To do so, first select the note to start the selection with. Then hold Shift and-In the right-click menu, operations such as Cut, Copy, Move to, Clone to or Delete will apply to all the selected notes. It is also possible to apply [Bulk actions](../../Advanced%20Usage/Bulk%20actions.md) to them. The rest of the options will not be available and will appear disabled in the menu.\ No newline at end of file+In the right-click menu, operations such as Cut, Copy, Move to, Clone to or Delete will apply to all the selected notes. It is also possible to apply <a class="reference-link" href="../../Advanced%20Usage/Bulk%20actions.md">Bulk actions</a> to them. The rest of the options will not be available and will appear disabled in the menu.\ No newline at end of filediff --git a/src/public/app/doc_notes/en/User Guide/!!!meta.json b/src/public/app/doc_notes/en/User Guide/!!!meta.jsonindex 7c7cf085a6..50d85176a5 100644--- a/src/public/app/doc_notes/en/User Guide/!!!meta.json+++ b/src/public/app/doc_notes/en/User Guide/!!!meta.json@@ -1199,13 +1199,6 @@"isInheritable": false,"position": 20},- {- "type": "relation",- "name": "internalLink",- "value": "ivYnonVFBxbQ",- "isInheritable": false,- "position": 30- },{"type": "label","name": "shareAlias",@@ -1219,6 +1212,13 @@"value": "bx bxs-tree-alt","isInheritable": false,"position": 50+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "ivYnonVFBxbQ",+ "isInheritable": false,+ "position": 60}],"format": "html",@@ -7074,6 +7074,20 @@"value": "HcABDtFCkbFN","isInheritable": false,"position": 80+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "OFXdgB2nNk1F",+ "isInheritable": false,+ "position": 90+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "R9pX4DGra2Vt",+ "isInheritable": false,+ "position": 100}],"format": "html",@@ -7096,13 +7110,6 @@"type": "text","mime": "text/markdown","attributes": [- {- "type": "relation",- "name": "internalLink",- "value": "KC1HB96bqqHX",- "isInheritable": false,- "position": 10- },{"type": "label","name": "shareAlias",@@ -7130,6 +7137,13 @@"value": "Cq5X6iKQop6R","isInheritable": false,"position": 50+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "KC1HB96bqqHX",+ "isInheritable": false,+ "position": 60}],"format": "html",@@ -8763,6 +8777,238 @@"attachments": []}]+ },+ {+ "isClone": false,+ "noteId": "2mUhVmZK8RF3",+ "notePath": [+ "pOsGYCXsbNQG",+ "tC7s2alapj8V",+ "2mUhVmZK8RF3"+ ],+ "title": "Hidden Notes",+ "notePosition": 230,+ "prefix": null,+ "isExpanded": false,+ "type": "text",+ "mime": "text/html",+ "attributes": [+ {+ "type": "relation",+ "name": "internalLink",+ "value": "x3i7MxGccDuM",+ "isInheritable": false,+ "position": 10+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-hide",+ "isInheritable": false,+ "position": 20+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "zEY4DaJG4YT5",+ "isInheritable": false,+ "position": 30+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "Cq5X6iKQop6R",+ "isInheritable": false,+ "position": 40+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "eIg8jdvaoNNd",+ "isInheritable": false,+ "position": 50+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "wX4HbRucYSDD",+ "isInheritable": false,+ "position": 60+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "m1lbrzyKDaRB",+ "isInheritable": false,+ "position": 70+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "bdUJEHsAPYQR",+ "isInheritable": false,+ "position": 80+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "xYmIYSP6wE3F",+ "isInheritable": false,+ "position": 90+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "u3YFHC9tQlpm",+ "isInheritable": false,+ "position": 100+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "YKWqdJhzi2VY",+ "isInheritable": false,+ "position": 110+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "ivYnonVFBxbQ",+ "isInheritable": false,+ "position": 120+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "qzNzp9LYQyPT",+ "isInheritable": false,+ "position": 130+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "CdNpE2pqjmI6",+ "isInheritable": false,+ "position": 140+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "R9pX4DGra2Vt",+ "isInheritable": false,+ "position": 150+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "4TIF1oA4VQRO",+ "isInheritable": false,+ "position": 160+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "_globalNoteMap",+ "isInheritable": false,+ "position": 170+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "_sqlConsole",+ "isInheritable": false,+ "position": 180+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "_search",+ "isInheritable": false,+ "position": 190+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "_bulkAction",+ "isInheritable": false,+ "position": 200+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "_backendLog",+ "isInheritable": false,+ "position": 210+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "_userHidden",+ "isInheritable": false,+ "position": 220+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "_lbTplRoot",+ "isInheritable": false,+ "position": 230+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "_share",+ "isInheritable": false,+ "position": 240+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "_lbRoot",+ "isInheritable": false,+ "position": 250+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "_options",+ "isInheritable": false,+ "position": 260+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "_lbMobileRoot",+ "isInheritable": false,+ "position": 270+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "_help",+ "isInheritable": false,+ "position": 280+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "QEAPj01N5f7w",+ "isInheritable": false,+ "position": 290+ }+ ],+ "format": "html",+ "dataFileName": "Hidden Notes.html",+ "attachments": [+ {+ "attachmentId": "PrFEZeM6sRl6",+ "title": "image.png",+ "role": "image",+ "mime": "image/png",+ "position": 10,+ "dataFileName": "Hidden Notes_image.png"+ }+ ]}]},diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Attribute Inheritance.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Attribute Inheritance.htmlindex e98dd9c1f1..043bcf0d03 100644--- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Attribute Inheritance.html+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Attribute Inheritance.html@@ -29,26 +29,37 @@<p>As an example, the <code>archived</code> label can be set to be inheritable,allowing you to hide a whole subtree of notes from searches and other dialogsby applying this label at the top level.</p>+ <p>Standard inheritance forces all the notes that are children (and sub-children)+ of a note to have that particular label or relation. If there is a need+ to have some notes not inherit one of the labels, then <em>copying inheritance</em> or <em>template inheritance</em> needs+ to be used instead.</p><h2>Copying Inheritance</h2><p>Copying inheritance differs from standard inheritance by using a <code>child:</code> prefixin the attribute name. This prefix causes new child notes to automaticallyreceive specific attributes from the parent note. These attributes areindependent of the parent and will persist even if the note is moved elsewhere.</p>- <h3>How to Use</h3>- <ul>- <li><strong>Syntax:</strong> <code>#child:attributeName</code>- </li>- <li><strong>Chained Inheritance:</strong> You can chain this inheritance, such- as <code>#child:child:attributeName</code>, where each child down the hierarchy- receives the appropriate attribute.</li>- </ul>- <h3>Example</h3><p>If a parent note has the label <code>#child:exampleAttribute</code>, all- newly created child notes will inherit the <code>#exampleAttribute</code> label.+ newly created child notes (one level deep) will inherit the <code>#exampleAttribute</code> label.This can be useful for setting default properties for notes in a specificsection.</p>+ <p>Similarly, for relations use <code>~child:myRelation</code>.</p>+ <p>Due to the way it's designed, copying inheritance cannot be used to cascade+ infinitely within a hierarchy. For that use case, consider using either+ standard inheritance or templates.</p>+ <h3>Chained inheritance</h3>+ <p>It is possible to define labels across multiple levels of depth. For example, <code>#child:child:child:foo</code> applied+ to a root note would create:</p>+ <ul>+ <li><code>#child:child:foo</code> on the first-level children.</li>+ <li><code>#child:foo</code> on the second-level children.</li>+ <li><code>#foo</code> on the third-level children.</li>+ </ul>+ <p>Similarly, use <code>~child:child:child:foo</code> if dealing with relations.</p>+ <p>Do note that same as simple copying inheritance, the changes will not+ apply retroactively to existing notes in the hierarchy, it will only apply+ to the newly created notes.</p><h2>Template Inheritance</h2>- <p>Attributes can also be inherited from <a href="../Templates.html">templates</a>.+ <p>Attributes can also be inherited from <a class="reference-link" href="../Templates.html">Templates</a>.When a new note is created using a template, it inherits the attributesdefined in that template. This is particularly useful for maintaining consistencyacross notes that follow a similar structure or function.</p>diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Labels.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Labels.htmlindex be71de0a41..87c801fe69 100644--- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Labels.html+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Labels.html@@ -14,11 +14,14 @@<div class="ck-content"><p>A label is an <a href="../Attributes.html">attribute</a> of a note which- has a name and optionally a value. </p>+ has a name and optionally a value.</p><h2>Common use cases</h2><ul>- <li><strong>Metadata</strong>: Assign labels with optional values for categorization,- such as <code>#year=1999</code>, <code>#genre="sci-fi"</code>, or <code>#author="Neal Stephenson"</code>.</li>+ <li><strong>Metadata for personal use</strong>: Assign labels with optional+ values for categorization, such as <code>#year=1999</code>, <code>#genre="sci-fi"</code>,+ or <code>#author="Neal Stephenson"</code>. This can be combined with + <a+ class="reference-link" href="Promoted%20Attributes.html">Promoted Attributes</a> to make their display more user-friendly.</li><li><strong>Configuration</strong>: Labels can configure advanced featuresor settings (see reference below).</li><li><strong>Scripts and Plugins</strong>: Used to tag notes with special metadata,diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Relations.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Relations.htmlindex 5d3e541ea2..bfb1d8d1c3 100644--- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Relations.html+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Relations.html@@ -17,8 +17,15 @@of having a text value it refers to another note.</p><h2>Common use cases</h2><ul>- <li><strong>Metadata Relationships</strong>: For example, linking a book note- to an author note.</li>+ <li><strong>Metadata Relationships for personal use</strong>: For example,+ linking a book note to an author note.+ <br>This can be combined with <a class="reference-link" href="Promoted%20Attributes.html">Promoted Attributes</a> to+ make their display more user-friendly.</li>+ <li><strong>Configuration</strong>: For configuring some notes such as + <a+ class="reference-link" href="../../Note%20Types/Render%20Note.html">Render Note</a>, or configuring <a class="reference-link" href="../Sharing.html">Sharing</a> or + <a+ class="reference-link" href="../Templates.html">Templates</a> (see the list below).</li><li><strong>Scripting</strong>: Attaching scripts to events or conditionsrelated to the note.</li></ul>diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Hidden Notes.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Hidden Notes.htmlnew file mode 100644index 0000000000..db69ece120--- /dev/null+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Hidden Notes.html@@ -0,0 +1,196 @@+<html>++ <head>+ <meta charset="utf-8">+ <meta name="viewport" content="width=device-width, initial-scale=1">+ <link rel="stylesheet" href="../../style.css">+ <base target="_parent">+ <title data-trilium-title>Hidden Notes</title>+ </head>++ <body>+ <div class="content">+ <h1 data-trilium-h1>Hidden Notes</h1>++ <div class="ck-content">+ <figure class="image image-style-align-right">+ <img style="aspect-ratio:263/445;" src="Hidden Notes_image.png" width="263"+ height="445">+ </figure>+ <p>For easy extensibility, a lot of features in Trilium make use of actual+ notes to store information as opposed to having them stored in a separate+ location in the database. This allows some functions such as <a class="reference-link"+ href="Attributes.html">Attributes</a>, <a class="reference-link" href="Attributes/Relations.html">Relations</a> or+ even <a class="reference-link" href="../Basic%20Concepts%20and%20Features/Navigation/Search.html">Search</a> and + <a+ class="reference-link" href="../Note%20Types/Text/Links.html">Links</a> to be able to operate on them.</p>+ <p>As the name suggests, these notes are hidden to the user by default to+ prevent cluttering the note tree and to prevent them from being accidentally+ deleted.</p>+ <p>The hidden notes are stored in the user's <a class="reference-link"+ href="Database.html">Database</a> just like normal notes, but they+ have a unique <a class="reference-link" href="Note%20ID.html">Note ID</a> which+ allows them to be distinguished from the normal ones.</p>+ <h2>Accessing the hidden note tree</h2>+ <p>From the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Global%20menu.html">Global menu</a>,+ select <em>Advanced</em> → <em>Show Hidden Subtree</em>.</p>+ <h2>Contents of the hidden note tree</h2>+ <p>Here is a brief summary of all the notes within the hidden tree:</p>+ <figure+ class="table" style="width:100%;">+ <table class="ck-table-resized">+ <colgroup>+ <col style="width:19.93%;">+ <col style="width:80.07%;">+ </colgroup>+ <thead>+ <tr>+ <th>Note</th>+ <th>Description</th>+ </tr>+ </thead>+ <tbody>+ <tr>+ <td><a class="reference-link" href="#root/_hidden/_globalNoteMap">Note Map</a>+ </td>+ <td>+ <p>This note is actually opened when the <a class="reference-link" href="../Note%20Types/Note%20Map.html">Note Map</a> feature+ that is accessed from the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Launch%20Bar.html">Launch Bar</a>.</p>+ <p>It is possible to create any child notes in it without any additional+ meaning. For example, it can be used to store a list of note maps which+ can be linked to from other notes or <a href="../Basic%20Concepts%20and%20Features/Navigation/Bookmarks.html">bookmarked</a>.</p>+ </td>+ </tr>+ <tr>+ <td><a class="reference-link" href="#root/_hidden/_sqlConsole">SQL Console History</a>+ </td>+ <td>+ <p>When SQL queries or commands are executed in the <a class="reference-link"+ href="Database/Manually%20altering%20the%20database/SQL%20Console.html">SQL Console</a>,+ they are stored here, grouped by month. Only the query is stored and not+ the results.</p>+ <p>This section can be accessed without going to the hidden tree by simply+ going to the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Global%20menu.html">Global menu</a> and+ selecting Advanced → Open SQL Console History.</p>+ <p>Notes can be added as children of this tree, but it's generally not recommended+ to do so to not interfere with the normal history process.</p>+ </td>+ </tr>+ <tr>+ <td><a class="reference-link" href="#root/_hidden/_search">Search History</a>+ </td>+ <td>+ <p>Whenever a search is executed from the full <a class="reference-link"+ href="../Basic%20Concepts%20and%20Features/Navigation/Search.html">Search</a>,+ the query will be stored here, grouped by month. Only the search parameters+ are stored and not the results themselves.</p>+ <p>This section can be accessed without going to the hidden tree by simply+ going to the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Global%20menu.html">Global menu</a> and+ selecting Advanced → Open Search History.</p>+ <p>Notes can be added as children of this tree, but it's generally not recommended+ to do so to not interfere with the normal history process.</p>+ </td>+ </tr>+ <tr>+ <td><a class="reference-link" href="#root/_hidden/_bulkAction">Bulk Action</a>+ </td>+ <td>This section is used for <a class="reference-link" href="Bulk%20actions.html">Bulk actions</a>.</td>+ </tr>+ <tr>+ <td><a class="reference-link" href="#root/_hidden/_backendLog">Backend Log</a>+ </td>+ <td>+ <p>This note corresponds to the backend log feature (see <a class="reference-link"+ href="../Troubleshooting/Error%20logs.html">Error logs</a>).</p>+ <p>This item can be accessed without going to the hidden try by going to+ the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Global%20menu.html">Global menu</a> and+ selecting Advanced → Show backend log.</p>+ </td>+ </tr>+ <tr>+ <td><a class="reference-link" href="#root/_hidden/_userHidden">User Hidden</a>+ </td>+ <td>This section can be used by <a href="../Scripting.html">scripts</a> to create+ their own notes that should not be directly visible to the user. The note+ can be identified by scripts by its unique ID: <code>_userHidden</code>+ </td>+ </tr>+ <tr>+ <td><a class="reference-link" href="#root/_hidden/_lbTplRoot">Launch Bar Templates</a>+ </td>+ <td>+ <p>This section contains the templates for the creation of launchers in the + <a+ class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Launch%20Bar.html">Launch Bar</a>. It is not possible to create child notes here.</p>+ <p>Theoretically some of the notes here can be customized, but there's not+ much benefit to be had in doing so.</p>+ </td>+ </tr>+ <tr>+ <td><a class="reference-link" href="#root/_hidden/_share">Shared Notes</a>+ </td>+ <td>+ <p>This tree lists all of the notes that are <a href="Sharing.html">shared</a> publicly.+ It can be useful to track down which notes are shared regardless of their+ position in the note tree.</p>+ <p>This section can be accessed without going to the hidden tree simply by+ going to the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Global%20menu.html">Global menu</a> and+ selecting <em>Show Shared Notes Subtree</em>.</p>+ <p>Sub-notes cannot be created here.</p>+ </td>+ </tr>+ <tr>+ <td><a class="reference-link" href="#root/_hidden/_lbRoot">Launch Bar</a>+ </td>+ <td>+ <p>The tree contains both available and displayed items of the <a class="reference-link"+ href="../Basic%20Concepts%20and%20Features/UI%20Elements/Launch%20Bar.html">Launch Bar</a>.</p>+ <p>This section can be accessed without going to the hidden tree by:</p>+ <ul>+ <li>Going to the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Global%20menu.html">Global menu</a> and+ selecting <em>Configure Launchbar</em>.</li>+ <li>Right-clicking an empty space on the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Launch%20Bar.html">Launch Bar</a> and+ selecting <em>Configure Launchbar</em>.</li>+ </ul>+ <p>Sub-notes cannot be created here.</p>+ </td>+ </tr>+ <tr>+ <td><a class="reference-link" href="#root/_hidden/_options">Options</a>+ </td>+ <td>+ <p>This section stores the list of <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Options.html">Options</a>.</p>+ <p>This section can be accessed without going to the hidden tree by:</p>+ <ul>+ <li>Going to the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Global%20menu.html">Global menu</a> and+ selecting <em>Options</em>.</li>+ <li>Pressing the dedicated Options icon in the <a class="reference-link"+ href="../Basic%20Concepts%20and%20Features/UI%20Elements/Launch%20Bar.html">Launch Bar</a>.</li>+ </ul>+ </td>+ </tr>+ <tr>+ <td><a class="reference-link" href="#root/_hidden/_lbMobileRoot">Mobile Launch Bar</a>+ </td>+ <td>+ <p>This is very similar to the <em>Launch Bar</em>, but is dedicated for the+ mobile UI only.</p>+ <p>Accessing it outside the <em>Launch Bar</em> is the same as the Launch Bar,+ but needs to be done so from the mobile interface.</p>+ </td>+ </tr>+ <tr>+ <td><a class="reference-link" href="#root/_hidden/_help">User Guide</a>+ </td>+ <td>This is where the note structure for the User Guide is actually stored.+ Only the metadata is stored, as the help itself is present as actual files+ in the application directory.</td>+ </tr>+ </tbody>+ </table>+ </figure>+ </div>+ </div>+ </body>++</html>\ No newline at end of filediff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Hidden Notes_image.png b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Hidden Notes_image.pngnew file mode 100644index 0000000000..60c4c48022Binary files /dev/null and b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Hidden Notes_image.png differdiff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree.htmlindex a91c810eac..530a8aaca6 100644--- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree.html+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree.html@@ -55,7 +55,7 @@</p><p>In the right-click menu, operations such as Cut, Copy, Move to, Cloneto or Delete will apply to all the selected notes. It is also possible- to apply <a href="../../Advanced%20Usage/Bulk%20actions.html">Bulk actions</a> to+ to apply <a class="reference-link" href="../../Advanced%20Usage/Bulk%20actions.html">Bulk actions</a> tothem. The rest of the options will not be available and will appear disabledin the menu.</p></div>diff --git a/src/public/app/doc_notes/en/User Guide/navigation.html b/src/public/app/doc_notes/en/User Guide/navigation.htmlindex e182e8de30..1e53dcb3b1 100644--- a/src/public/app/doc_notes/en/User Guide/navigation.html+++ b/src/public/app/doc_notes/en/User Guide/navigation.html@@ -422,6 +422,8 @@</li></ul></li>+ <li><a href="User%20Guide/Advanced%20Usage/Hidden%20Notes.html" target="detail">Hidden Notes</a>+ </li></ul></li><li><a href="User%20Guide/Scripting.html" target="detail">Scripting</a>