From 6fc382393c1f3391a3d7d33cedcdd343a1272889 Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Tue, 2 Apr 2019 21:02:16 +0100 Subject: [PATCH 1/3] Fixed https://gitlab.com/openflexure/openflexure-microscope-installer/issues/2 --- installers/make.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installers/make.ps1 b/installers/make.ps1 index 1b9cf729..6205ac07 100644 --- a/installers/make.ps1 +++ b/installers/make.ps1 @@ -12,7 +12,7 @@ $wslroot = (wsl wslpath -a ("$root" -Replace '\\','\\')) mkdir "$root/release-builds/dist/$version/" echo "Gzipping PWA..." -wsl tar -czvf "$wslroot/release-builds/dist/$version/${name}_${version}_pwa.tar.gz" -C "$wslroot/dist" . +wsl tar -czvf "$wslroot/release-builds/dist/$version/${name}_${version}_web.tar.gz" -C "$wslroot/dist" . echo "Building deb packages..." wsl node "$wslhere/create-deb-x64.js" From 118ccaab6c8564ff45f9a23f92f7d087da13c38b Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Mon, 8 Apr 2019 16:19:05 +0100 Subject: [PATCH 2/3] Updated to new fast_autofocus URI --- package.json | 2 +- src/App.vue | 2 ++ src/components/paneNavigate.vue | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 864b1fbb..33530fe4 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "author": "OpenFlexure", "description": "An electron-based user client for the OpenFlexure Microscope Server", "main": "app.js", - "version": "0.1.1", + "version": "0.1.2-beta", "license": "GNU General Public License v3.0 ", "private": true, "scripts": { diff --git a/src/App.vue b/src/App.vue index f7fabcdc..2f15479d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -50,9 +50,11 @@ export default { created: function () { var context = this UIkit.util.on(document, 'hidden', '.toggle-hidden', function () { + console.log("Sidebar hidden") context.$root.$emit('globalResizePreview') }) UIkit.util.on(document, 'shown', '.toggle-hidden', function () { + console.log("Sidebar shown") context.$root.$emit('globalResizePreview') }) diff --git a/src/components/paneNavigate.vue b/src/components/paneNavigate.vue index 42130fbf..e75e8b71 100644 --- a/src/components/paneNavigate.vue +++ b/src/components/paneNavigate.vue @@ -282,7 +282,7 @@ export default { return this.$store.getters.uri + "/plugin/default/autofocus/autofocus" }, fastAutofocusApiUri: function () { - return this.$store.getters.uri + "/plugin/default/fast_autofocus/fast_autofocus" + return this.$store.getters.uri + "/plugin/default/autofocus/fast_autofocus" } } From d2899d50556107f778acb591f33bf272f151ac8d Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Mon, 8 Apr 2019 16:20:00 +0100 Subject: [PATCH 3/3] Added bug note --- src/App.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/App.vue b/src/App.vue index 2f15479d..b195fa75 100644 --- a/src/App.vue +++ b/src/App.vue @@ -50,10 +50,12 @@ export default { created: function () { var context = this UIkit.util.on(document, 'hidden', '.toggle-hidden', function () { + // BUG: This gets called every time a tab switches. Really shouldn't console.log("Sidebar hidden") context.$root.$emit('globalResizePreview') }) UIkit.util.on(document, 'shown', '.toggle-hidden', function () { + // BUG: This gets called every time a tab switches. Really shouldn't console.log("Sidebar shown") context.$root.$emit('globalResizePreview') })