diff --git a/.idea/misc.xml b/.idea/misc.xml
index 8524fae44..ea0feb595 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -3,7 +3,7 @@
-
+
\ No newline at end of file
diff --git a/src/public/app/layouts/desktop_layout.js b/src/public/app/layouts/desktop_layout.js
index d36e15982..5cab44cf4 100644
--- a/src/public/app/layouts/desktop_layout.js
+++ b/src/public/app/layouts/desktop_layout.js
@@ -78,6 +78,7 @@ import OptionsDialog from "../widgets/dialogs/options.js";
import FloatingButtons from "../widgets/floating_buttons/floating_buttons.js";
import RelationMapButtons from "../widgets/floating_buttons/relation_map_buttons.js";
import MermaidExportButton from "../widgets/floating_buttons/mermaid_export_button.js";
+import ShortcutContainer from "../widgets/containers/shortcut_container.js";
export default class DesktopLayout {
constructor(customWidgets) {
@@ -93,33 +94,34 @@ export default class DesktopLayout {
.id("launcher-pane")
.css("width", "53px")
.child(new GlobalMenuWidget())
- .child(new ButtonWidget()
- .icon("bx-file-blank")
- .title("New note")
- .command("createNoteIntoInbox"))
- .child(new ButtonWidget()
- .icon("bx-search")
- .title("Search")
- .command("searchNotes"))
- .child(new ButtonWidget()
- .icon("bx-send")
- .title("Jump to note")
- .command("jumpToNote"))
- .child(new OpenNoteButtonWidget()
- .targetNote('globalnotemap'))
- .child(new ButtonWidget()
- .icon("bx-history")
- .title("Show recent changes")
- .command("showRecentChanges"))
- .child(new CalendarWidget())
- .child(new SpacerWidget(40, 0))
- .child(new FlexContainer("column")
- .id("plugin-buttons")
- .contentSized())
- .child(new BookmarkButtons())
- .child(new SpacerWidget(0, 1000))
- .child(new ProtectedSessionStatusWidget())
- .child(new SyncStatusWidget())
+ .child(new ShortcutContainer())
+ // .child(new ButtonWidget()
+ // .icon("bx-file-blank")
+ // .title("New note")
+ // .command("createNoteIntoInbox"))
+ // .child(new ButtonWidget()
+ // .icon("bx-search")
+ // .title("Search")
+ // .command("searchNotes"))
+ // .child(new ButtonWidget()
+ // .icon("bx-send")
+ // .title("Jump to note")
+ // .command("jumpToNote"))
+ // .child(new OpenNoteButtonWidget()
+ // .targetNote('globalnotemap'))
+ // .child(new ButtonWidget()
+ // .icon("bx-history")
+ // .title("Show recent changes")
+ // .command("showRecentChanges"))
+ // .child(new CalendarWidget())
+ // .child(new SpacerWidget(40, 0))
+ // .child(new FlexContainer("column")
+ // .id("plugin-buttons")
+ // .contentSized())
+ // .child(new BookmarkButtons())
+ // .child(new SpacerWidget(0, 1000))
+ // .child(new ProtectedSessionStatusWidget())
+ // .child(new SyncStatusWidget())
.child(new LeftPaneToggleWidget())
)
.child(new LeftPaneContainer()
diff --git a/src/public/app/services/root_command_executor.js b/src/public/app/services/root_command_executor.js
index f87f5e7b2..e781e2c29 100644
--- a/src/public/app/services/root_command_executor.js
+++ b/src/public/app/services/root_command_executor.js
@@ -70,4 +70,8 @@ export default class RootCommandExecutor extends Component {
toggleLeftPaneCommand() {
options.toggle('leftPaneVisible');
}
+
+ showLaunchBarShortcutsCommand() {
+ appContext.tabManager.openContextWithNote('lb_root', true, null, 'lb_root');
+ }
}
diff --git a/src/public/app/widgets/buttons/global_menu.js b/src/public/app/widgets/buttons/global_menu.js
index efc0c0396..d071b8a78 100644
--- a/src/public/app/widgets/buttons/global_menu.js
+++ b/src/public/app/widgets/buttons/global_menu.js
@@ -47,6 +47,11 @@ const TPL = `