diff --git a/docs/User Guide/!!!meta.json b/docs/User Guide/!!!meta.json index 4fb1562db..a803e7aa5 100644 --- a/docs/User Guide/!!!meta.json +++ b/docs/User Guide/!!!meta.json @@ -1199,6 +1199,13 @@ "isInheritable": false, "position": 20 }, + { + "type": "relation", + "name": "internalLink", + "value": "ivYnonVFBxbQ", + "isInheritable": false, + "position": 30 + }, { "type": "label", "name": "shareAlias", @@ -1212,13 +1219,6 @@ "value": "bx bxs-tree-alt", "isInheritable": false, "position": 50 - }, - { - "type": "relation", - "name": "internalLink", - "value": "ivYnonVFBxbQ", - "isInheritable": false, - "position": 60 } ], "format": "markdown", @@ -1427,13 +1427,6 @@ "value": "bx bx-dots-horizontal", "isInheritable": false, "position": 20 - }, - { - "type": "relation", - "name": "internalLink", - "value": "_optionsAppearance", - "isInheritable": false, - "position": 220 } ], "format": "markdown", @@ -3317,6 +3310,13 @@ "isInheritable": false, "position": 10 }, + { + "type": "relation", + "name": "internalLink", + "value": "l0tKav7yLHGF", + "isInheritable": false, + "position": 20 + }, { "type": "label", "name": "shareAlias", @@ -3330,13 +3330,6 @@ "value": "bx bx-door-open", "isInheritable": false, "position": 30 - }, - { - "type": "relation", - "name": "internalLink", - "value": "l0tKav7yLHGF", - "isInheritable": false, - "position": 40 } ], "format": "markdown", @@ -5180,35 +5173,35 @@ { "type": "relation", "name": "internalLink", - "value": "CdNpE2pqjmI6", + "value": "BlN9DFI679QC", "isInheritable": false, "position": 10 }, { "type": "relation", "name": "internalLink", - "value": "iPIMuisry3hd", + "value": "4TIF1oA4VQRO", "isInheritable": false, "position": 20 }, { "type": "relation", "name": "internalLink", - "value": "QxEyIjRBizuC", + "value": "CdNpE2pqjmI6", "isInheritable": false, "position": 30 }, { "type": "relation", "name": "internalLink", - "value": "BlN9DFI679QC", + "value": "iPIMuisry3hd", "isInheritable": false, "position": 40 }, { "type": "relation", "name": "internalLink", - "value": "4TIF1oA4VQRO", + "value": "QxEyIjRBizuC", "isInheritable": false, "position": 50 }, @@ -6697,17 +6690,38 @@ { "type": "relation", "name": "internalLink", - "value": "OFXdgB2nNk1F", + "value": "HI6GBBIduIgv", + "isInheritable": false, + "position": 10 + }, + { + "type": "relation", + "name": "internalLink", + "value": "Cq5X6iKQop6R", "isInheritable": false, "position": 20 }, { "type": "relation", "name": "internalLink", - "value": "bwZpz2ajCEwO", + "value": "BlN9DFI679QC", "isInheritable": false, "position": 30 }, + { + "type": "relation", + "name": "internalLink", + "value": "OFXdgB2nNk1F", + "isInheritable": false, + "position": 40 + }, + { + "type": "relation", + "name": "internalLink", + "value": "bwZpz2ajCEwO", + "isInheritable": false, + "position": 50 + }, { "type": "label", "name": "shareAlias", @@ -6721,27 +6735,6 @@ "value": "bx bx-list-check", "isInheritable": false, "position": 110 - }, - { - "type": "relation", - "name": "internalLink", - "value": "HI6GBBIduIgv", - "isInheritable": false, - "position": 120 - }, - { - "type": "relation", - "name": "internalLink", - "value": "Cq5X6iKQop6R", - "isInheritable": false, - "position": 130 - }, - { - "type": "relation", - "name": "internalLink", - "value": "BlN9DFI679QC", - "isInheritable": false, - "position": 140 } ], "format": "markdown", @@ -6784,7 +6777,7 @@ { "type": "relation", "name": "internalLink", - "value": "BlN9DFI679QC", + "value": "R7abl2fc6Mxi", "isInheritable": false, "position": 20 }, @@ -6796,23 +6789,30 @@ "position": 30 }, { - "type": "label", - "name": "iconClass", - "value": "bx bx-hash", + "type": "relation", + "name": "internalLink", + "value": "l0tKav7yLHGF", "isInheritable": false, "position": 40 }, { "type": "relation", "name": "internalLink", - "value": "vZWERwf8U3nx", + "value": "OFXdgB2nNk1F", + "isInheritable": false, + "position": 50 + }, + { + "type": "relation", + "name": "internalLink", + "value": "BlN9DFI679QC", "isInheritable": false, "position": 60 }, { "type": "relation", "name": "internalLink", - "value": "l0tKav7yLHGF", + "value": "vZWERwf8U3nx", "isInheritable": false, "position": 70 }, @@ -6833,170 +6833,156 @@ { "type": "relation", "name": "internalLink", - "value": "OFXdgB2nNk1F", + "value": "CoFPLs3dRlXc", "isInheritable": false, "position": 100 }, { "type": "relation", "name": "internalLink", - "value": "CoFPLs3dRlXc", + "value": "AlhDUqhENtH7", "isInheritable": false, "position": 110 }, { "type": "relation", "name": "internalLink", - "value": "AlhDUqhENtH7", + "value": "pKK96zzmvBGf", "isInheritable": false, "position": 120 }, { "type": "relation", "name": "internalLink", - "value": "pKK96zzmvBGf", + "value": "WFGzWeUK6arS", "isInheritable": false, "position": 130 }, { "type": "relation", "name": "internalLink", - "value": "WFGzWeUK6arS", + "value": "0ESUbbAxVnoK", "isInheritable": false, "position": 140 }, { "type": "relation", "name": "internalLink", - "value": "0ESUbbAxVnoK", + "value": "J5Ex1ZrMbyJ6", "isInheritable": false, "position": 150 }, { "type": "relation", "name": "internalLink", - "value": "J5Ex1ZrMbyJ6", + "value": "d3fAXQ2diepH", "isInheritable": false, "position": 160 }, { "type": "relation", "name": "internalLink", - "value": "d3fAXQ2diepH", + "value": "MgibgPcfeuGz", "isInheritable": false, "position": 170 }, { "type": "relation", "name": "internalLink", - "value": "MgibgPcfeuGz", + "value": "m523cpzocqaD", "isInheritable": false, "position": 180 }, { "type": "relation", "name": "internalLink", - "value": "m523cpzocqaD", + "value": "9sRHySam5fXb", "isInheritable": false, "position": 190 }, { "type": "relation", "name": "internalLink", - "value": "9sRHySam5fXb", + "value": "u3YFHC9tQlpm", "isInheritable": false, "position": 200 }, { "type": "relation", "name": "internalLink", - "value": "_help_YKWqdJhzi2VY", + "value": "R9pX4DGra2Vt", "isInheritable": false, "position": 210 }, { "type": "relation", "name": "internalLink", - "value": "u3YFHC9tQlpm", + "value": "iRwzGnHPzonm", "isInheritable": false, "position": 220 }, { "type": "relation", "name": "internalLink", - "value": "R9pX4DGra2Vt", + "value": "BCkXAVs63Ttv", "isInheritable": false, "position": 230 }, { "type": "relation", "name": "internalLink", - "value": "iRwzGnHPzonm", + "value": "47ZrP6FNuoG8", "isInheritable": false, "position": 240 }, { "type": "relation", "name": "internalLink", - "value": "BCkXAVs63Ttv", + "value": "KC1HB96bqqHX", "isInheritable": false, "position": 250 }, { "type": "relation", "name": "internalLink", - "value": "47ZrP6FNuoG8", + "value": "BFvAtE74rbP6", "isInheritable": false, "position": 260 }, { "type": "relation", "name": "internalLink", - "value": "KC1HB96bqqHX", + "value": "bdUJEHsAPYQR", "isInheritable": false, "position": 270 }, { "type": "relation", "name": "internalLink", - "value": "BFvAtE74rbP6", + "value": "AxshuNRegLAv", "isInheritable": false, "position": 280 }, { "type": "relation", "name": "internalLink", - "value": "bdUJEHsAPYQR", + "value": "81SGnPGMk7Xc", "isInheritable": false, "position": 290 }, { "type": "relation", "name": "internalLink", - "value": "AxshuNRegLAv", + "value": "xWbu3jpNWapp", "isInheritable": false, "position": 300 }, { - "type": "relation", - "name": "internalLink", - "value": "81SGnPGMk7Xc", + "type": "label", + "name": "iconClass", + "value": "bx bx-hash", "isInheritable": false, - "position": 310 - }, - { - "type": "relation", - "name": "internalLink", - "value": "xWbu3jpNWapp", - "isInheritable": false, - "position": 320 - }, - { - "type": "relation", - "name": "internalLink", - "value": "R7abl2fc6Mxi", - "isInheritable": false, - "position": 330 + "position": 40 } ], "format": "markdown", @@ -7027,67 +7013,67 @@ "position": 10 }, { - "type": "label", - "name": "iconClass", - "value": "bx bx-transfer", + "type": "relation", + "name": "internalLink", + "value": "OFXdgB2nNk1F", "isInheritable": false, "position": 20 }, { "type": "relation", "name": "internalLink", - "value": "BlN9DFI679QC", + "value": "bwZpz2ajCEwO", "isInheritable": false, "position": 30 }, { "type": "relation", "name": "internalLink", - "value": "bwZpz2ajCEwO", + "value": "HcABDtFCkbFN", "isInheritable": false, "position": 40 }, { "type": "relation", "name": "internalLink", - "value": "oPVyFC7WL2Lp", + "value": "R9pX4DGra2Vt", "isInheritable": false, "position": 50 }, { "type": "relation", "name": "internalLink", - "value": "GPERMystNGTB", + "value": "KC1HB96bqqHX", "isInheritable": false, "position": 60 }, { "type": "relation", "name": "internalLink", - "value": "KC1HB96bqqHX", + "value": "BlN9DFI679QC", "isInheritable": false, "position": 70 }, { "type": "relation", "name": "internalLink", - "value": "HcABDtFCkbFN", + "value": "oPVyFC7WL2Lp", "isInheritable": false, "position": 80 }, { "type": "relation", "name": "internalLink", - "value": "OFXdgB2nNk1F", + "value": "GPERMystNGTB", "isInheritable": false, "position": 90 }, { - "type": "relation", - "name": "internalLink", - "value": "R9pX4DGra2Vt", + "type": "label", + "name": "iconClass", + "value": "bx bx-transfer", "isInheritable": false, - "position": 100 + "position": 20 } ], "format": "markdown", @@ -7110,6 +7096,27 @@ "type": "text", "mime": "text/markdown", "attributes": [ + { + "type": "relation", + "name": "internalLink", + "value": "HI6GBBIduIgv", + "isInheritable": false, + "position": 10 + }, + { + "type": "relation", + "name": "internalLink", + "value": "Cq5X6iKQop6R", + "isInheritable": false, + "position": 20 + }, + { + "type": "relation", + "name": "internalLink", + "value": "KC1HB96bqqHX", + "isInheritable": false, + "position": 30 + }, { "type": "label", "name": "shareAlias", @@ -7123,27 +7130,6 @@ "value": "bx bx-list-plus", "isInheritable": false, "position": 30 - }, - { - "type": "relation", - "name": "internalLink", - "value": "HI6GBBIduIgv", - "isInheritable": false, - "position": 40 - }, - { - "type": "relation", - "name": "internalLink", - "value": "Cq5X6iKQop6R", - "isInheritable": false, - "position": 50 - }, - { - "type": "relation", - "name": "internalLink", - "value": "KC1HB96bqqHX", - "isInheritable": false, - "position": 60 } ], "format": "markdown", @@ -7412,6 +7398,13 @@ "type": "text", "mime": "text/markdown", "attributes": [ + { + "type": "relation", + "name": "internalLink", + "value": "WOcw2SLH6tbX", + "isInheritable": false, + "position": 10 + }, { "type": "relation", "name": "internalLink", @@ -7419,6 +7412,13 @@ "isInheritable": false, "position": 20 }, + { + "type": "relation", + "name": "internalLink", + "value": "6f9hih2hXXZk", + "isInheritable": false, + "position": 30 + }, { "type": "relation", "name": "internalLink", @@ -7426,6 +7426,13 @@ "isInheritable": false, "position": 40 }, + { + "type": "relation", + "name": "internalLink", + "value": "Qjt68inQ2bRj", + "isInheritable": false, + "position": 50 + }, { "type": "label", "name": "shareAlias", @@ -7439,27 +7446,6 @@ "value": "bx bx-share-alt", "isInheritable": false, "position": 30 - }, - { - "type": "relation", - "name": "internalLink", - "value": "6f9hih2hXXZk", - "isInheritable": false, - "position": 50 - }, - { - "type": "relation", - "name": "internalLink", - "value": "WOcw2SLH6tbX", - "isInheritable": false, - "position": 60 - }, - { - "type": "relation", - "name": "internalLink", - "value": "Qjt68inQ2bRj", - "isInheritable": false, - "position": 70 } ], "format": "markdown", @@ -8073,25 +8059,25 @@ "position": 10 }, { - "type": "label", - "name": "shareAlias", - "value": "default-note-title", + "type": "relation", + "name": "internalLink", + "value": "habiZ3HU8Kw8", "isInheritable": false, - "position": 30 + "position": 20 }, { "type": "relation", "name": "internalLink", "value": "KC1HB96bqqHX", "isInheritable": false, - "position": 40 + "position": 30 }, { - "type": "relation", - "name": "internalLink", - "value": "habiZ3HU8Kw8", + "type": "label", + "name": "shareAlias", + "value": "default-note-title", "isInheritable": false, - "position": 50 + "position": 30 } ], "format": "markdown", @@ -8415,7 +8401,7 @@ "tC7s2alapj8V", "ivYnonVFBxbQ" ], - "title": "Bulk actions", + "title": "Bulk Actions", "notePosition": 180, "prefix": null, "isExpanded": false, @@ -8428,11 +8414,55 @@ "value": "bx bx-list-plus", "isInheritable": false, "position": 10 + }, + { + "type": "relation", + "name": "internalLink", + "value": "oPVyFC7WL2Lp", + "isInheritable": false, + "position": 20 + }, + { + "type": "relation", + "name": "internalLink", + "value": "HI6GBBIduIgv", + "isInheritable": false, + "position": 30 + }, + { + "type": "relation", + "name": "internalLink", + "value": "Cq5X6iKQop6R", + "isInheritable": false, + "position": 40 + }, + { + "type": "relation", + "name": "internalLink", + "value": "habiZ3HU8Kw8", + "isInheritable": false, + "position": 50 + }, + { + "type": "relation", + "name": "internalLink", + "value": "vZWERwf8U3nx", + "isInheritable": false, + "position": 60 } ], "format": "markdown", - "dataFileName": "Bulk actions.md", - "attachments": [] + "dataFileName": "Bulk Actions.md", + "attachments": [ + { + "attachmentId": "cJTc66E2BRTf", + "title": "image.png", + "role": "image", + "mime": "image/png", + "position": 10, + "dataFileName": "Bulk Actions_image.png" + } + ] }, { "isClone": false, @@ -8793,88 +8823,88 @@ "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 + "position": 10 }, { "type": "relation", "name": "internalLink", "value": "Cq5X6iKQop6R", "isInheritable": false, - "position": 40 - }, - { - "type": "relation", - "name": "internalLink", - "value": "eIg8jdvaoNNd", - "isInheritable": false, - "position": 50 + "position": 20 }, { "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 + "position": 30 }, { "type": "relation", "name": "internalLink", "value": "YKWqdJhzi2VY", "isInheritable": false, - "position": 110 + "position": 40 }, { "type": "relation", "name": "internalLink", "value": "ivYnonVFBxbQ", "isInheritable": false, + "position": 50 + }, + { + "type": "relation", + "name": "internalLink", + "value": "eIg8jdvaoNNd", + "isInheritable": false, + "position": 60 + }, + { + "type": "relation", + "name": "internalLink", + "value": "QEAPj01N5f7w", + "isInheritable": false, + "position": 70 + }, + { + "type": "relation", + "name": "internalLink", + "value": "m1lbrzyKDaRB", + "isInheritable": false, + "position": 80 + }, + { + "type": "relation", + "name": "internalLink", + "value": "x3i7MxGccDuM", + "isInheritable": false, + "position": 90 + }, + { + "type": "relation", + "name": "internalLink", + "value": "bdUJEHsAPYQR", + "isInheritable": false, + "position": 100 + }, + { + "type": "relation", + "name": "internalLink", + "value": "xYmIYSP6wE3F", + "isInheritable": false, + "position": 110 + }, + { + "type": "relation", + "name": "internalLink", + "value": "u3YFHC9tQlpm", + "isInheritable": false, "position": 120 }, { @@ -8905,6 +8935,13 @@ "isInheritable": false, "position": 160 }, + { + "type": "label", + "name": "iconClass", + "value": "bx bx-hide", + "isInheritable": false, + "position": 20 + }, { "type": "relation", "name": "internalLink", @@ -8988,13 +9025,6 @@ "value": "_help", "isInheritable": false, "position": 280 - }, - { - "type": "relation", - "name": "internalLink", - "value": "QEAPj01N5f7w", - "isInheritable": false, - "position": 290 } ], "format": "markdown", @@ -9113,21 +9143,21 @@ { "type": "relation", "name": "internalLink", - "value": "GLks18SNjxmC", + "value": "zEY4DaJG4YT5", "isInheritable": false, "position": 10 }, { "type": "relation", "name": "internalLink", - "value": "zEY4DaJG4YT5", + "value": "SynTBQiBsdYJ", "isInheritable": false, "position": 20 }, { "type": "relation", "name": "internalLink", - "value": "SynTBQiBsdYJ", + "value": "GLks18SNjxmC", "isInheritable": false, "position": 30 }, @@ -9314,25 +9344,11 @@ "type": "text", "mime": "text/markdown", "attributes": [ - { - "type": "relation", - "name": "internalLink", - "value": "zEY4DaJG4YT5", - "isInheritable": false, - "position": 10 - }, { "type": "relation", "name": "internalLink", "value": "CdNpE2pqjmI6", "isInheritable": false, - "position": 20 - }, - { - "type": "label", - "name": "shareAlias", - "value": "events", - "isInheritable": false, "position": 10 }, { @@ -9340,8 +9356,22 @@ "name": "internalLink", "value": "c5xB8m4g2IY6", "isInheritable": false, + "position": 20 + }, + { + "type": "relation", + "name": "internalLink", + "value": "zEY4DaJG4YT5", + "isInheritable": false, "position": 30 }, + { + "type": "label", + "name": "shareAlias", + "value": "events", + "isInheritable": false, + "position": 10 + }, { "type": "label", "name": "iconClass", diff --git a/docs/User Guide/User Guide/Advanced Usage/Attributes.md b/docs/User Guide/User Guide/Advanced Usage/Attributes.md index 91db7e9b9..72f8ae1b0 100644 --- a/docs/User Guide/User Guide/Advanced Usage/Attributes.md +++ b/docs/User Guide/User Guide/Advanced Usage/Attributes.md @@ -3,13 +3,12 @@ In Trilium, attributes are key-value pairs assigned to notes, providing additional metadata or functionality. There are two primary types of attributes: -1. Labels can be used for a variety of purposes, such as storing metadata or configuring the behaviour of notes. Labels are also searchable, enhancing note retrieval. - +1. Labels can be used for a variety of purposes, such as storing metadata or configuring the behaviour of notes. Labels are also searchable, enhancing note retrieval. + For more information, including predefined labels, see Labels. 2. Relations define connections between notes, similar to links. These can be used for metadata and scripting purposes. - For more information, including a list of predefined relations, see Relations. diff --git a/docs/User Guide/User Guide/Advanced Usage/Bulk Actions_image.png b/docs/User Guide/User Guide/Advanced Usage/Bulk Actions_image.png new file mode 100644 index 000000000..ea73dd92b Binary files /dev/null and b/docs/User Guide/User Guide/Advanced Usage/Bulk Actions_image.png differ diff --git a/docs/User Guide/User Guide/Advanced Usage/Bulk actions.md b/docs/User Guide/User Guide/Advanced Usage/Bulk actions.md index c87a42e5f..cf5a779df 100644 --- a/docs/User Guide/User Guide/Advanced Usage/Bulk actions.md +++ b/docs/User Guide/User Guide/Advanced Usage/Bulk actions.md @@ -1,16 +1,87 @@ -# Bulk actions -### Execute script +# Bulk Actions +
-For more complex scenarios, it is possible to type in a JavaScript expression in order to apply the necessary changes. +The _Bulk Actions_ dialog makes it easy to apply changes to multiple notes at once, ranging from simple actions such as adding or removing a label to being executing custom scripts. -To apply a suffix (`- suffix` in this example), to the note title: +## Interaction -```javascript -note.title = note.title + " - suffix"; -``` +* The first step is to select the notes in the Note Tree: + * It's possible to apply bulk actions to a single note (and potentially its child notes) simply by clicking on it (with a left click or a right click). + * To select a range of notes, select the start note, hold Shift and select the end note. The selected notes will appear highlighted in the note tree. +* Right click in the Note Tree and select _Advanced_ → _Apply bulk actions_. +* By default, only the selected notes will be affected. To also include all the descendants of the notes, check _Include descendants of the selected notes_. The number of affected notes at the top of the dialog will update to reflect the change. +* Click on which action to apply from the _Available actions_ section. A detailed description of each is available in the next section. + * For each action selected, the _Chosen actions_ section will update to reveal the entry. Each action will have its own configuration. + * To remove an action, simply press the X button to the right of it. + * It is possible to apply multiple actions of the same type, such as adding multiple types. +* When all the actions are defined, press _Execute bulk actions_ to trigger all of them at once. +* For convenience, the last bulk action configuration is saved for further use and will be restored when entering the dialog again. -To alter attributes of a note in a bulk action, such as setting the `#shareAlias` label to the title of the note: +## Actions -```javascript -note.setLabel("shareAlias", note.title) -``` \ No newline at end of file +### Labels + +These actions operate the Labels of a note: + +* **Add label** + * For each note, if it doesn't already have a [label](Attributes/Labels.md) of the given name, it will create it. Keep the _New value_ field empty to create a label without a value, or complete it to assign a value. + * If a note already has this label, its value will be updated. +* **Update label value** + * For each note, if it has a [label](Attributes/Labels.md) of the given name, it will change its value to the specified one. Leave _New value_ field empty to create a label without a value. + * Notes without the label will not be affected. +* _**Rename label**_ + * For each note, if it has a [label](Attributes/Labels.md) of the given name, it will be renamed/replaced with a label of the new name. The value of the label (if present) will be kept intact. + * Notes without the label will not be affected. +* **Delete label** + * For each note, if it has a label of a given name, it will be deleted (regardless of whether it has a value or not). + * Notes without the label will not be affected. + +### Relations + +These actions operate the Relations of a note: + +* **Add relation** + * For each note, it will create a relation pointing to the given note. + * Notes without this relation will not be affected. +* **Update relation target** + * For each note, it will modify a relation to point to the newly given note. + * Notes without this relation will not be affected. +* **Rename relation** + * For each note, if it has a relation of the given name, it will be renamed/replaced with a relation of the new name. The target note of the relation will be kept intact. + * Notes without this relation will not be affected. +* **Delete relation** + * For each note, if it has a relation of the given name, it will be deleted. + * Notes without this relation will not be affected. + +### Notes + +* **Rename note** + * For each note, it will change the title of the note to the given one. + * As a more advanced use case, the note can be a “template string” which allows for dynamic values with access to the note information via FNote, for example: + * `NEW: ${note.title}` will prefix all notes with `NEW:` . + * `${note.dateCreatedObj.format('MM-DD:')}: ${note.title}` will prefix the note titles with each note's creation date (in month-day format). +* **Move note** + * For each note, it will be moved to the specified parent note. + * As an alternative for less complex situations, the notes can be moved directly from within the Note Tree via cut → paste or via the contextual menu. +* **Delete note** + * For each note, it will be deleted. + * As an alternative for less complex situations, the notes can be removed directly from within the Note Tree by selecting them and pressing Delete. +* **Delete note revisions** + * This will delete all the Note Revisions of the notes. + +### Others + +* **Execute script** + * For more complex scenarios, it is possible to type in a JavaScript expression in order to apply the necessary changes. + * Examples: + * To apply a suffix (`- suffix` in this example), to the note title: + + ```javascript + note.title = note.title + " - suffix"; + ``` + + * To alter attributes of a note based on another attribute, such as setting the `#shareAlias` label to the title of the note: + + ```javascript + note.setLabel("shareAlias", note.title) + ``` \ No newline at end of file diff --git a/docs/User Guide/User Guide/Advanced Usage/Hidden Notes.md b/docs/User Guide/User Guide/Advanced Usage/Hidden Notes.md index ee2d2fd47..615719698 100644 --- a/docs/User Guide/User Guide/Advanced Usage/Hidden Notes.md +++ b/docs/User Guide/User Guide/Advanced Usage/Hidden Notes.md @@ -15,4 +15,4 @@ From the 
NoteDescription
Note Map

This note is actually opened when the Note Map feature that is accessed from the Launch Bar.

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 bookmarked.

SQL Console History

When SQL queries or commands are executed in the SQL Console, they are stored here, grouped by month. Only the query is stored and not the results.

This section can be accessed without going to the hidden tree by simply going to the Global menu and selecting Advanced → Open SQL Console History.

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.

Search History

Whenever a search is executed from the full Search, the query will be stored here, grouped by month. Only the search parameters are stored and not the results themselves.

This section can be accessed without going to the hidden tree by simply going to the Global menu and selecting Advanced → Open Search History.

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.

Bulk ActionThis section is used for Bulk actions.
Backend Log

This note corresponds to the backend log feature (see Error logs).

This item can be accessed without going to the hidden try by going to the Global menu and selecting Advanced → Show backend log.

User HiddenThis section can be used by scripts 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: _userHidden
Launch Bar Templates

This section contains the templates for the creation of launchers in the Launch Bar. It is not possible to create child notes here.

Theoretically some of the notes here can be customized, but there's not much benefit to be had in doing so.

Shared Notes

This tree lists all of the notes that are shared publicly. It can be useful to track down which notes are shared regardless of their position in the note tree.

This section can be accessed without going to the hidden tree simply by going to the Global menu and selecting Show Shared Notes Subtree.

Sub-notes cannot be created here.

Launch Bar

The tree contains both available and displayed items of the Launch Bar.

This section can be accessed without going to the hidden tree by:

  • Going to the Global menu and selecting Configure Launchbar.
  • Right-clicking an empty space on the Launch Bar and selecting Configure Launchbar.

Sub-notes cannot be created here.

Options

This section stores the list of Options.

This section can be accessed without going to the hidden tree by:

Mobile Launch Bar

This is very similar to the Launch Bar, but is dedicated for the mobile UI only.

Accessing it outside the Launch Bar is the same as the Launch Bar, but needs to be done so from the mobile interface.

User GuideThis 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.
\ No newline at end of file +
NoteDescription
Note Map

This note is actually opened when the Note Map feature that is accessed from the Launch Bar.

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 bookmarked.

SQL Console History

When SQL queries or commands are executed in the SQL Console, they are stored here, grouped by month. Only the query is stored and not the results.

This section can be accessed without going to the hidden tree by simply going to the Global menu and selecting Advanced → Open SQL Console History.

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.

Search History

Whenever a search is executed from the full Search, the query will be stored here, grouped by month. Only the search parameters are stored and not the results themselves.

This section can be accessed without going to the hidden tree by simply going to the Global menu and selecting Advanced → Open Search History.

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.

Bulk Action

This section is used for Bulk Actions. The last configuration for bulk actions will be stored as part of this note, each action in its own action label.

Notes can be added as children of this tree, but there won't be any benefit in doing so.

Backend Log

This note corresponds to the backend log feature (see Error logs).

This item can be accessed without going to the hidden try by going to the Global menu and selecting Advanced → Show backend log.

User HiddenThis section can be used by scripts 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: _userHidden
Launch Bar Templates

This section contains the templates for the creation of launchers in the Launch Bar. It is not possible to create child notes here.

Theoretically some of the notes here can be customized, but there's not much benefit to be had in doing so.

Shared Notes

This tree lists all of the notes that are shared publicly. It can be useful to track down which notes are shared regardless of their position in the note tree.

This section can be accessed without going to the hidden tree simply by going to the Global menu and selecting Show Shared Notes Subtree.

Sub-notes cannot be created here.

Launch Bar

The tree contains both available and displayed items of the Launch Bar.

This section can be accessed without going to the hidden tree by:

  • Going to the Global menu and selecting Configure Launchbar.
  • Right-clicking an empty space on the Launch Bar and selecting Configure Launchbar.

Sub-notes cannot be created here.

Options

This section stores the list of Options.

This section can be accessed without going to the hidden tree by:

Mobile Launch Bar

This is very similar to the Launch Bar, but is dedicated for the mobile UI only.

Accessing it outside the Launch Bar is the same as the Launch Bar, but needs to be done so from the mobile interface.

User GuideThis 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.
\ No newline at end of file diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces.md b/docs/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces.md index d00086c4c..5584cea29 100644 --- a/docs/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces.md +++ b/docs/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces.md @@ -4,12 +4,14 @@ Workspace is a concept built up on top of [note hoisting](Note%20Hoisting.md). I So far workspace consists of these features: * [note hoisting](Note%20Hoisting.md) - you can "zoom" into a workspace subtree to focus only on the relevant notes + * easy entering of workspace:  ![](1_Workspaces_image.png) * visual identification of workspace in tabs: ![](Workspaces_image.png) + ### Configuration diff --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.md index 42efdb096..064a846ba 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 ![](Note%20Tree_image.png) -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 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 Bulk actions to them. The rest of the options will not be available and will appear disabled in the menu. \ No newline at end of file diff --git a/src/public/app/doc_notes/en/User Guide/!!!meta.json b/src/public/app/doc_notes/en/User Guide/!!!meta.json index 50d85176a..6db4c2abe 100644 --- a/src/public/app/doc_notes/en/User Guide/!!!meta.json +++ b/src/public/app/doc_notes/en/User Guide/!!!meta.json @@ -1199,6 +1199,13 @@ "isInheritable": false, "position": 20 }, + { + "type": "relation", + "name": "internalLink", + "value": "ivYnonVFBxbQ", + "isInheritable": false, + "position": 30 + }, { "type": "label", "name": "shareAlias", @@ -1212,13 +1219,6 @@ "value": "bx bxs-tree-alt", "isInheritable": false, "position": 50 - }, - { - "type": "relation", - "name": "internalLink", - "value": "ivYnonVFBxbQ", - "isInheritable": false, - "position": 60 } ], "format": "html", @@ -1427,13 +1427,6 @@ "value": "bx bx-dots-horizontal", "isInheritable": false, "position": 20 - }, - { - "type": "relation", - "name": "internalLink", - "value": "_optionsAppearance", - "isInheritable": false, - "position": 220 } ], "format": "html", @@ -3317,6 +3310,13 @@ "isInheritable": false, "position": 10 }, + { + "type": "relation", + "name": "internalLink", + "value": "l0tKav7yLHGF", + "isInheritable": false, + "position": 20 + }, { "type": "label", "name": "shareAlias", @@ -3330,13 +3330,6 @@ "value": "bx bx-door-open", "isInheritable": false, "position": 30 - }, - { - "type": "relation", - "name": "internalLink", - "value": "l0tKav7yLHGF", - "isInheritable": false, - "position": 40 } ], "format": "html", @@ -5180,35 +5173,35 @@ { "type": "relation", "name": "internalLink", - "value": "CdNpE2pqjmI6", + "value": "BlN9DFI679QC", "isInheritable": false, "position": 10 }, { "type": "relation", "name": "internalLink", - "value": "iPIMuisry3hd", + "value": "4TIF1oA4VQRO", "isInheritable": false, "position": 20 }, { "type": "relation", "name": "internalLink", - "value": "QxEyIjRBizuC", + "value": "CdNpE2pqjmI6", "isInheritable": false, "position": 30 }, { "type": "relation", "name": "internalLink", - "value": "BlN9DFI679QC", + "value": "iPIMuisry3hd", "isInheritable": false, "position": 40 }, { "type": "relation", "name": "internalLink", - "value": "4TIF1oA4VQRO", + "value": "QxEyIjRBizuC", "isInheritable": false, "position": 50 }, @@ -6697,17 +6690,38 @@ { "type": "relation", "name": "internalLink", - "value": "OFXdgB2nNk1F", + "value": "HI6GBBIduIgv", + "isInheritable": false, + "position": 10 + }, + { + "type": "relation", + "name": "internalLink", + "value": "Cq5X6iKQop6R", "isInheritable": false, "position": 20 }, { "type": "relation", "name": "internalLink", - "value": "bwZpz2ajCEwO", + "value": "BlN9DFI679QC", "isInheritable": false, "position": 30 }, + { + "type": "relation", + "name": "internalLink", + "value": "OFXdgB2nNk1F", + "isInheritable": false, + "position": 40 + }, + { + "type": "relation", + "name": "internalLink", + "value": "bwZpz2ajCEwO", + "isInheritable": false, + "position": 50 + }, { "type": "label", "name": "shareAlias", @@ -6721,27 +6735,6 @@ "value": "bx bx-list-check", "isInheritable": false, "position": 110 - }, - { - "type": "relation", - "name": "internalLink", - "value": "HI6GBBIduIgv", - "isInheritable": false, - "position": 120 - }, - { - "type": "relation", - "name": "internalLink", - "value": "Cq5X6iKQop6R", - "isInheritable": false, - "position": 130 - }, - { - "type": "relation", - "name": "internalLink", - "value": "BlN9DFI679QC", - "isInheritable": false, - "position": 140 } ], "format": "html", @@ -6784,7 +6777,7 @@ { "type": "relation", "name": "internalLink", - "value": "BlN9DFI679QC", + "value": "R7abl2fc6Mxi", "isInheritable": false, "position": 20 }, @@ -6796,23 +6789,30 @@ "position": 30 }, { - "type": "label", - "name": "iconClass", - "value": "bx bx-hash", + "type": "relation", + "name": "internalLink", + "value": "l0tKav7yLHGF", "isInheritable": false, "position": 40 }, { "type": "relation", "name": "internalLink", - "value": "vZWERwf8U3nx", + "value": "OFXdgB2nNk1F", + "isInheritable": false, + "position": 50 + }, + { + "type": "relation", + "name": "internalLink", + "value": "BlN9DFI679QC", "isInheritable": false, "position": 60 }, { "type": "relation", "name": "internalLink", - "value": "l0tKav7yLHGF", + "value": "vZWERwf8U3nx", "isInheritable": false, "position": 70 }, @@ -6833,170 +6833,156 @@ { "type": "relation", "name": "internalLink", - "value": "OFXdgB2nNk1F", + "value": "CoFPLs3dRlXc", "isInheritable": false, "position": 100 }, { "type": "relation", "name": "internalLink", - "value": "CoFPLs3dRlXc", + "value": "AlhDUqhENtH7", "isInheritable": false, "position": 110 }, { "type": "relation", "name": "internalLink", - "value": "AlhDUqhENtH7", + "value": "pKK96zzmvBGf", "isInheritable": false, "position": 120 }, { "type": "relation", "name": "internalLink", - "value": "pKK96zzmvBGf", + "value": "WFGzWeUK6arS", "isInheritable": false, "position": 130 }, { "type": "relation", "name": "internalLink", - "value": "WFGzWeUK6arS", + "value": "0ESUbbAxVnoK", "isInheritable": false, "position": 140 }, { "type": "relation", "name": "internalLink", - "value": "0ESUbbAxVnoK", + "value": "J5Ex1ZrMbyJ6", "isInheritable": false, "position": 150 }, { "type": "relation", "name": "internalLink", - "value": "J5Ex1ZrMbyJ6", + "value": "d3fAXQ2diepH", "isInheritable": false, "position": 160 }, { "type": "relation", "name": "internalLink", - "value": "d3fAXQ2diepH", + "value": "MgibgPcfeuGz", "isInheritable": false, "position": 170 }, { "type": "relation", "name": "internalLink", - "value": "MgibgPcfeuGz", + "value": "m523cpzocqaD", "isInheritable": false, "position": 180 }, { "type": "relation", "name": "internalLink", - "value": "m523cpzocqaD", + "value": "9sRHySam5fXb", "isInheritable": false, "position": 190 }, { "type": "relation", "name": "internalLink", - "value": "9sRHySam5fXb", + "value": "u3YFHC9tQlpm", "isInheritable": false, "position": 200 }, { "type": "relation", "name": "internalLink", - "value": "_help_YKWqdJhzi2VY", + "value": "R9pX4DGra2Vt", "isInheritable": false, "position": 210 }, { "type": "relation", "name": "internalLink", - "value": "u3YFHC9tQlpm", + "value": "iRwzGnHPzonm", "isInheritable": false, "position": 220 }, { "type": "relation", "name": "internalLink", - "value": "R9pX4DGra2Vt", + "value": "BCkXAVs63Ttv", "isInheritable": false, "position": 230 }, { "type": "relation", "name": "internalLink", - "value": "iRwzGnHPzonm", + "value": "47ZrP6FNuoG8", "isInheritable": false, "position": 240 }, { "type": "relation", "name": "internalLink", - "value": "BCkXAVs63Ttv", + "value": "KC1HB96bqqHX", "isInheritable": false, "position": 250 }, { "type": "relation", "name": "internalLink", - "value": "47ZrP6FNuoG8", + "value": "BFvAtE74rbP6", "isInheritable": false, "position": 260 }, { "type": "relation", "name": "internalLink", - "value": "KC1HB96bqqHX", + "value": "bdUJEHsAPYQR", "isInheritable": false, "position": 270 }, { "type": "relation", "name": "internalLink", - "value": "BFvAtE74rbP6", + "value": "AxshuNRegLAv", "isInheritable": false, "position": 280 }, { "type": "relation", "name": "internalLink", - "value": "bdUJEHsAPYQR", + "value": "81SGnPGMk7Xc", "isInheritable": false, "position": 290 }, { "type": "relation", "name": "internalLink", - "value": "AxshuNRegLAv", + "value": "xWbu3jpNWapp", "isInheritable": false, "position": 300 }, { - "type": "relation", - "name": "internalLink", - "value": "81SGnPGMk7Xc", + "type": "label", + "name": "iconClass", + "value": "bx bx-hash", "isInheritable": false, - "position": 310 - }, - { - "type": "relation", - "name": "internalLink", - "value": "xWbu3jpNWapp", - "isInheritable": false, - "position": 320 - }, - { - "type": "relation", - "name": "internalLink", - "value": "R7abl2fc6Mxi", - "isInheritable": false, - "position": 330 + "position": 40 } ], "format": "html", @@ -7027,67 +7013,67 @@ "position": 10 }, { - "type": "label", - "name": "iconClass", - "value": "bx bx-transfer", + "type": "relation", + "name": "internalLink", + "value": "OFXdgB2nNk1F", "isInheritable": false, "position": 20 }, { "type": "relation", "name": "internalLink", - "value": "BlN9DFI679QC", + "value": "bwZpz2ajCEwO", "isInheritable": false, "position": 30 }, { "type": "relation", "name": "internalLink", - "value": "bwZpz2ajCEwO", + "value": "HcABDtFCkbFN", "isInheritable": false, "position": 40 }, { "type": "relation", "name": "internalLink", - "value": "oPVyFC7WL2Lp", + "value": "R9pX4DGra2Vt", "isInheritable": false, "position": 50 }, { "type": "relation", "name": "internalLink", - "value": "GPERMystNGTB", + "value": "KC1HB96bqqHX", "isInheritable": false, "position": 60 }, { "type": "relation", "name": "internalLink", - "value": "KC1HB96bqqHX", + "value": "BlN9DFI679QC", "isInheritable": false, "position": 70 }, { "type": "relation", "name": "internalLink", - "value": "HcABDtFCkbFN", + "value": "oPVyFC7WL2Lp", "isInheritable": false, "position": 80 }, { "type": "relation", "name": "internalLink", - "value": "OFXdgB2nNk1F", + "value": "GPERMystNGTB", "isInheritable": false, "position": 90 }, { - "type": "relation", - "name": "internalLink", - "value": "R9pX4DGra2Vt", + "type": "label", + "name": "iconClass", + "value": "bx bx-transfer", "isInheritable": false, - "position": 100 + "position": 20 } ], "format": "html", @@ -7110,6 +7096,27 @@ "type": "text", "mime": "text/markdown", "attributes": [ + { + "type": "relation", + "name": "internalLink", + "value": "HI6GBBIduIgv", + "isInheritable": false, + "position": 10 + }, + { + "type": "relation", + "name": "internalLink", + "value": "Cq5X6iKQop6R", + "isInheritable": false, + "position": 20 + }, + { + "type": "relation", + "name": "internalLink", + "value": "KC1HB96bqqHX", + "isInheritable": false, + "position": 30 + }, { "type": "label", "name": "shareAlias", @@ -7123,27 +7130,6 @@ "value": "bx bx-list-plus", "isInheritable": false, "position": 30 - }, - { - "type": "relation", - "name": "internalLink", - "value": "HI6GBBIduIgv", - "isInheritable": false, - "position": 40 - }, - { - "type": "relation", - "name": "internalLink", - "value": "Cq5X6iKQop6R", - "isInheritable": false, - "position": 50 - }, - { - "type": "relation", - "name": "internalLink", - "value": "KC1HB96bqqHX", - "isInheritable": false, - "position": 60 } ], "format": "html", @@ -7412,6 +7398,13 @@ "type": "text", "mime": "text/markdown", "attributes": [ + { + "type": "relation", + "name": "internalLink", + "value": "WOcw2SLH6tbX", + "isInheritable": false, + "position": 10 + }, { "type": "relation", "name": "internalLink", @@ -7419,6 +7412,13 @@ "isInheritable": false, "position": 20 }, + { + "type": "relation", + "name": "internalLink", + "value": "6f9hih2hXXZk", + "isInheritable": false, + "position": 30 + }, { "type": "relation", "name": "internalLink", @@ -7426,6 +7426,13 @@ "isInheritable": false, "position": 40 }, + { + "type": "relation", + "name": "internalLink", + "value": "Qjt68inQ2bRj", + "isInheritable": false, + "position": 50 + }, { "type": "label", "name": "shareAlias", @@ -7439,27 +7446,6 @@ "value": "bx bx-share-alt", "isInheritable": false, "position": 30 - }, - { - "type": "relation", - "name": "internalLink", - "value": "6f9hih2hXXZk", - "isInheritable": false, - "position": 50 - }, - { - "type": "relation", - "name": "internalLink", - "value": "WOcw2SLH6tbX", - "isInheritable": false, - "position": 60 - }, - { - "type": "relation", - "name": "internalLink", - "value": "Qjt68inQ2bRj", - "isInheritable": false, - "position": 70 } ], "format": "html", @@ -8073,25 +8059,25 @@ "position": 10 }, { - "type": "label", - "name": "shareAlias", - "value": "default-note-title", + "type": "relation", + "name": "internalLink", + "value": "habiZ3HU8Kw8", "isInheritable": false, - "position": 30 + "position": 20 }, { "type": "relation", "name": "internalLink", "value": "KC1HB96bqqHX", "isInheritable": false, - "position": 40 + "position": 30 }, { - "type": "relation", - "name": "internalLink", - "value": "habiZ3HU8Kw8", + "type": "label", + "name": "shareAlias", + "value": "default-note-title", "isInheritable": false, - "position": 50 + "position": 30 } ], "format": "html", @@ -8415,7 +8401,7 @@ "tC7s2alapj8V", "ivYnonVFBxbQ" ], - "title": "Bulk actions", + "title": "Bulk Actions", "notePosition": 180, "prefix": null, "isExpanded": false, @@ -8428,11 +8414,55 @@ "value": "bx bx-list-plus", "isInheritable": false, "position": 10 + }, + { + "type": "relation", + "name": "internalLink", + "value": "oPVyFC7WL2Lp", + "isInheritable": false, + "position": 20 + }, + { + "type": "relation", + "name": "internalLink", + "value": "HI6GBBIduIgv", + "isInheritable": false, + "position": 30 + }, + { + "type": "relation", + "name": "internalLink", + "value": "Cq5X6iKQop6R", + "isInheritable": false, + "position": 40 + }, + { + "type": "relation", + "name": "internalLink", + "value": "habiZ3HU8Kw8", + "isInheritable": false, + "position": 50 + }, + { + "type": "relation", + "name": "internalLink", + "value": "vZWERwf8U3nx", + "isInheritable": false, + "position": 60 } ], "format": "html", - "dataFileName": "Bulk actions.html", - "attachments": [] + "dataFileName": "Bulk Actions.html", + "attachments": [ + { + "attachmentId": "cJTc66E2BRTf", + "title": "image.png", + "role": "image", + "mime": "image/png", + "position": 10, + "dataFileName": "Bulk Actions_image.png" + } + ] }, { "isClone": false, @@ -8793,88 +8823,88 @@ "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 + "position": 10 }, { "type": "relation", "name": "internalLink", "value": "Cq5X6iKQop6R", "isInheritable": false, - "position": 40 - }, - { - "type": "relation", - "name": "internalLink", - "value": "eIg8jdvaoNNd", - "isInheritable": false, - "position": 50 + "position": 20 }, { "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 + "position": 30 }, { "type": "relation", "name": "internalLink", "value": "YKWqdJhzi2VY", "isInheritable": false, - "position": 110 + "position": 40 }, { "type": "relation", "name": "internalLink", "value": "ivYnonVFBxbQ", "isInheritable": false, + "position": 50 + }, + { + "type": "relation", + "name": "internalLink", + "value": "eIg8jdvaoNNd", + "isInheritable": false, + "position": 60 + }, + { + "type": "relation", + "name": "internalLink", + "value": "QEAPj01N5f7w", + "isInheritable": false, + "position": 70 + }, + { + "type": "relation", + "name": "internalLink", + "value": "m1lbrzyKDaRB", + "isInheritable": false, + "position": 80 + }, + { + "type": "relation", + "name": "internalLink", + "value": "x3i7MxGccDuM", + "isInheritable": false, + "position": 90 + }, + { + "type": "relation", + "name": "internalLink", + "value": "bdUJEHsAPYQR", + "isInheritable": false, + "position": 100 + }, + { + "type": "relation", + "name": "internalLink", + "value": "xYmIYSP6wE3F", + "isInheritable": false, + "position": 110 + }, + { + "type": "relation", + "name": "internalLink", + "value": "u3YFHC9tQlpm", + "isInheritable": false, "position": 120 }, { @@ -8905,6 +8935,13 @@ "isInheritable": false, "position": 160 }, + { + "type": "label", + "name": "iconClass", + "value": "bx bx-hide", + "isInheritable": false, + "position": 20 + }, { "type": "relation", "name": "internalLink", @@ -8988,13 +9025,6 @@ "value": "_help", "isInheritable": false, "position": 280 - }, - { - "type": "relation", - "name": "internalLink", - "value": "QEAPj01N5f7w", - "isInheritable": false, - "position": 290 } ], "format": "html", @@ -9113,21 +9143,21 @@ { "type": "relation", "name": "internalLink", - "value": "GLks18SNjxmC", + "value": "zEY4DaJG4YT5", "isInheritable": false, "position": 10 }, { "type": "relation", "name": "internalLink", - "value": "zEY4DaJG4YT5", + "value": "SynTBQiBsdYJ", "isInheritable": false, "position": 20 }, { "type": "relation", "name": "internalLink", - "value": "SynTBQiBsdYJ", + "value": "GLks18SNjxmC", "isInheritable": false, "position": 30 }, @@ -9314,25 +9344,11 @@ "type": "text", "mime": "text/markdown", "attributes": [ - { - "type": "relation", - "name": "internalLink", - "value": "zEY4DaJG4YT5", - "isInheritable": false, - "position": 10 - }, { "type": "relation", "name": "internalLink", "value": "CdNpE2pqjmI6", "isInheritable": false, - "position": 20 - }, - { - "type": "label", - "name": "shareAlias", - "value": "events", - "isInheritable": false, "position": 10 }, { @@ -9340,8 +9356,22 @@ "name": "internalLink", "value": "c5xB8m4g2IY6", "isInheritable": false, + "position": 20 + }, + { + "type": "relation", + "name": "internalLink", + "value": "zEY4DaJG4YT5", + "isInheritable": false, "position": 30 }, + { + "type": "label", + "name": "shareAlias", + "value": "events", + "isInheritable": false, + "position": 10 + }, { "type": "label", "name": "iconClass", diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes.html index 1a4717a12..a52792cbb 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes.html @@ -23,18 +23,15 @@
  • Labels can be used for a variety of purposes, such as storing metadata or configuring - the behaviour of notes. Labels are also searchable, enhancing note retrieval. -
    -
    For more information, including predefined labels, see  +

    For more information, including predefined labels, see Labels.

    -

     

  • Relations define connections between notes, similar to links. These can be used for metadata and scripting purposes.

    -

    -
    For more information, including a list of predefined relations, see  +

    For more information, including a list of predefined relations, see  Relations.

  • diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Bulk Actions_image.png b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Bulk Actions_image.png new file mode 100644 index 000000000..ea73dd92b Binary files /dev/null and b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Bulk Actions_image.png differ diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Bulk actions.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Bulk actions.html index 1def3fbf0..dfcc1907b 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Bulk actions.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Bulk actions.html @@ -5,21 +5,184 @@ - Bulk actions + Bulk Actions
    -

    Bulk actions

    +

    Bulk Actions

    -

    Execute script

    -

    For more complex scenarios, it is possible to type in a JavaScript expression - in order to apply the necessary changes.

    -

    To apply a suffix (- suffix in this example), to the note - title:

    note.title = note.title + " - suffix";
    -

    To alter attributes of a note in a bulk action, such as setting the #shareAlias label - to the title of the note:

    note.setLabel("shareAlias", note.title)
    +
    + +
    +

    The Bulk Actions dialog makes it easy to apply changes to multiple + notes at once, ranging from simple actions such as adding or removing a + label to being executing custom scripts.

    +

    Interaction

    + +

    Actions

    +

    Labels

    +

    These actions operate the Labels of + a note:

    + +

    Relations

    +

    These actions operate the Relations of + a note:

    + +

    Notes

    + +

    Others

    +
    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.html index db69ece12..dcc25240f 100644 --- 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.html @@ -94,7 +94,13 @@ Bulk Action - This section is used for Bulk actions. + +

    This section is used for Bulk Actions. + The last configuration for bulk actions will be stored as part of this + note, each action in its own action label.

    +

    Notes can be added as children of this tree, but there won't be any benefit + in doing so.

    + Backend Log diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces.html index 8248864a1..ba02c1a86 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces.html @@ -20,17 +20,21 @@ care about personal notes.

    So far workspace consists of these features:

    Configuration

    diff --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.html index 530a8aaca..657385b07 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 @@

    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 to + to apply Bulk actions to them. The rest of the options will not be available and will appear disabled in the menu.

    diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Events.html b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Events.html index 78e2a8710..ee107e710 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Events.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Events.html @@ -61,7 +61,8 @@ -

    Entity events

    + +

    Entity events

    Other events are bound to some entity, these are defined as relations - meaning that script is triggered only if note has this script attached to it through relations (or it can inherit it).

    diff --git a/src/public/app/doc_notes/en/User Guide/navigation.html b/src/public/app/doc_notes/en/User Guide/navigation.html index 1e53dcb3b..44a2fc8d4 100644 --- a/src/public/app/doc_notes/en/User Guide/navigation.html +++ b/src/public/app/doc_notes/en/User Guide/navigation.html @@ -393,7 +393,7 @@ -
  • Bulk actions +
  • Bulk Actions
  • Note source