diff --git a/docs/Release Notes/Release Notes/v0.92.8-beta.md b/docs/Release Notes/Release Notes/v0.92.8-beta.md index 83a2dbed1..4676b0d20 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) ## ✨ Improvements diff --git a/src/public/app/doc_notes/en/launchbar_quick_search.html b/src/public/app/doc_notes/en/launchbar_quick_search.html new file mode 100644 index 000000000..79945ab2c --- /dev/null +++ b/src/public/app/doc_notes/en/launchbar_quick_search.html @@ -0,0 +1,2 @@ +

The quick search bar is displayed only on the horizontal layout, since it is already visible by default in the vertical layout.

+

For more information, see Vertical and horizontal layout.

\ No newline at end of file diff --git a/src/services/hidden_subtree_launcherbar.ts b/src/services/hidden_subtree_launcherbar.ts index f00faac31..0ee41f2e6 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" }