From ad39c8d43583b74639c59c843199215d29deac3d Mon Sep 17 00:00:00 2001 From: Zsolt Viczian Date: Sat, 28 May 2022 17:50:32 +0200 Subject: [PATCH] 0.0.13 --- esbuild.config.json | 2 +- manifest.json | 2 +- src/constants/constants.ts | 2 +- src/main.ts | 29 ----------------------------- versions.json | 2 +- 5 files changed, 4 insertions(+), 33 deletions(-) diff --git a/esbuild.config.json b/esbuild.config.json index 05a6a8d..4d8647e 100644 --- a/esbuild.config.json +++ b/esbuild.config.json @@ -1,4 +1,4 @@ { - "minify": false, + "minify": true, "sourcemap": "inline" } \ No newline at end of file diff --git a/manifest.json b/manifest.json index ca52c3d..72ef008 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "excalibrain", "name": "ExcaliBrain", - "version": "0.0.12", + "version": "0.0.13", "minAppVersion": "0.14.0", "description": "A clean, intuitive and editable graph view for Obsidian", "author": "Zsolt Viczian", diff --git a/src/constants/constants.ts b/src/constants/constants.ts index 214ebc1..5057b28 100644 --- a/src/constants/constants.ts +++ b/src/constants/constants.ts @@ -2,7 +2,7 @@ import { NodeStyle, LinkStyle } from "../Types"; export const APPNAME = "ExcaliBrain"; export const PLUGIN_NAME = "excalibrain" -export const MINEXCALIDRAWVERSION = "1.6.28" +export const MINEXCALIDRAWVERSION = "1.6.33" export const PREDEFINED_LINK_STYLES = ["base","inferred","file-tree","tag-tree"]; export const SUGGEST_LIMIT = 30; diff --git a/src/main.ts b/src/main.ts index 57e9514..a9b0434 100644 --- a/src/main.ts +++ b/src/main.ts @@ -266,21 +266,6 @@ export default class ExcaliBrain extends Plugin { }, }); - this.addCommand({ - id: "excalibrain-stop-brain", - name: t("COMMAND_STOP"), - checkCallback: (checking: boolean) => { - if(checking) { - return(this.scene && !this.scene.terminated); - } - if(this.scene && !this.scene.terminated) { - this.scene.unloadScene(); - this.scene = null; - return; - } - } - }) - this.addCommand({ id: "excalibrain-open-hover", name: t("COMMAND_START_HOVER"), @@ -329,20 +314,6 @@ export default class ExcaliBrain extends Plugin { } } }) - - /* - this.addCommand({ - id: "excalibrain-search", - name: t("COMMAND_SEARCH"), - checkCallback: (checking: boolean) => { - if(checking) { - return this.scene && !this.scene.terminated; - } - this.revealBrainLeaf(); - const searchElement = this.scene.toolsPanel?.searchElement; - searchElement?.focus(); - } - })*/ } getBrainLeaf():WorkspaceLeaf { diff --git a/versions.json b/versions.json index 707193e..6334347 100644 --- a/versions.json +++ b/versions.json @@ -1,3 +1,3 @@ { - "0.0.12": "0.14.0" + "0.0.13": "0.14.0" }