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(user): get rid of text references to new layout
Elian Doran9918a8560f78
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree map).html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree map).htmlindex 1fe7801bb6..ca75dfb68c 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree map).html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree map).html@@ -79,9 +79,9 @@</li></ul><p>The link map will also show unlinked notes that are part of the hierarchy- as a cloud of unconnected dots. On the <a class="reference-link" href="#root/_help_IjZS7iK5EXtb">New Layout</a>,- the sidebar deliberately omits this in order to save some space, but they- will be revealed once the map is maximized.</p>+ as a cloud of unconnected dots. On the <a class="reference-link" href="#root/_help_RnaPdbciOfeq">Right Sidebar</a> deliberately+ omits this in order to save some space, but they will be revealed once+ the map is maximized.</p><h2>Tree Map</h2><p>Shows hierarchical map of notes:</p><figure class="image">diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Active content.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Active content.htmlindex 39c9df5af4..f86edd769f 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Active content.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Active content.html@@ -107,11 +107,11 @@</table></figure><h2>Active content badge</h2>-<p>Starting with v0.102.0, on the <a class="reference-link" href="#root/_help_IjZS7iK5EXtb">New Layout</a> a- badge will be displayed near the note title, indicating that an active- content is detected. Clicking the badge will reveal a menu with various- options related to that content type, for example to open the documentation- or to configure the execution of scripts.</p>+<p>If a note is considered to have active content, a badge is shown in the <a+ class="reference-link" href="#root/_help_B5dihXRDksTk">Note badges</a> area.+ Clicking the badge will reveal a menu with various options related to that+ content type, for example to open the documentation or to configure the+ execution of scripts.</p><p>For some active content types, such as backend scripts with custom triggeringconditions a toggle button will appear. This makes it possible to easilydisable scripts or widgets, but also to re-enable them if an import wasdiff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Revisions.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Revisions.htmlindex ec33c0dd91..0fef647e4e 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Revisions.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Revisions.html@@ -4,14 +4,9 @@</figure><p>Trilium supports seamless versioning of notes by storing snapshots ("revisions")of notes at regular intervals.</p>-<h2>Displaying the revisions</h2>-<ul>- <li>On the <a class="reference-link" href="#root/_help_IjZS7iK5EXtb">New Layout</a>,- press the <a href="#root/_help_8YBEPzcpUgxw">note context menu</a> and select <em>Note revisions…</em>- </li>- <li>On the old layout, press directly the <span class="tn-icon bx bx-history"></span> button- in the <a class="reference-link" href="#root/_help_8YBEPzcpUgxw">Note buttons</a> area.</li>-</ul>+<p>To display the revisions, press the <a class="reference-link" href="#root/_help_8YBEPzcpUgxw">Note buttons</a> and+ select <em>Note revisions…</em>+</p><h2>Interaction</h2><aside class="admonition note"><p>This documentation matches the redesign of the note revisions dialog ondiff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note badges.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note badges.htmlindex 41cbd41bd6..2b3444e7a2 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note badges.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note badges.html@@ -25,4 +25,7 @@<li><span class="tn-icon bx bx-play"></span><strong> Execute badge</strong>,for <a href="#root/_help_CdNpE2pqjmI6">scripts</a> or <a href="#root/_help_YKWqdJhzi2VY">saved SQL queries</a> whichhave an execute button or a description.</li>+ <li>For <a class="reference-link" href="#root/_help_YzMcWlCVeW09">Active content</a> (e.g.+ scripts, styles), a dedicated badge will be shown indicating the type of+ note and with an option to easily enable or disable it.</li></ul>\ No newline at end of filediff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Printing & Exporting as PDF.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Printing & Exporting as PDF.htmlindex ab73e33a6b..a36937d4da 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Printing & Exporting as PDF.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Printing & Exporting as PDF.html@@ -64,11 +64,10 @@<h2>Printing on the browser</h2><p>This feature allows printing of notes. It works on both the desktop client,but also on the web.</p>-<p>To print a note, select the <span class="tn-icon bx bx-dots-horizontal-rounded"></span> (<a- href="#root/_help_IjZS7iK5EXtb">New layout</a>, or <span class="tn-icon bx bx-dots-vertical-rounded"></span> for- the old layout) button to the right of the note and select <em>Print note</em>.- Depending on the size and type of the note, this can take up to a few seconds.- Afterwards you will be redirected to the system/browser printing dialog.</p>+<p>To print a note, click the <a class="reference-link" href="#root/_help_8YBEPzcpUgxw">Note buttons</a> and+ select <em>Print note</em>. Depending on the size and type of the note,+ this can take up to a few seconds. Afterwards you will be redirected to+ the system/browser printing dialog.</p><p>On the server or PWA (mobile), the option is not available due to technicalconstraints and it will be hidden.</p><h2>Reporting issues with the rendering</h2>@@ -119,9 +118,9 @@href="#root/_help_4TIF1oA4VQRO">Options</a> and assigning a key combinationfor:</p><ul>- <li><em>Print Active Note</em>+ <li class="ck-list-marker-italic"><em>Print Active Note</em></li>- <li><em>Export Active Note as PDF</em>+ <li class="ck-list-marker-italic"><em>Export Active Note as PDF</em></li></ul><h2>Constraints & limitations</h2>diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/2_Vertical and horizontal layout_image.png b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/2_Vertical and horizontal layout_image.pngdeleted file mode 100644index 257b8a81c0..0000000000Binary files a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/2_Vertical and horizontal layout_image.png and /dev/null differdiff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Content width.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Content width.htmlindex 9282744176..1f4630846b 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Content width.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Content width.html@@ -1,4 +1,4 @@-<p>Some note types (such as <a class="reference-link" href="#root/_help_iPIMuisry3hd">Text</a> and+<p>Some note types (such as <a class="reference-link" href="#root/_help_iPIMuisry3hd">Text</a> andsaved search) intentionally limit the width of the content.</p><p>This might appear surprising at first, but the idea is to make text fitwell on wider screens without appearing distorted. This is especially the@@ -18,8 +18,7 @@it sometimes makes sense to avoid the content width without affecting othernotes. To do so:</p><ul>- <li>Since v0.104.0 in the <a class="reference-link" href="#root/_help_IjZS7iK5EXtb">New Layout</a> only,- go to <a class="reference-link" href="#root/_help_8YBEPzcpUgxw">Note buttons</a> and+ <li>Go to <a class="reference-link" href="#root/_help_8YBEPzcpUgxw">Note buttons</a> andtoggle <em>Full width</em>.</li><li>Or manually apply the <code>fullContentWidth</code> <a href="#root/_help_HI6GBBIduIgv">label</a> tothe note.</li>diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar.htmlindex 3ec0464232..4e9859777f 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar.html@@ -17,12 +17,6 @@<li><a class="reference-link" href="#root/_help_KRlZFoIH0j6p">Connections tab</a>,which groups together the note map, note paths, backlinks and similar notes.</li></ul>-<aside class="admonition warning">- <p>There are currently two types of sidebars; the documentation here refers- only to the one defined in the <a class="reference-link" href="#root/_help_IjZS7iK5EXtb">New Layout</a>.- The old layout has a different sidebar mechanism which only shows the table- of contents and highlights.</p>-</aside><h2>Toggling the right sidebar</h2><p>There are two ways to toggle the right sidebar:</p><ul>diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Outline tab.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Outline tab.htmlindex cf9a201908..80dfceac86 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Outline tab.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Outline tab.html@@ -56,8 +56,8 @@<li>Globally, it's possible to toggle the display of each category of highlightedtext (as defined above) <ul>- <li>For the new layout, pressing the gear button in the top-right part of- the section will reveal a menu to toggle between the highlight categories.</li>+ <li>Pressing the gear button in the top-right part of the section will reveal+ a menu to toggle between the highlight categories.</li><li>Alternatively, they can be changed by going to <a class="reference-link"href="#root/_hidden/_options/_optionsTextNotes">Text Notes</a> settingsand looking for the <em>Highlights List</em> section.</li>@@ -90,8 +90,6 @@<li>Highlight and comment annotations are listed here.</li><li>Right-clicking an annotation and selecting <em>Copy reference</em> copiesa link that opens the PDF at that annotation.</li>- <li>For the old layout, this feature is not directly available, however there- is a listing of comments directly in the PDF toolbar.</li></ul></li><li>Attachmentsdiff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Vertical and horizontal layout.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Vertical and horizontal layout.htmlindex c0a911058e..087212fb93 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Vertical and horizontal layout.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Vertical and horizontal layout.html@@ -1,4 +1,3 @@-<h2>Layouts</h2><p>Trilium supports two different layouts, based on your preference.</p><h3>Vertical layout</h3><p>The vertical layout is Trilium's original layout:</p>@@ -14,8 +13,8 @@be collapsed by pressing the <span class="tn-icon bx bx-chevrons-left"></span> buttonat the bottom of the <a class="reference-link" href="#root/_help_xYmIYSP6wE3F">Launch Bar</a>.</li><li>The <a class="reference-link" href="#root/_help_x3i7MxGccDuM">Global menu</a> can- be accessed via the- <img src="2_Vertical and horizontal layout_image.png">icon at the top of the <a class="reference-link" href="#root/_help_xYmIYSP6wE3F">Launch Bar</a>.</li>+ be accessed via the <span class="tn-icon cke cke-trilium"></span> icon+ at the top of the <a class="reference-link" href="#root/_help_xYmIYSP6wE3F">Launch Bar</a>.</li></ul><p><img src="1_Vertical and horizontal layout_image.png">@@ -45,5 +44,5 @@<p>Go to <a class="reference-link" href="#root/_help_4TIF1oA4VQRO">Options</a> andlook for the <em>Appearance</em> option on the left. Then look for the <em>Layout</em> section,where there is the possibility to switch between the two available layouts.</p>-<p>Selecting an option will immediately apply the new layout by reloading+<p>Clicking an option will immediately apply the selected layout by reloadingthe window.</p>\ No newline at end of filediff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Mobile Frontend.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Mobile Frontend.htmlindex dfb1012e1c..761904f3e7 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Mobile Frontend.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Mobile Frontend.html@@ -47,9 +47,6 @@<li>Since v0.100.0, <a class="reference-link" href="#root/_help_luNhaphA37EO">Split View</a> canalso be used in mobile view, but with a maximum of two panes at once. Thesplits are displayed vertically instead of horizontally.</li>- <li>Starting with v0.102.0, the <a class="reference-link" href="#root/_help_IjZS7iK5EXtb">New Layout</a> is- enforced on mobile. This brings features such as the note badges, note- type switcher or collection properties which would otherwise not be available.</li></ul><h2>Installing as a PWA</h2><p>The mobile view can be set up as a PWA. While this does not offer anydiff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Code.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Code.htmlindex c29e1d8b29..dd80b18068 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Code.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Code.html@@ -70,12 +70,6 @@href="#root/_help_HI6GBBIduIgv">label</a>, which can also be inherited.</p></aside><h2>Adjusting options using the status bar</h2>-<aside class="admonition note">- <p>This feature is only available for the <a class="reference-link"- href="#root/_help_IjZS7iK5EXtb">New Layout</a>. For the old layout, the- tab width can be adjusted at note level using the <code>#tabWidth</code> attribute,- but re-indentation is not available.</p>-</aside><p>The status bar at the bottom of the editor shows the current indentationsettings and language. Clicking on the indentation indicator opens a menuwith three sections:</p>diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/File/PDFs.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/File/PDFs.htmlindex 7c042accb8..2bf193fa99 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/File/PDFs.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/File/PDFs.html@@ -18,9 +18,9 @@<li>Can be saved as a <a href="#root/_help_KC1HB96bqqHX">template</a> and thecontent of the PDF will be copied over to the new note. This is especiallyuseful in combination with annotations or filled forms.</li>- <li>Integrates with the sidebar in the <a class="reference-link" href="#root/_help_IjZS7iK5EXtb">New Layout</a>,- by displaying the list of pages with thumbnails, table of contents and- a listing of the annotations.</li>+ <li>Integrates with the <a class="reference-link" href="#root/_help_RnaPdbciOfeq">Right Sidebar</a> by+ displaying the list of pages with thumbnails, table of contents and a listing+ of the annotations.</li><li>Basic support for signatures (the hand-drawn ones, not proper digitalsignatures), similar to annotations. Signatures are stored and can be reusedacross multiple documents (up to 5).</li>@@ -53,8 +53,7 @@ class="admonition tip"><li>Comments can also be added, which is similar to highlights but also attacha text.</li><li>The <a class="reference-link" href="#root/_help_RnaPdbciOfeq">Right Sidebar</a> also- displays a list of annotations (highlights, comments), but only in the <a- class="reference-link" href="#root/_help_IjZS7iK5EXtb">New Layout</a>.</li>+ displays a list of annotations (highlights, comments).</li></ul><h3>Supported annotations</h3><p>The following annotation methods are supported:</p>@@ -96,7 +95,7 @@ class="admonition tip">create one:</p><ul><li>To link to a page, right-click the page in the <em>Pages</em> section of- the <a class="reference-link" href="#root/_help_RnaPdbciOfeq">Right Sidebar</a> and+ the <a class="reference-link" href="#root/_help_RnaPdbciOfeq">Right Sidebar</a> andselect <em>Copy reference</em>.</li><li>To link to an annotation, right-click it in the <em>Annotations</em> sectionof the sidebar and select <em>Copy reference</em>.</li>@@ -119,11 +118,6 @@ class="admonition tip">with a colored background.</p><p>Simply type text in the forms and they will be automatically saved.</p><h2>Sidebar navigation</h2>-<aside class="admonition note">- <p>This feature is only available if <a class="reference-link" href="#root/_help_IjZS7iK5EXtb">New Layout</a> is- enabled. If you are using the old layout, these features are still available- by looking for a sidebar button in the PDF viewer toolbar.</p>-</aside><p>See the dedicated section on PDFs in <a class="reference-link" href="#root/_help_2dcGDhp9WFKb">Outline tab</a>.</p><h2>Share functionality</h2><p>PDFs can also be shared using the <a class="reference-link" href="#root/_help_R9pX4DGra2Vt">Sharing</a> feature.diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Markdown.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Markdown.htmlindex 3f0871d65d..5f51aa8c66 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Markdown.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Markdown.html@@ -32,14 +32,9 @@<p>The following features are supported by Trilium's Markdown format andwill show up in the preview pane:</p><ul>- <li>- <p>All standard and GitHub-flavored syntax (basic formatting, tables, blockquotes).</p>- </li>- <li>- <p>Basic HTML is also supported (e.g. collapsible blocks using <code><details></code> and <code><summary></code>).</p>- </li>- <li>- <p>Code blocks with syntax highlight.</p>+ <li>All standard and GitHub-flavored syntax (basic formatting, tables, blockquotes).</li>+ <li>Basic HTML is also supported (e.g. collapsible blocks using <code><details></code> and <code><summary></code>).</li>+ <li>Code blocks with syntax highlight.<ul><li>The language must be specified for syntax highlight to be applied (e.g. <code>```js</code>).</li><li>Code blocks will respect the text wrapping from the <a class="reference-link"@@ -47,17 +42,11 @@href="#root/_help_4TIF1oA4VQRO">Options</a>.</li></ul></li>- <li>- <p><a class="reference-link" href="#root/_help_NwBbFdNZ9h7O">Block quotes & admonitions</a>- </p>- </li>- <li>- <p><a class="reference-link" href="#root/_help_YfYAtQBcfo5V">Math Equations</a> (both- inline and block)</p>+ <li><a class="reference-link" href="#root/_help_NwBbFdNZ9h7O">Block quotes & admonitions</a></li>- <li>- <p><a class="reference-link" href="#root/_help_s1aBHPd79XYj">Mermaid Diagrams</a> using <code>```mermaid</code>- </p>+ <li><a class="reference-link" href="#root/_help_YfYAtQBcfo5V">Math Equations</a> (both+ inline and block)</li>+ <li><a class="reference-link" href="#root/_help_s1aBHPd79XYj">Mermaid Diagrams</a> using <code>```mermaid</code></li><li><p><a class="reference-link" href="#root/_help_nBAXQFj20hS1">Include Note</a> (no@@ -213,11 +202,11 @@it.</p><p>Note that slash commands only work outside of code blocks and inline code.</p><h4>Linking notes with <code>@</code> or <code>[[</code></h4>-<p>As in <a class="reference-link" href="#root/_help_iPIMuisry3hd">Text</a> notes,+<p>As in <a class="reference-link" href="#root/_help_iPIMuisry3hd">Text</a> notes,typing <code>@</code> at the start of a line or after a space opens the notesearch. Picking a note replaces what was typed with a link to it in theWikilinks-like format (<code>[[noteId]]</code>), which the preview shows- as an <a class="reference-link" href="#root/_help_hrZ1D00cLbal">internal link</a> with+ as an <a class="reference-link" href="#root/_help_hrZ1D00cLbal">Internal (reference) links</a> withthe note's title.</p><p>The search runs on everything typed after the <code>@</code>, spaces included,so a title such as <code>@My meeting notes</code> can be typed out; press <kbd>Esc</kbd> to@@ -245,11 +234,7 @@<ul><li>The <a class="reference-link" href="#root/_help_BFvAtE74rbP6">Table of contents</a> willbe displayed in the <a class="reference-link" href="#root/_help_RnaPdbciOfeq">Right Sidebar</a> based- on the Markdown-level headings.- <ul>- <li>This feature is available only on the <a class="reference-link" href="#root/_help_IjZS7iK5EXtb">New Layout</a>.</li>- </ul>- </li>+ on the Markdown-level headings.</li></ul><h3>Shared notes</h3><p>When a Markdown note is <a href="#root/_help_R9pX4DGra2Vt">shared publicly</a>,diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Spreadsheets.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Spreadsheets.htmlindex eef9ce57c8..1cf29ee189 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Spreadsheets.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Spreadsheets.html@@ -57,8 +57,7 @@<li>Unlike importing, exporting is on a per-note basis:<ul><li>In the <a class="reference-link" href="#root/_help_8YBEPzcpUgxw">Note buttons</a>,- choose the <em>Export to Excel</em> or <em>Export to CSV</em> options for the <a- class="reference-link" href="#root/_help_IjZS7iK5EXtb">New Layout</a>.</li>+ choose the <em>Export to Excel</em> or <em>Export to CSV</em> options.</li><li>If exported as a single file via <a class="reference-link" href="#root/_help_mHbBMPDPkVV5">Import & Export</a>,the resulting file will be a custom <code>.triliumsheet</code> file thatpreserves the spreadsheet as-is.diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Right pane widget.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Right pane widget.htmlindex da213221dd..270afb8626 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Right pane widget.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Right pane widget.html@@ -1,22 +1,3 @@-<h2>Key highlights</h2>-<ul>- <li><code>doRender</code> must not be overridden, instead <code>doRenderBody()</code> has- to be overridden.- <ul>- <li><code>doRenderBody</code> can optionally be <code>async</code>.</li>- </ul>- </li>- <li><code>parentWidget()</code> must be set to <code>“rightPane”</code>.</li>- <li><code>widgetTitle()</code> getter can optionally be overriden, otherwise- the widget will be displayed as “Untitled widget”.</li>-</ul>-<h2>Example for new layout</h2>-<aside class="admonition important">- <p>This section addresses example that are tailored for the <a class="reference-link"- href="#root/_help_IjZS7iK5EXtb">New Layout</a> (available starting- with v0.101.0) where the right pane widget/sidebar is no longer shown or- hidden based on the widgets it has. </p>-</aside><h3>Title widget</h3><p>This is an example of a context-aware widget which displays the titleof the current note:</p><pre><code class="language-text-x-trilium-auto">class NoteTitleWidget extends api.RightPanelWidget {@@ -40,26 +21,10 @@ module.exports = new NoteTitleWidget();</code></pre><h3>Clock</h3><p>A simple widget which will show the current time, as an example on howto dynamically change the content of the widget periodically.</p>-<h3>Legacy widget</h3><pre><code class="language-text-x-trilium-auto">const template = `<div></div>`;--class ToDoListWidget extends api.RightPanelWidget {-- get widgetTitle() { return "Clock"; }- get parentWidget() { return "right-pane" }-- async doRenderBody() {- if (!this.timer) {- this.timer = setInterval(() => {- this.$body.empty().append(`The time is: <span>${new Date().toLocaleString()}</span>`);- }, 1000);- }-- this.$body.empty().append(`The time is: <span>${new Date().toLocaleString()}</span>`);- }-}--module.exports = new ToDoListWidget();</code></pre>-<h3>Preact widget</h3><pre><code class="language-text-x-trilium-auto">import { defineWidget, RightPanelWidget, useEffect, useState } from "trilium:preact";+<div class="trilium-tabs">+ <section class="trilium-tab">+ <p class="trilium-tab-title"><span class="tn-icon bx bxl-react"></span> Preact</p>+ <div class="trilium-tab-panel"><pre><code class="language-text-x-trilium-auto">import { defineWidget, RightPanelWidget, useEffect, useState } from "trilium:preact";export default defineWidget({parent: "right-pane",@@ -79,39 +44,72 @@ export default defineWidget({);}});</code></pre>-<h2>Example for old layout</h2>-<p>Here's a widget that displays a basic message ("Hi"):</p><pre><code class="language-text-x-trilium-auto">const template = `<div>Hi</div>`;+ </div>+ </section>+ <section class="trilium-tab">+ <p class="trilium-tab-title"><span class="tn-icon bx bxl-javascript"></span> Legacy</p>+ <div class="trilium-tab-panel"><pre><code class="language-text-x-trilium-auto">const template = `<div></div>`;-class HelloWorldWidget extends api.RightPanelWidget {+class ToDoListWidget extends api.RightPanelWidget {- get widgetTitle() {- return "Title goes here";- }-+ get widgetTitle() { return "Clock"; }get parentWidget() { return "right-pane" }- doRenderBody() {- this.$body.empty().append($(template));+ async doRenderBody() {+ if (!this.timer) {+ this.timer = setInterval(() => {+ this.$body.empty().append(`The time is: <span>${new Date().toLocaleString()}</span>`);+ }, 1000);+ }++ this.$body.empty().append(`The time is: <span>${new Date().toLocaleString()}</span>`);}-- async refreshWithNote(note) {- // Do something when the note changes.- }}-module.exports = new HelloWorldWidget();</code></pre>-<h3>Conditionally changing visibility</h3>-<p>In <code>refreshWithNote</code>:</p><pre><code class="language-text-x-trilium-auto">const visible = true; // replace with your own visibility logic-this.toggleInt(visible);-this.triggerCommand("reEvaluateRightPaneVisibility");</code></pre>+module.exports = new ToDoListWidget();</code></pre>+ </div>+ </section>+</div><h2>Altering the position within the sidebar</h2><p>By default, the sidebar items are displayed in the order they are foundby the application when searching for <code>#widget</code> notes.</p><p>It is possible to make a widget appear higher or lower up, by adjusting- its <code>position</code> property:</p><pre><code class="language-text-x-trilium-auto">class MyWidget extends api.RightPanelWidget {+ its <code>position</code> property:</p>+<div class="trilium-tabs">+ <section class="trilium-tab">+ <p class="trilium-tab-title"><span class="tn-icon bx bxl-react"></span> Preact</p>+ <div class="trilium-tab-panel"><pre><code class="language-text-javascript">import { defineWidget, RightPanelWidget, useEffect, useState } from "trilium:preact";-+ get position() { return 20 };+export default defineWidget({+ /* [...] */+ position: 20,+ render() {+ /* [...] */+ }+});</code></pre>+ </div>+ </section>+ <section class="trilium-tab">+ <p class="trilium-tab-title"><span class="tn-icon bx bxl-javascript"></span> Legacy</p>+ <div class="trilium-tab-panel"><pre><code class="language-text-javascript">class MyWidget extends api.RightPanelWidget {++ get position() { return 20 };}</code></pre>+ </div>+ </section>+</div><p>Generally the default position starts from 10 and increases by 10 with- each item, including the default Table of Contents and Highlights list.</p>\ No newline at end of file+ each item, including the default Table of Contents and Highlights list.</p>+<h2>Key highlights for legacy widgets</h2>+<ul>+ <li><code>doRender</code> must not be overridden, instead <code>doRenderBody()</code> has+ to be overridden.+ <ul>+ <li><code>doRenderBody</code> can optionally be <code>async</code>.</li>+ </ul>+ </li>+ <li><code>parentWidget()</code> must be set to <code>“rightPane”</code>.</li>+ <li><code>widgetTitle()</code> getter can optionally be overriden, otherwise+ the widget will be displayed as “Untitled widget”.</li>+</ul>\ No newline at end of filediff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Troubleshooting/Error logs/Backend (server) logs.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Troubleshooting/Error logs/Backend (server) logs.htmlindex b26fe89cf4..cabad42d16 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Troubleshooting/Error logs/Backend (server) logs.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Troubleshooting/Error logs/Backend (server) logs.html@@ -5,9 +5,8 @@only on disk (see below).</p><p>Interaction since v0.104.0:</p><ul>- <li>The file can be downloaded as a text file using the dedicated button in- the <a class="reference-link" href="#root/_help_8YBEPzcpUgxw">Note buttons</a> area- (<a class="reference-link" href="#root/_help_IjZS7iK5EXtb">New Layout</a> only).</li>+ <li>The file can be downloaded as a text file using the <span class="tn-icon bx bx-download"></span> button+ in the <a class="reference-link" href="#root/_help_8YBEPzcpUgxw">Note buttons</a> area.</li><li>The file can also be searched just like a normal <a class="reference-link"href="#root/_help_6f9hih2hXXZk">Code</a> note.</li></ul>diff --git a/docs/User Guide/!!!meta.json b/docs/User Guide/!!!meta.jsonindex 9eda6e1bae..298da1bde0 100644--- a/docs/User Guide/!!!meta.json+++ b/docs/User Guide/!!!meta.json@@ -1450,14 +1450,6 @@"mime": "image/jpg","position": 10,"dataFileName": "1_Vertical and horizontal layout_image.png"- },- {- "attachmentId": "NVjM5z6IsNZf",- "title": "image.png",- "role": "image",- "mime": "image/png",- "position": 10,- "dataFileName": "2_Vertical and horizontal layout_image.png"}]},diff --git a/docs/User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree map).md b/docs/User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree map).mdindex f0002f78a4..f41a577473 100644--- a/docs/User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree map).md+++ b/docs/User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree map).md@@ -43,7 +43,7 @@ The map indicates the following types of relations:* <a class="reference-link" href="../Note%20Types/Text/Links/Internal%20(reference)%20links.md">Internal (reference) links</a> between notes.* <a class="reference-link" href="Attributes/Relations.md">Relations</a>-The link map will also show unlinked notes that are part of the hierarchy as a cloud of unconnected dots. On the <a class="reference-link" href="../Scripting/Breaking%20changes/v0.108.0%20Removal%20of%20the%20old%20layout.md">New Layout</a>, the sidebar deliberately omits this in order to save some space, but they will be revealed once the map is maximized.+The link map will also show unlinked notes that are part of the hierarchy as a cloud of unconnected dots. On the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Right%20Sidebar.md">Right Sidebar</a> deliberately omits this in order to save some space, but they will be revealed once the map is maximized.## Tree Mapdiff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Active content.md b/docs/User Guide/User Guide/Basic Concepts and Features/Active content.mdindex 5254f6bd98..9117e1b6c6 100644--- a/docs/User Guide/User Guide/Basic Concepts and Features/Active content.md+++ b/docs/User Guide/User Guide/Basic Concepts and Features/Active content.md@@ -28,6 +28,6 @@ These are the types of active content in Trilium, along with a few examples of w## Active content badge-Starting with v0.102.0, on the <a class="reference-link" href="../Scripting/Breaking%20changes/v0.108.0%20Removal%20of%20the%20old%20layout.md">New Layout</a> a badge will be displayed near the note title, indicating that an active content is detected. Clicking the badge will reveal a menu with various options related to that content type, for example to open the documentation or to configure the execution of scripts.+If a note is considered to have active content, a badge is shown in the <a class="reference-link" href="Notes/Note%20badges.md">Note badges</a> area. Clicking the badge will reveal a menu with various options related to that content type, for example to open the documentation or to configure the execution of scripts.For some active content types, such as backend scripts with custom triggering conditions a toggle button will appear. This makes it possible to easily disable scripts or widgets, but also to re-enable them if an import was made with safe mode active.\ No newline at end of filediff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Note Revisions.md b/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Note Revisions.mdindex 61c7ba350c..701b2bd8c7 100644--- a/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Note Revisions.md+++ b/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Note Revisions.md@@ -3,10 +3,7 @@Trilium supports seamless versioning of notes by storing snapshots ("revisions") of notes at regular intervals.-## Displaying the revisions--* On the <a class="reference-link" href="../../Scripting/Breaking%20changes/v0.108.0%20Removal%20of%20the%20old%20layout.md">New Layout</a>, press the [note context menu](../UI%20Elements/Note%20buttons.md) and select _Note revisions…_-* On the old layout, press directly the <span class="tn-icon bx bx-history"></span> button in the <a class="reference-link" href="../UI%20Elements/Note%20buttons.md">Note buttons</a> area.+To display the revisions, press the <a class="reference-link" href="../UI%20Elements/Note%20buttons.md">Note buttons</a> and select _Note revisions…_## Interactiondiff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Note badges.md b/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Note badges.mdindex b2fa5aa9ae..7a8609fb7c 100644--- a/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Note badges.md+++ b/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Note badges.md@@ -8,4 +8,5 @@ The following badges are available:* <span class="tn-icon bx bx-lock-alt"></span> **Read-only badge**, which will be shown if the note is not editable due to either automatic read-only or manual read-only. Clicking on the badge will temporarily edit the note (similar to the old <span class="tn-icon bx bx-edit-alt"></span> floating button).* <span class="tn-icon bx bx-share-alt"></span> **Share badge**, which will indicate that the current note is shared. The badge will also indicate if the share is on the local network (for the desktop application without <a class="reference-link" href="../../Installation%20%26%20Setup/Synchronization.md">Synchronization</a> set up) or publicly accessible (for the server).* <span class="tn-icon bx bx-globe"></span> **Web clip badge**, which will indicate if the note was clipped using the <a class="reference-link" href="../../Installation%20%26%20Setup/Web%20Clipper.md">Web Clipper</a>. The badge acts as a link, so it can be clicked on to navigate to the page or right clicked for more options.-* <span class="tn-icon bx bx-play"></span> **Execute badge**, for [scripts](../../Scripting.md) or [saved SQL queries](../../Advanced%20Usage/Database/Manually%20altering%20the%20database/SQL%20Console.md) which have an execute button or a description.\ No newline at end of file+* <span class="tn-icon bx bx-play"></span> **Execute badge**, for [scripts](../../Scripting.md) or [saved SQL queries](../../Advanced%20Usage/Database/Manually%20altering%20the%20database/SQL%20Console.md) which have an execute button or a description.+* For <a class="reference-link" href="../Active%20content.md">Active content</a> (e.g. scripts, styles), a dedicated badge will be shown indicating the type of note and with an option to easily enable or disable it.\ No newline at end of filediff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Printing & Exporting as PDF.md b/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Printing & Exporting as PDF.mdindex 3e9d5e1f36..e9731e5418 100644--- a/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Printing & Exporting as PDF.md+++ b/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Printing & Exporting as PDF.md@@ -46,7 +46,7 @@ If the note cannot be rendered with the current options, or stops making progresThis feature allows printing of notes. It works on both the desktop client, but also on the web.-To print a note, select the <span class="tn-icon bx bx-dots-horizontal-rounded"></span> ([New layout](../../Scripting/Breaking%20changes/v0.108.0%20Removal%20of%20the%20old%20layout.md), or <span class="tn-icon bx bx-dots-vertical-rounded"></span> for the old layout) button to the right of the note and select _Print note_. Depending on the size and type of the note, this can take up to a few seconds. Afterwards you will be redirected to the system/browser printing dialog.+To print a note, click the <a class="reference-link" href="../UI%20Elements/Note%20buttons.md">Note buttons</a> and select _Print note_. Depending on the size and type of the note, this can take up to a few seconds. Afterwards you will be redirected to the system/browser printing dialog.On the server or PWA (mobile), the option is not available due to technical constraints and it will be hidden.diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/2_Vertical and horizontal layout_image.png b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/2_Vertical and horizontal layout_image.pngdeleted file mode 100644index 257b8a81c0..0000000000Binary files a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/2_Vertical and horizontal layout_image.png and /dev/null differdiff --git a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Content width.md b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Content width.mdindex 7cca4f8a67..a39c685a90 100644--- a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Content width.md+++ b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Content width.md@@ -1,5 +1,5 @@# Content width-Some note types (such as <a class="reference-link" href="../../Note%20Types/Text.md">Text</a> and saved search) intentionally limit the width of the content.+Some note types (such as <a class="reference-link" href="../../Note%20Types/Text.md">Text</a> and saved search) intentionally limit the width of the content.This might appear surprising at first, but the idea is to make text fit well on wider screens without appearing distorted. This is especially the case if the document contains <a class="reference-link" href="../../Note%20Types/Text/Images.md">Images</a>, tables or other width-dependent elements.@@ -15,7 +15,7 @@ By default, the content is aligned to the left, but it can be centered horizontaFor notes with large elements such as <a class="reference-link" href="../../Note%20Types/Text/Tables.md">Tables</a>, it sometimes makes sense to avoid the content width without affecting other notes. To do so:-* Since v0.104.0 in the <a class="reference-link" href="../../Scripting/Breaking%20changes/v0.108.0%20Removal%20of%20the%20old%20layout.md">New Layout</a> only, go to <a class="reference-link" href="Note%20buttons.md">Note buttons</a> and toggle _Full width_.+* Go to <a class="reference-link" href="Note%20buttons.md">Note buttons</a> and toggle _Full width_.* Or manually apply the `fullContentWidth` [label](../../Advanced%20Usage/Attributes/Labels.md) to the note.> [!NOTE]diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar.md b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar.mdindex 27b49ba513..4e8f9fa201 100644--- a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar.md+++ b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar.md@@ -8,9 +8,6 @@ The right sidebar displays specific content for the current note. The sidebar is* <a class="reference-link" href="Right%20Sidebar/AI%20chat%20tab.md">AI chat tab</a>, which uses the <a class="reference-link" href="../../AI.md">AI</a> integration to chat, with optional access to the current note.* <a class="reference-link" href="Right%20Sidebar/Connections%20tab.md">Connections tab</a>, which groups together the note map, note paths, backlinks and similar notes.-> [!WARNING]-> There are currently two types of sidebars; the documentation here refers only to the one defined in the <a class="reference-link" href="../../Scripting/Breaking%20changes/v0.108.0%20Removal%20of%20the%20old%20layout.md">New Layout</a>. The old layout has a different sidebar mechanism which only shows the table of contents and highlights.-## Toggling the right sidebarThere are two ways to toggle the right sidebar:diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Outline tab.md b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Outline tab.mdindex 0f4b44194e..c74fbb93d9 100644--- a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Outline tab.md+++ b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Outline tab.md@@ -44,7 +44,7 @@ Highlighted text is defined as:### Configuration* Globally, it's possible to toggle the display of each category of highlighted text (as defined above)- * For the new layout, pressing the gear button in the top-right part of the section will reveal a menu to toggle between the highlight categories.+ * Pressing the gear button in the top-right part of the section will reveal a menu to toggle between the highlight categories.* Alternatively, they can be changed by going to <a class="reference-link" href="#root/_hidden/_options/_optionsTextNotes">Text Notes</a> settings and looking for the _Highlights List_ section.## PDF-specific outline@@ -62,7 +62,6 @@ When <a class="reference-link" href="../../../Note%20Types/File/PDFs.md">PDFs</* Annotations* Highlight and comment annotations are listed here.* Right-clicking an annotation and selecting _Copy reference_ copies a link that opens the PDF at that annotation.- * For the old layout, this feature is not directly available, however there is a listing of comments directly in the PDF toolbar.* Attachments* If the PDF has its own attachments (not to be confused with Trilium's <a class="reference-link" href="../../Notes/Attachments.md">Attachments</a>), they will be displayed in a list.* Some information such as the name and size of the attachment are displayed.diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Vertical and horizontal layout.md b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Vertical and horizontal layout.mdindex b664f213cf..6dca758201 100644--- a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Vertical and horizontal layout.md+++ b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Vertical and horizontal layout.md@@ -1,6 +1,4 @@# Vertical and horizontal layout-## Layouts-Trilium supports two different layouts, based on your preference.### Vertical layout@@ -11,7 +9,7 @@ The vertical layout is Trilium's original layout:* The tab bar is at the top, but to the right of the <a class="reference-link" href="Note%20Tree.md">Note Tree</a>.* The <a class="reference-link" href="../Navigation/Quick%20search.md">Quick search</a> is at the top of the <a class="reference-link" href="Note%20Tree.md">Note Tree</a>.* The <a class="reference-link" href="Note%20Tree.md">Note Tree</a> can be collapsed by pressing the <span class="tn-icon bx bx-chevrons-left"></span> button at the bottom of the <a class="reference-link" href="Launch%20Bar.md">Launch Bar</a>.-* The <a class="reference-link" href="Global%20menu.md">Global menu</a> can be accessed via the  icon at the top of the <a class="reference-link" href="Launch%20Bar.md">Launch Bar</a>.+* The <a class="reference-link" href="Global%20menu.md">Global menu</a> can be accessed via the <span class="tn-icon cke cke-trilium"></span> icon at the top of the <a class="reference-link" href="Launch%20Bar.md">Launch Bar</a>.@@ -31,4 +29,4 @@ The horizontal layout is a more traditional layout, since it bears similarity wiGo to <a class="reference-link" href="Options.md">Options</a> and look for the _Appearance_ option on the left. Then look for the _Layout_ section, where there is the possibility to switch between the two available layouts.-Selecting an option will immediately apply the new layout by reloading the window.\ No newline at end of file+Clicking an option will immediately apply the selected layout by reloading the window.\ No newline at end of filediff --git a/docs/User Guide/User Guide/Installation & Setup/Mobile Frontend.md b/docs/User Guide/User Guide/Installation & Setup/Mobile Frontend.mdindex 23fb37910f..04c3e87981 100644--- a/docs/User Guide/User Guide/Installation & Setup/Mobile Frontend.md+++ b/docs/User Guide/User Guide/Installation & Setup/Mobile Frontend.md@@ -21,7 +21,6 @@ Here is a non-exhaustive list of differences between the desktop version and the* Most of the note-related actions are grouped in the horizontal dots icon on the top-right of the note.* The <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Tabs.md">Tabs</a> are grouped under a tab switcher in the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Launch%20Bar.md">Launch Bar</a>, where the tabs are displayed in a full-screen grid with preview for easy switching, as well as additional options such as reopening closed tabs.* Since v0.100.0, <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Split%20View.md">Split View</a> can also be used in mobile view, but with a maximum of two panes at once. The splits are displayed vertically instead of horizontally.-* Starting with v0.102.0, the <a class="reference-link" href="../Scripting/Breaking%20changes/v0.108.0%20Removal%20of%20the%20old%20layout.md">New Layout</a> is enforced on mobile. This brings features such as the note badges, note type switcher or collection properties which would otherwise not be available.## Installing as a PWAdiff --git a/docs/User Guide/User Guide/Note Types/Code.md b/docs/User Guide/User Guide/Note Types/Code.mdindex 2d55d5120e..11527cdc39 100644--- a/docs/User Guide/User Guide/Note Types/Code.md+++ b/docs/User Guide/User Guide/Note Types/Code.md@@ -47,9 +47,6 @@ Long lines can be displayed on multiple lines:## Adjusting options using the status bar-> [!NOTE]-> This feature is only available for the <a class="reference-link" href="../Scripting/Breaking%20changes/v0.108.0%20Removal%20of%20the%20old%20layout.md">New Layout</a>. For the old layout, the tab width can be adjusted at note level using the `#tabWidth` attribute, but re-indentation is not available.-The status bar at the bottom of the editor shows the current indentation settings and language. Clicking on the indentation indicator opens a menu with three sections:1. **Indent Using** — switch between Spaces and Tabs (`#indentWithTabs`). If a per-note override is active, a "Reset to default" option appears.diff --git a/docs/User Guide/User Guide/Note Types/File/PDFs.md b/docs/User Guide/User Guide/Note Types/File/PDFs.mdindex 8c77a734b3..811b6b9c5d 100644--- a/docs/User Guide/User Guide/Note Types/File/PDFs.md+++ b/docs/User Guide/User Guide/Note Types/File/PDFs.md@@ -12,7 +12,7 @@ Since v0.102.0, PDFs will be rendered using Trilium's built-in PDF viewer, which* Forms can be filled.* Can be printed or downloaded.* Can be saved as a [template](../../Advanced%20Usage/Templates.md) and the content of the PDF will be copied over to the new note. This is especially useful in combination with annotations or filled forms.-* Integrates with the sidebar in the <a class="reference-link" href="../../Scripting/Breaking%20changes/v0.108.0%20Removal%20of%20the%20old%20layout.md">New Layout</a>, by displaying the list of pages with thumbnails, table of contents and a listing of the annotations.+* Integrates with the <a class="reference-link" href="../../Basic%20Concepts%20and%20Features/UI%20Elements/Right%20Sidebar.md">Right Sidebar</a> by displaying the list of pages with thumbnails, table of contents and a listing of the annotations.* Basic support for signatures (the hand-drawn ones, not proper digital signatures), similar to annotations. Signatures are stored and can be reused across multiple documents (up to 5).## Storing last position and settings@@ -36,7 +36,7 @@ Since v0.103.0:* Annotations are disabled if the note is marked as <a class="reference-link" href="../../Basic%20Concepts%20and%20Features/Notes/Read-Only%20Notes.md">Read-Only Notes</a>.* Comments can also be added, which is similar to highlights but also attach a text.-* The <a class="reference-link" href="../../Basic%20Concepts%20and%20Features/UI%20Elements/Right%20Sidebar.md">Right Sidebar</a> also displays a list of annotations (highlights, comments), but only in the <a class="reference-link" href="../../Scripting/Breaking%20changes/v0.108.0%20Removal%20of%20the%20old%20layout.md">New Layout</a>.+* The <a class="reference-link" href="../../Basic%20Concepts%20and%20Features/UI%20Elements/Right%20Sidebar.md">Right Sidebar</a> also displays a list of annotations (highlights, comments).### Supported annotations@@ -71,7 +71,7 @@ The downside is that the entire PDF needs to be sent back to the server, which cA link can open a PDF at a given page, or at one of its annotations. To create one:-* To link to a page, right-click the page in the _Pages_ section of the <a class="reference-link" href="../../Basic%20Concepts%20and%20Features/UI%20Elements/Right%20Sidebar.md">Right Sidebar</a> and select _Copy reference_.+* To link to a page, right-click the page in the _Pages_ section of the <a class="reference-link" href="../../Basic%20Concepts%20and%20Features/UI%20Elements/Right%20Sidebar.md">Right Sidebar</a> and select _Copy reference_.* To link to an annotation, right-click it in the _Annotations_ section of the sidebar and select _Copy reference_.Pasted into a text note, the reference becomes one of the <a class="reference-link" href="../Text/Links/Internal%20(reference)%20links.md">Internal (reference) links</a>, showing the title of the PDF followed by the page (_Page 5_), or by _Annotation on page 5_ for a reference to an annotation. Clicking it opens the PDF and scrolls to the page or to the annotation.@@ -89,9 +89,6 @@ Simply type text in the forms and they will be automatically saved.## Sidebar navigation-> [!NOTE]-> This feature is only available if <a class="reference-link" href="../../Scripting/Breaking%20changes/v0.108.0%20Removal%20of%20the%20old%20layout.md">New Layout</a> is enabled. If you are using the old layout, these features are still available by looking for a sidebar button in the PDF viewer toolbar.-See the dedicated section on PDFs in <a class="reference-link" href="../../Basic%20Concepts%20and%20Features/UI%20Elements/Right%20Sidebar/Outline%20tab.md">Outline tab</a>.## Share functionalitydiff --git a/docs/User Guide/User Guide/Note Types/Markdown.md b/docs/User Guide/User Guide/Note Types/Markdown.mdindex 5184d409ad..d149bb6bda 100644--- a/docs/User Guide/User Guide/Note Types/Markdown.md+++ b/docs/User Guide/User Guide/Note Types/Markdown.md@@ -27,7 +27,6 @@ The following features are supported by Trilium's Markdown format and will show* All standard and GitHub-flavored syntax (basic formatting, tables, blockquotes).* Basic HTML is also supported (e.g. collapsible blocks using `<details>` and `<summary>`).* Code blocks with syntax highlight.-* The language must be specified for syntax highlight to be applied (e.g. ` ```js `).* Code blocks will respect the text wrapping from the <a class="reference-link" href="Text.md">Text</a> section in <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Options.md">Options</a>.* <a class="reference-link" href="Text/Block%20quotes%20%26%20admonitions.md">Block quotes & admonitions</a>@@ -178,7 +177,7 @@ Note that slash commands only work outside of code blocks and inline code.#### Linking notes with `@` or `[[`-As in <a class="reference-link" href="Text.md">Text</a> notes, typing `@` at the start of a line or after a space opens the note search. Picking a note replaces what was typed with a link to it in the Wikilinks-like format (`[[noteId]]`), which the preview shows as an <a class="reference-link" href="Text/Links/Internal%20(reference)%20links.md">internal link</a> with the note's title.+As in <a class="reference-link" href="Text.md">Text</a> notes, typing `@` at the start of a line or after a space opens the note search. Picking a note replaces what was typed with a link to it in the Wikilinks-like format (`[[noteId]]`), which the preview shows as an <a class="reference-link" href="Text/Links/Internal%20(reference)%20links.md">Internal (reference) links</a> with the note's title.The search runs on everything typed after the `@`, spaces included, so a title such as `@My meeting notes` can be typed out; press <kbd>Esc</kbd> to close the list and go on writing. If no note fits, the list offers to create one, as a child of the Markdown note or in the inbox; the link is inserted once the note is created.@@ -197,7 +196,6 @@ The list of languages matches the one for <a class="reference-link" href="Code.### Other features* The <a class="reference-link" href="Text/Table%20of%20contents.md">Table of contents</a> will be displayed in the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Right%20Sidebar.md">Right Sidebar</a> based on the Markdown-level headings.- * This feature is available only on the <a class="reference-link" href="../Scripting/Breaking%20changes/v0.108.0%20Removal%20of%20the%20old%20layout.md">New Layout</a>.### Shared notesdiff --git a/docs/User Guide/User Guide/Note Types/Spreadsheets.md b/docs/User Guide/User Guide/Note Types/Spreadsheets.mdindex 15281e59c4..db945e70cf 100644--- a/docs/User Guide/User Guide/Note Types/Spreadsheets.md+++ b/docs/User Guide/User Guide/Note Types/Spreadsheets.md@@ -32,7 +32,7 @@ Both [import and export](../Basic%20Concepts%20and%20Features/Import%20%26%20Exp* To avoid this behavior (e.g. to import a .xlsx file as an actual <a class="reference-link" href="File.md">File</a>), uncheck the corresponding option in the [Import dialog](../Basic%20Concepts%20and%20Features/Import%20%26%20Export.md).* Multiple files can be imported at the same time, including a mixture of .csv and .xlsx files. Folder structure can be preserved by using a .zip file.* Unlike importing, exporting is on a per-note basis:- * In the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Note%20buttons.md">Note buttons</a>, choose the _Export to Excel_ or _Export to CSV_ options for the <a class="reference-link" href="../Scripting/Breaking%20changes/v0.108.0%20Removal%20of%20the%20old%20layout.md">New Layout</a>.+ * In the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Note%20buttons.md">Note buttons</a>, choose the _Export to Excel_ or _Export to CSV_ options.* If exported as a single file via <a class="reference-link" href="../Basic%20Concepts%20and%20Features/Import%20%26%20Export.md">Import & Export</a>, the resulting file will be a custom `.triliumsheet` file that preserves the spreadsheet as-is.* The export is intentionally a different process than the normal <a class="reference-link" href="../Basic%20Concepts%20and%20Features/Import%20%26%20Export.md">Import & Export</a> functionality because it does conversion to multiple formats with varying degrees of compatibility.diff --git a/docs/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Right pane widget.md b/docs/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Right pane widget.mdindex aa90c9aeff..d1533de280 100644--- a/docs/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Right pane widget.md+++ b/docs/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Right pane widget.md@@ -1,16 +1,4 @@# Right pane widget-## Key highlights--* `doRender` must not be overridden, instead `doRenderBody()` has to be overridden.- * `doRenderBody` can optionally be `async`.-* `parentWidget()` must be set to `“rightPane”`.-* `widgetTitle()` getter can optionally be overriden, otherwise the widget will be displayed as “Untitled widget”.--## Example for new layout--> [!IMPORTANT]-> This section addresses example that are tailored for the <a class="reference-link" href="../../Breaking%20changes/v0.108.0%20Removal%20of%20the%20old%20layout.md">New Layout</a> (available starting with v0.101.0) where the right pane widget/sidebar is no longer shown or hidden based on the widgets it has.-### Title widgetThis is an example of a context-aware widget which displays the title of the current note:@@ -40,104 +28,90 @@ module.exports = new NoteTitleWidget();A simple widget which will show the current time, as an example on how to dynamically change the content of the widget periodically.-### Legacy widget--```-const template = `<div></div>`;--class ToDoListWidget extends api.RightPanelWidget {-- get widgetTitle() { return "Clock"; }- get parentWidget() { return "right-pane" }-- async doRenderBody() {- if (!this.timer) {- this.timer = setInterval(() => {- this.$body.empty().append(`The time is: <span>${new Date().toLocaleString()}</span>`);- }, 1000);+=== "<span class="tn-icon bx bxl-react"></span> Preact"++ ```+ import { defineWidget, RightPanelWidget, useEffect, useState } from "trilium:preact";++ export default defineWidget({+ parent: "right-pane",+ position: 1,+ render() {+ const [ time, setTime ] = useState();+ useEffect(() => {+ const interval = setInterval(() => {+ setTime(new Date().toLocaleString());+ }, 1000);+ return () => clearInterval(interval);+ });+ return (+ <RightPanelWidget id="clock-jsx" title="Clock (JSX)">+ <p>The time is: {time}</p>+ </RightPanelWidget>+ );}+ });+ ```- this.$body.empty().append(`The time is: <span>${new Date().toLocaleString()}</span>`);- }-}--module.exports = new ToDoListWidget();-```+=== "<span class="tn-icon bx bxl-javascript"></span> Legacy"-### Preact widget+ ```+ const template = `<div></div>`;-```-import { defineWidget, RightPanelWidget, useEffect, useState } from "trilium:preact";--export default defineWidget({- parent: "right-pane",- position: 1,- render() {- const [ time, setTime ] = useState();- useEffect(() => {- const interval = setInterval(() => {- setTime(new Date().toLocaleString());- }, 1000);- return () => clearInterval(interval);- });- return (- <RightPanelWidget id="clock-jsx" title="Clock (JSX)">- <p>The time is: {time}</p>- </RightPanelWidget>- );+ class ToDoListWidget extends api.RightPanelWidget {++ get widgetTitle() { return "Clock"; }+ get parentWidget() { return "right-pane" }++ async doRenderBody() {+ if (!this.timer) {+ this.timer = setInterval(() => {+ this.$body.empty().append(`The time is: <span>${new Date().toLocaleString()}</span>`);+ }, 1000);+ }++ this.$body.empty().append(`The time is: <span>${new Date().toLocaleString()}</span>`);+ }}-});-```--## Example for old layout-Here's a widget that displays a basic message ("Hi"):+ module.exports = new ToDoListWidget();+ ```-```-const template = `<div>Hi</div>`;+## Altering the position within the sidebar-class HelloWorldWidget extends api.RightPanelWidget {-- get widgetTitle() {- return "Title goes here";- }-- get parentWidget() { return "right-pane" }-- doRenderBody() {- this.$body.empty().append($(template));- }-- async refreshWithNote(note) {- // Do something when the note changes.- }-}+By default, the sidebar items are displayed in the order they are found by the application when searching for `#widget` notes.-module.exports = new HelloWorldWidget();-```+It is possible to make a widget appear higher or lower up, by adjusting its `position` property:-### Conditionally changing visibility+=== "<span class="tn-icon bx bxl-react"></span> Preact"-In `refreshWithNote`:+ ```javascript+ import { defineWidget, RightPanelWidget, useEffect, useState } from "trilium:preact";-```-const visible = true; // replace with your own visibility logic-this.toggleInt(visible);-this.triggerCommand("reEvaluateRightPaneVisibility");-```+ export default defineWidget({+ /* [...] */+ position: 20,+ render() {+ /* [...] */+ }+ });+ ```-## Altering the position within the sidebar+=== "<span class="tn-icon bx bxl-javascript"></span> Legacy"-By default, the sidebar items are displayed in the order they are found by the application when searching for `#widget` notes.+ ```javascript+ class MyWidget extends api.RightPanelWidget {-It is possible to make a widget appear higher or lower up, by adjusting its `position` property:+ get position() { return 20 };++ }+ ```-```-class MyWidget extends api.RightPanelWidget {+Generally the default position starts from 10 and increases by 10 with each item, including the default Table of Contents and Highlights list.-+ get position() { return 20 };--}-```+## Key highlights for legacy widgets-Generally the default position starts from 10 and increases by 10 with each item, including the default Table of Contents and Highlights list.\ No newline at end of file+* `doRender` must not be overridden, instead `doRenderBody()` has to be overridden.+ * `doRenderBody` can optionally be `async`.+* `parentWidget()` must be set to `“rightPane”`.+* `widgetTitle()` getter can optionally be overriden, otherwise the widget will be displayed as “Untitled widget”.\ No newline at end of filediff --git a/docs/User Guide/User Guide/Troubleshooting/Error logs/Backend (server) logs.md b/docs/User Guide/User Guide/Troubleshooting/Error logs/Backend (server) logs.mdindex 1271f31b6c..4fdbfba1c4 100644--- a/docs/User Guide/User Guide/Troubleshooting/Error logs/Backend (server) logs.md+++ b/docs/User Guide/User Guide/Troubleshooting/Error logs/Backend (server) logs.md@@ -5,7 +5,7 @@ In the <a class="reference-link" href="../../Basic%20Concepts%20and%20Features/Interaction since v0.104.0:-* The file can be downloaded as a text file using the dedicated button in the <a class="reference-link" href="../../Basic%20Concepts%20and%20Features/UI%20Elements/Note%20buttons.md">Note buttons</a> area (<a class="reference-link" href="../../Scripting/Breaking%20changes/v0.108.0%20Removal%20of%20the%20old%20layout.md">New Layout</a> only).+* The file can be downloaded as a text file using the <span class="tn-icon bx bx-download"></span> button in the <a class="reference-link" href="../../Basic%20Concepts%20and%20Features/UI%20Elements/Note%20buttons.md">Note buttons</a> area.* The file can also be searched just like a normal <a class="reference-link" href="../../Note%20Types/Code.md">Code</a> note.## Location on the disk