From a606d6d91012668b2f53aa479be2c59b476c0abe Mon Sep 17 00:00:00 2001 From: Ahmed Awan Date: Fri, 22 Mar 2024 17:30:29 -0500 Subject: [PATCH] refactor stores, track help mode position, only drag from header --- client/src/components/Form/FormDisplay.vue | 10 ++- .../components/Masthead/HelpModeSwitch.vue | 18 ++-- client/src/components/Panels/HelpModeText.vue | 86 ++++++++++++------- .../src/entry/analysis/modules/Analysis.vue | 5 +- .../stores/helpmode/helpModeStatusStore.js | 20 ----- .../stores/helpmode/helpModeStatusStore.ts | 32 +++++++ .../src/stores/helpmode/helpModeTextStore.js | 25 ------ .../src/stores/helpmode/helpModeTextStore.ts | 45 ++++++++++ 8 files changed, 146 insertions(+), 95 deletions(-) delete mode 100644 client/src/stores/helpmode/helpModeStatusStore.js create mode 100644 client/src/stores/helpmode/helpModeStatusStore.ts delete mode 100644 client/src/stores/helpmode/helpModeTextStore.js create mode 100644 client/src/stores/helpmode/helpModeTextStore.ts diff --git a/client/src/components/Form/FormDisplay.vue b/client/src/components/Form/FormDisplay.vue index 5bf7c3544376..293857ea4e33 100644 --- a/client/src/components/Form/FormDisplay.vue +++ b/client/src/components/Form/FormDisplay.vue @@ -16,7 +16,7 @@ @@ -22,12 +14,12 @@ function toggleEnabledStatus() {
diff --git a/client/src/components/Panels/HelpModeText.vue b/client/src/components/Panels/HelpModeText.vue index 85cc1f52445d..e5837f4606e8 100644 --- a/client/src/components/Panels/HelpModeText.vue +++ b/client/src/components/Panels/HelpModeText.vue @@ -1,38 +1,58 @@ + -