From 9fd0b85ff2be264be35ec2052c956b654f0dac9e Mon Sep 17 00:00:00 2001 From: zadam Date: Mon, 16 Jan 2023 22:37:21 +0100 Subject: [PATCH] doc note for the back/forward launchers --- src/public/app/doc_notes/launchbar_history_navigation.html | 3 +++ src/services/hidden_subtree.js | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 src/public/app/doc_notes/launchbar_history_navigation.html diff --git a/src/public/app/doc_notes/launchbar_history_navigation.html b/src/public/app/doc_notes/launchbar_history_navigation.html new file mode 100644 index 000000000..bf4411572 --- /dev/null +++ b/src/public/app/doc_notes/launchbar_history_navigation.html @@ -0,0 +1,3 @@ +

Back and Forward buttons allow you to move in the navigation history.

+ +

These launchers are active only in the desktop build and will be ignored in the server edition where you can use the native browser navigation buttons instead.

diff --git a/src/services/hidden_subtree.js b/src/services/hidden_subtree.js index b97baf4a8..df3bbc984 100644 --- a/src/services/hidden_subtree.js +++ b/src/services/hidden_subtree.js @@ -175,8 +175,10 @@ const HIDDEN_SUBTREE_DEFINITION = { isExpanded: true, attributes: [ { type: 'label', name: 'docName', value: 'launchbar_intro' } ], children: [ - { id: '_lbBackInHistory', title: 'Go to Previous Note', type: 'launcher', builtinWidget: 'backInHistoryButton', icon: 'bx bxs-left-arrow-square' }, - { id: '_lbForwardInHistory', title: 'Go to Next Note', type: 'launcher', builtinWidget: 'forwardInHistoryButton', icon: 'bx bxs-right-arrow-square' }, + { id: '_lbBackInHistory', title: 'Go to Previous Note', type: 'launcher', builtinWidget: 'backInHistoryButton', icon: 'bx bxs-left-arrow-square', + attributes: [ { type: 'label', name: 'docName', value: 'launchbar_history_navigation' } ]}, + { id: '_lbForwardInHistory', title: 'Go to Next Note', type: 'launcher', builtinWidget: 'forwardInHistoryButton', icon: 'bx bxs-right-arrow-square', + attributes: [ { type: 'label', name: 'docName', value: 'launchbar_history_navigation' } ]}, { id: '_lbBackendLog', title: 'Backend Log', type: 'launcher', targetNoteId: '_backendLog', icon: 'bx bx-terminal' }, ] },