mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 23:35:50 +01:00
launchbar WIP
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user