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
feat(touch_bar): jump to note
Elian Doran9c24b891806c
diff --git a/src/public/app/components/app_context.ts b/src/public/app/components/app_context.tsindex 3e15353930..e93994fd5d 100644--- a/src/public/app/components/app_context.ts+++ b/src/public/app/components/app_context.ts@@ -241,6 +241,7 @@ export type CommandMappings = {scrollToEnd: CommandData;closeThisNoteSplit: CommandData;moveThisNoteSplit: CommandData & { isMovingLeft: boolean };+ jumpToNote: CommandData;// GeomapdeleteFromMap: { noteId: string };diff --git a/src/public/app/widgets/touch_bar.ts b/src/public/app/widgets/touch_bar.tsindex 7103c1988c..e9a7c3d4e0 100644--- a/src/public/app/widgets/touch_bar.ts+++ b/src/public/app/widgets/touch_bar.ts@@ -57,7 +57,7 @@ export default class TouchBarWidget extends Component {icon: this.#buildIcon("NSTouchBarComposeTemplate"),click: () => this.triggerCommand("createNoteIntoInbox")}),- new TouchBarSpacer({ }),+ new TouchBarSpacer({ size: "flexible" }),new TouchBarGroup({items: new TouchBar({items: [@@ -75,6 +75,11 @@ export default class TouchBarWidget extends Component {})]})+ }),+ new TouchBarSpacer({ size: "flexible" }),+ new TouchBarButton({+ icon: this.#buildIcon("NSTouchBarAddDetailTemplate"),+ click: () => this.triggerCommand("jumpToNote")})];