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
fix(launcher): clarify quick search (closes #1680)
Elian Doran7fba2dfb8b25
diff --git a/docs/Release Notes/Release Notes/v0.92.8-beta.md b/docs/Release Notes/Release Notes/v0.92.8-beta.mdindex 83a2dbed1d..4676b0d204 100644--- a/docs/Release Notes/Release Notes/v0.92.8-beta.md+++ b/docs/Release Notes/Release Notes/v0.92.8-beta.md@@ -10,6 +10,7 @@* [Unable to add internal link on mobile version](https://github.com/TriliumNext/Notes/issues/1677)* Note tree not closing when selecting some of the menu actions.* [Most tree context menu on mobile are broken](https://github.com/TriliumNext/Notes/issues/671)+* [Quick search launch bar item does nothing in vertical layout](https://github.com/TriliumNext/Notes/issues/1680)## ✨ Improvementsdiff --git a/src/public/app/doc_notes/en/launchbar_quick_search.html b/src/public/app/doc_notes/en/launchbar_quick_search.htmlnew file mode 100644index 0000000000..79945ab2c8--- /dev/null+++ b/src/public/app/doc_notes/en/launchbar_quick_search.html@@ -0,0 +1,2 @@+<p>The <a href="#root/_help_Ms1nauBra7gq" target="_blank">quick search bar</a> is displayed only on the horizontal layout, since it is already visible by default in the vertical layout.</p>+<p>For more information, see <a href="#root/_help_x0JgW8UqGXvq" target="_blank">Vertical and horizontal layout</a>.</p>\ No newline at end of filediff --git a/src/services/hidden_subtree_launcherbar.ts b/src/services/hidden_subtree_launcherbar.tsindex f00faac31e..0ee41f2e61 100644--- a/src/services/hidden_subtree_launcherbar.ts+++ b/src/services/hidden_subtree_launcherbar.ts@@ -74,7 +74,14 @@ export default function buildLaunchBarConfig() {{ id: "_lbBookmarks", title: t("hidden-subtree.bookmarks-title"), type: "launcher", builtinWidget: "bookmarks", icon: "bx bx-bookmark" },{ id: "_lbToday", ...sharedLaunchers.openToday },{ id: "_lbSpacer2", title: t("hidden-subtree.spacer-title"), type: "launcher", builtinWidget: "spacer", baseSize: "0", growthFactor: "1" },- { id: "_lbQuickSearch", title: t("hidden-subtree.quick-search-title"), type: "launcher", builtinWidget: "quickSearch", icon: "bx bx-rectangle" },+ {+ id: "_lbQuickSearch",+ title: t("hidden-subtree.quick-search-title"),+ type: "launcher",+ builtinWidget: "quickSearch",+ icon: "bx bx-rectangle",+ attributes: [{ type: "label", name: "docName", value: "launchbar_quick_search" }]+ },{ id: "_lbProtectedSession", title: t("hidden-subtree.protected-session-title"), type: "launcher", builtinWidget: "protectedSession", icon: "bx bx bx-shield-quarter" },{ id: "_lbSyncStatus", title: t("hidden-subtree.sync-status-title"), type: "launcher", builtinWidget: "syncStatus", icon: "bx bx-wifi" },{ id: "_lbSettings", title: t("hidden-subtree.settings-title"), type: "launcher", command: "showOptions", icon: "bx bx-cog" }