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
docs: show inline icons on collection and right sidebar pages
Claude058c29b53c3d
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Attributes tab.md b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Attributes tab.mdindex 6e478e5d59..d702854866 100644--- a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Attributes tab.md+++ b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Attributes tab.md@@ -15,12 +15,12 @@ The following information is displayed in sections:Every item is structured as such:-* The icon of each item indicates whether it's a [label](../../../Advanced%20Usage/Attributes/Labels.md) or a [relation](../../../Advanced%20Usage/Attributes/Relations.md) (link to another note).+* The icon of each item indicates whether it's a [label](../../../Advanced%20Usage/Attributes/Labels.md) (<span class="tn-icon bx bx-hash"></span>) or a [relation](../../../Advanced%20Usage/Attributes/Relations.md) (<span class="tn-icon bx bx-transfer"></span>, link to another note).* The first text is the name of the label.* The value of the attribute is displayed after the name, if present.* The value is shown in a graphical way: a relation's value is a clickable note link; a color label shows a color chip.-System attributes (that have a special meaning in Trilium) show a small cog near the icon and are grouped separately from the user-defined ones.+System attributes (that have a special meaning in Trilium) show a small <span class="tn-icon bx bx-cog"></span> cog near the icon and are grouped separately from the user-defined ones.Interaction:@@ -32,14 +32,14 @@ Interaction:* For multi-line text, <kbd>Ctrl</kbd>+<kbd>Enter</kbd> confirms whereas <kbd>Enter</kbd> creates a newline.* For checkbox attributes, clicking on the checkbox will toggle its state.* For labels without a value, a value can be added by clicking on the _No value_ text which appears while the mouse is hovered on the item.- * For relations, there is a dedicated pencil button instead.-* An attribute can be deleted by pressing the X button to its right, which only appears while hovered. A confirmation screen is displayed first to ensure the attribute is not accidentally deleted.+ * For relations, there is a dedicated <span class="tn-icon bx bx-pencil"></span> button instead.+* An attribute can be deleted by pressing the <span class="tn-icon bx bx-trash"></span> button to its right, which only appears while hovered. A confirmation screen is displayed first to ensure the attribute is not accidentally deleted.Attributes can be added in two ways:-* A new label, relation or attribute definition can be added from the + button near the title of the section. This shows the full detail popup.-* To quickly add a label or a relation directly from the sidebar, click the _Add attribute_ item at the end of the list.- * The name field will be focused first. By default, a label will be created instead but it can be toggled to a relation by typing <kbd>~</kbd> or pressing the icon (similarly, typing `#` will switch back to a label instead of a relation).+* A new label, relation or attribute definition can be added from the <span class="tn-icon bx bx-plus"></span> button near the title of the section. This shows the full detail popup.+* To quickly add a label or a relation directly from the sidebar, click the _Add attribute_ (<span class="tn-icon bx bx-plus"></span>) item at the end of the list.+ * The name field will be focused first. By default, a label will be created instead but it can be toggled to a relation by typing <kbd>~</kbd> or pressing the <span class="tn-icon bx bx-hash"></span> icon (similarly, typing `#` will switch back to a label instead of a relation).* Once the name is filled, press <kbd>Enter</kbd> to continue to the value. Type in a value if desired and then press <kbd>Enter</kbd> again to create the attribute.* Clicking outside the editor will also create the attribute, but only if a name is specified.@@ -49,7 +49,7 @@ Inherited labels or relations are shown in the same fashion as _Owned attributesThe only differences are:-* To the right of the inherited attribute there is a link to the note where the attribute comes from, as well as an icon to indicate that it's inheritable.+* To the right of the inherited attribute there is a link to the note where the attribute comes from, as well as an <span class="tn-icon bx bx-sitemap"></span> icon to indicate that it's inheritable.* Clicking on an inherited attribute will reveal the same popup as owned attributes, but it is not editable. To edit it, first navigate to the note where the attribute is defined.## Definitions@@ -57,12 +57,12 @@ The only differences are:For attribute definition (see <a class="reference-link" href="../../../Advanced%20Usage/Attributes/Promoted%20Attributes.md">Promoted Attributes</a>):* The icon indicates the type of the attribute (text, number).- * If an attribute is promoted, it has a small chevron icon overlaid on top of it.+ * If an attribute is promoted, it has a small <span class="tn-icon bx bx-chevron-up"></span> chevron icon overlaid on top of it.* The name indicates the name of the attribute it defines (without the `label:` or `relation:` prefix).* To the right of the name a short summary is displayed which indicates the display name (alias), whether it has multiple values or an inverse relation.* Clicking on a definition reveals a popup, where the name, type, display name and other aspects can be configured.-* A new label or relation definition can be added from the + button near the title of the section.-* For inherited definition, there is a link to the note where the definition comes from, as well as an icon to indicate that it's inherited.+* A new label or relation definition can be added from the <span class="tn-icon bx bx-plus"></span> button near the title of the section.+* For inherited definition, there is a link to the note where the definition comes from, as well as an <span class="tn-icon bx bx-sitemap"></span> icon to indicate that it's inherited.## Mobilediff --git a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Connections tab.md b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Connections tab.mdindex f38eb183ad..45020d63ce 100644--- a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Connections tab.md+++ b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Connections tab.md@@ -10,12 +10,12 @@ The connections tab groups together all the information about the current note aThe note map displays a graph which shows the relation between the current notes and other notes on the hierarchy. There are two types of visualizations, which can be selected from the top-right part of the section:-* The _Link map_, which displays the [relations](../../../Advanced%20Usage/Attributes/Relations.md) between notes.-* The _Tree map_, which displays the hierarchical structure.+* The _Link map_ (<span class="tn-icon bx bx-network-chart"></span>), which displays the [relations](../../../Advanced%20Usage/Attributes/Relations.md) between notes.+* The _Tree map_ (<span class="tn-icon bx bx-sitemap"></span>), which displays the hierarchical structure.The sidebar will remember which visualization is selected, as a global option. Note that note maps also have a `#mapType` which describes which visualization to use, but the sidebar deliberately ignores that to keep consistency when switching between notes.-The map can also be expanded by pressing the button in the top-right of the section. When expanded, the map is displayed in a separate dialog. Alternatively, all other sections can be collapsed, which will make the note map taller and the sidebar can be dragged to make for more lateral space.+The map can also be expanded by pressing the <span class="tn-icon bx bx-expand-alt"></span> button in the top-right of the section. When expanded, the map is displayed in a separate dialog. Alternatively, all other sections can be collapsed, which will make the note map taller and the sidebar can be dragged to make for more lateral space.The note map view inside the sidebar is deliberately more compact in order to fit the space: the link map would also show notes that don't have a link to the current note from the hierarchy (creating a cloud of dots) but this is only shown while the map is expanded. Similarly, the link strength and pin configuration buttons are not displayed here.@@ -28,7 +28,7 @@ See also:The note paths section displays the locations in which the current note is [cloned](../../Notes/Cloning%20Notes.md). Each segment of the note path is clickable, in order to navigate to that note or clone. The root note is shown as its icon, the same as in the <a class="reference-link" href="../Breadcrumb.md">Breadcrumb</a>; hovering it shows its title.-A new clone can be created from the top-right button.+A new clone can be created from the <span class="tn-icon bx bx-duplicate"></span> button at the top-right.## Backlinksdiff --git a/docs/User Guide/User Guide/Collections/List View.md b/docs/User Guide/User Guide/Collections/List View.mdindex 38d1234ba0..6a68c44d8b 100644--- a/docs/User Guide/User Guide/Collections/List View.md+++ b/docs/User Guide/User Guide/Collections/List View.md@@ -1,7 +1,7 @@# List View<figure class="image"><img style="aspect-ratio:1387/758;" src="List View_image.png" width="1387" height="758"></figure>-List view is similar to <a class="reference-link" href="Grid%20View.md">Grid View</a>, but in the list view mode, each note is displayed in a single row with only the title and the icon of the note being visible by the default. By pressing the expand button it's possible to view the content of the note, as well as the children of the note (recursively).+List view is similar to <a class="reference-link" href="Grid%20View.md">Grid View</a>, but in the list view mode, each note is displayed in a single row with only the title and the icon of the note being visible by the default. By pressing the <span class="tn-icon bx bx-chevron-right"></span> expand button it's possible to view the content of the note, as well as the children of the note (recursively).In the example above, the "Node.js" note on the left panel contains several child notes. The right panel displays the content of these child notes as a single continuous document.@@ -11,8 +11,8 @@ Right click on an existing note in the <a class="reference-link" href="../Basic## Interaction-* Each note can be expanded or collapsed by clicking on the arrow to the left of the title.-* In the <a class="reference-link" href="Collection%20Properties.md">Collection Properties</a>, there are buttons to expand and to collapse all notes easily.+* Each note can be expanded or collapsed by clicking on the <span class="tn-icon bx bx-chevron-right"></span> arrow to the left of the title.+* In the <a class="reference-link" href="Collection%20Properties.md">Collection Properties</a>, there are buttons to expand (<span class="tn-icon bx bx-move-vertical"></span>) and to collapse (<span class="tn-icon bx bx-layer-minus"></span>) all notes easily.## Printing and exporting to PDF@@ -29,7 +29,7 @@ If exported to PDF within the desktop application, there is additional functionaApart from individually expanding or collapsing notes, it's also possible to expand or collapse them all at once. To do so, go to the <a class="reference-link" href="Collection%20Properties.md">Collection Properties</a> and look for the corresponding button.-By default, the _Expand_ button will only expand the direct children (first level) of the collection. Starting with v0.100.0, it's possible to expand multiple levels of notes using the arrow button next to the button.+By default, the _Expand_ (<span class="tn-icon bx bx-move-vertical"></span>) button will only expand the direct children (first level) of the collection. Starting with v0.100.0, it's possible to expand multiple levels of notes using the arrow button next to the button.Manually expanded notes will reset if the application/tab is closed and then the collection is visited again. However notes automatically expanded/collapsed via the buttons in <a class="reference-link" href="Collection%20Properties.md">Collection Properties</a> will persist.diff --git a/docs/User Guide/User Guide/Collections/Presentation.md b/docs/User Guide/User Guide/Collections/Presentation.mdindex 1bac4d1190..15d7ca9b16 100644--- a/docs/User Guide/User Guide/Collections/Presentation.md+++ b/docs/User Guide/User Guide/Collections/Presentation.md@@ -18,9 +18,9 @@ Right click on an existing note in the <a class="reference-link" href="../BasicIn the floating toolbar (top-right):-* Edit button to go to the corresponding note of the current slide. A [read-only](../Basic%20Concepts%20and%20Features/Notes/Read-Only%20Notes.md) presentation doesn't show it.-* Press Overview button (or the <kbd>O</kbd> key) to show a birds-eye view of the slides. Press the button again to disable it.-* Press the “Start presentation” button to show the presentation in full-screen.+* <span class="tn-icon bx bx-edit"></span> _Edit this slide_ button to go to the corresponding note of the current slide. A [read-only](../Basic%20Concepts%20and%20Features/Notes/Read-Only%20Notes.md) presentation doesn't show it.+* Press the <span class="tn-icon bx bx-grid-horizontal"></span> Overview button (or the <kbd>O</kbd> key) to show a birds-eye view of the slides. Press the button again to disable it.+* Press the <span class="tn-icon bx bx-fullscreen"></span> “Start presentation” button to show the presentation in full-screen.The following keyboard shortcuts are supported:diff --git a/docs/User Guide/User Guide/Note Types/Relation Map.md b/docs/User Guide/User Guide/Note Types/Relation Map.mdindex 5100dbb463..fb8be97e88 100644--- a/docs/User Guide/User Guide/Note Types/Relation Map.md+++ b/docs/User Guide/User Guide/Note Types/Relation Map.md@@ -25,7 +25,7 @@ Relation map is a type of note which visualizes notes and their [relations](..* To edit the title of a note, change its color or delete it (either from the map, or delete it completely), right click the note.* To rename or delete a relationship, right click it and select the corresponding option.* On a [read-only](../Basic%20Concepts%20and%20Features/Notes/Read-Only%20Notes.md) map, notes cannot be moved and relationships cannot be drawn, renamed or deleted. The right click menu of a note only offers to open it, and a relationship has no right click menu.-* To move around the map, drag an empty part of it, and zoom with the mouse wheel or the buttons at the bottom-right corner. Clicking the zoom percentage goes back to 100%, and <span class="tn-icon bx bx-scan"></span> _Fit to view_ zooms and pans so that all the notes are visible.+* To move around the map, drag an empty part of it, and zoom with the mouse wheel or the <span class="tn-icon bx bx-minus-circle"></span> and <span class="tn-icon bx bx-plus-circle"></span> buttons at the bottom-right corner. Clicking the zoom percentage goes back to 100%, and <span class="tn-icon bx bx-scan"></span> _Fit to view_ zooms and pans so that all the notes are visible.* Once the map has been clicked, the arrow keys or <kbd>W</kbd> <kbd>A</kbd> <kbd>S</kbd> <kbd>D</kbd> pan it, and <kbd>+</kbd> and <kbd>-</kbd> zoom it. The <kbd>?</kbd> button at the top-right corner of the map lists all its keyboard shortcuts.## Note panel@@ -33,11 +33,11 @@ Relation map is a type of note which visualizes notes and their [relations](..When a note on the map is clicked, a panel opens to the right of the map and the note is highlighted. If the panel would cover the note, or the note is partly off-screen, the map pans to bring it into view. The panel contains:* The title and icon of the note, both editable.-* A button to expand the panel over the whole map, and to restore it afterwards.+* A <span class="tn-icon bx bx-expand-alt"></span> button to expand the panel over the whole map, and to restore it afterwards.* Buttons to interact with the note:- * Open the note in the current tab, or, through the <span class="tn-icon bx bx-dots-horizontal-rounded"></span> menu, in a new tab, split, window or the quick edit popup.- * A color picker to change the color of the note.- * A button to remove the note from the map, which can optionally delete the note as well.+ * <span class="tn-icon bx bx-log-in"></span> Open the note in the current tab, or, through the <span class="tn-icon bx bx-dots-horizontal-rounded"></span> menu, in a new tab, split, window or the quick edit popup.+ * A <span class="tn-icon bx bx-palette"></span> color picker to change the color of the note.+ * A <span class="tn-icon bx bx-trash"></span> button to remove the note from the map, which can optionally delete the note as well.* The <a class="reference-link" href="../Advanced%20Usage/Attributes/Promoted%20Attributes.md">Promoted Attributes</a> of the note, if any.* The note's content, which can be edited directly from the panel.@@ -45,7 +45,7 @@ The color picker and the remove button are not shown if the map is read-only.Clicking another note on the map switches the panel to it. Similarly, clicking an <a class="reference-link" href="Text/Links/Internal%20(reference)%20links.md">Internal (reference) links</a> inside the panel switches the panel to that note, as long as it is on the map.-To close the panel, press the X button at its top-right, click an empty part of the map, or press <kbd>Esc</kbd>.+To close the panel, press the <span class="tn-icon bx bx-x"></span> button at its top-right, click an empty part of the map, or press <kbd>Esc</kbd>.On mobile, the note opens as a dialog over the whole screen instead of a panel.