Merge branch 'no-tour' into 'v3'

Disable tour

See merge request openflexure/openflexure-microscope-server!238
This commit is contained in:
Joe Knapper 2025-05-07 14:02:09 +00:00
commit 327a87e344

View file

@ -196,7 +196,7 @@ export default {
this.checkConnection(); this.checkConnection();
// Handle guided tour // Handle guided tour
// If the user has already completed or skipped the guided tour // If the user has already completed or skipped the guided tour
var completedTour = this.getLocalStorageObj("completedTour") || false; var completedTour = this.getLocalStorageObj("completedTour") || true;
if (!completedTour) { if (!completedTour) {
this.$tours["guidedTour"].start(); this.$tours["guidedTour"].start();
} }
@ -283,11 +283,6 @@ export default {
shortcut: "shift+↑ / shift+↓", shortcut: "shift+↑ / shift+↓",
description: "Switch tab" description: "Switch tab"
}); });
// Re-run tour
Mousetrap.bind("alt+t", () => {
this.$tours["guidedTour"].start();
});
}, },
beforeDestroy: function() { beforeDestroy: function() {