From 7785c21cb50eba5bfe6f2dfb6985c13c62bf1dfa Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Wed, 4 Sep 2024 20:43:53 +0200 Subject: [PATCH] refactor: refactor machine settings panel Signed-off-by: Stefan Dej --- .../MachineSettings/MachineSettingsPanel.vue | 32 --- .../panels/MachineSettings/MotionSettings.vue | 164 --------------- .../panels/MachineSettingsPanel.vue | 186 ++++++++++++++++++ src/pages/Dashboard.vue | 2 +- 4 files changed, 187 insertions(+), 197 deletions(-) delete mode 100644 src/components/panels/MachineSettings/MachineSettingsPanel.vue delete mode 100644 src/components/panels/MachineSettings/MotionSettings.vue create mode 100644 src/components/panels/MachineSettingsPanel.vue diff --git a/src/components/panels/MachineSettings/MachineSettingsPanel.vue b/src/components/panels/MachineSettings/MachineSettingsPanel.vue deleted file mode 100644 index 8b2bdb823..000000000 --- a/src/components/panels/MachineSettings/MachineSettingsPanel.vue +++ /dev/null @@ -1,32 +0,0 @@ - - - diff --git a/src/components/panels/MachineSettings/MotionSettings.vue b/src/components/panels/MachineSettings/MotionSettings.vue deleted file mode 100644 index 315290a08..000000000 --- a/src/components/panels/MachineSettings/MotionSettings.vue +++ /dev/null @@ -1,164 +0,0 @@ - - - diff --git a/src/components/panels/MachineSettingsPanel.vue b/src/components/panels/MachineSettingsPanel.vue new file mode 100644 index 000000000..f2fc497dd --- /dev/null +++ b/src/components/panels/MachineSettingsPanel.vue @@ -0,0 +1,186 @@ + + + diff --git a/src/pages/Dashboard.vue b/src/pages/Dashboard.vue index 6d8d7d326..2b531c980 100644 --- a/src/pages/Dashboard.vue +++ b/src/pages/Dashboard.vue @@ -85,7 +85,7 @@ import { Mixins } from 'vue-property-decorator' import ExtruderControlPanel from '@/components/panels/ExtruderControlPanel.vue' import DashboardMixin from '@/components/mixins/dashboard' import KlippyStatePanel from '@/components/panels/KlippyStatePanel.vue' -import MachineSettingsPanel from '@/components/panels/MachineSettings/MachineSettingsPanel.vue' +import MachineSettingsPanel from '@/components/panels/MachineSettingsPanel.vue' import MacrogroupPanel from '@/components/panels/MacrogroupPanel.vue' import MacrosPanel from '@/components/panels/MacrosPanel.vue' import MiniconsolePanel from '@/components/panels/MiniconsolePanel.vue'