From f6873bda85a4b603bacc0ea6beb8f1dbc1af639f Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Sun, 16 Aug 2020 21:51:02 +0200 Subject: [PATCH 01/11] bugfix: toolSlider extend only by machine limits Signed-off-by: Stefan Dej --- src/components/panels/Settings/LimitsPanel.vue | 8 ++++---- src/inputs/ToolSlider.vue | 16 ++++++++++++---- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/src/components/panels/Settings/LimitsPanel.vue b/src/components/panels/Settings/LimitsPanel.vue index 6a097d53..64c23238 100644 --- a/src/components/panels/Settings/LimitsPanel.vue +++ b/src/components/panels/Settings/LimitsPanel.vue @@ -10,10 +10,10 @@ - - - - + + + + diff --git a/src/inputs/ToolSlider.vue b/src/inputs/ToolSlider.vue index 47da074f..ac3cafe8 100644 --- a/src/inputs/ToolSlider.vue +++ b/src/inputs/ToolSlider.vue @@ -58,6 +58,11 @@ required: false, default: 100 }, + extender: { + type: Boolean, + required: false, + default: false + }, multi: { type: Number, required: false, @@ -95,13 +100,16 @@ this.value = this.target * this.multi; }, value: function() { - setTimeout(() => { - this.checkExpand(); - }, 1000); + if (this.extender) { + + setTimeout(() => { + this.checkExpand(); + }, 1000); + } } }, created: function() { - if (this.value > this.variableMax) { + if (this.extender && this.value > this.variableMax) { let tmpMulti = Math.ceil((this.value - this.variableMax) / this.extenderSteps); this.variableMax += tmpMulti * this.extenderSteps; From c0472dfb30e9e23546bb17e440194d21534766a3 Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Sun, 30 Aug 2020 14:58:26 +0200 Subject: [PATCH 02/11] Update all klipper/moonraker communication to Moonraker 'August 16 2020' Version. The Klippy state is more definied and should work better now. This work is not finished! feature: display print complete with time and filament used + reprint button bugfix: Fix issue #48. Tempchart need to many load bugfix: Fix issue #46. Print time > 1 day (was a moonraker bug) + format time to "1d 1h" and not "25h" bugfix: Fix issue #39. Mainsail title will show filename Signed-off-by: Stefan Dej --- src/App.vue | 11 +- src/charts/LineChart.js | 80 ++++---- src/components/panels/ControlPanel.vue | 10 +- src/components/panels/KlippyStatePanel.vue | 10 +- src/components/panels/PeripheriePanel.vue | 18 +- .../panels/Settings/SystemPanel.vue | 12 ++ src/components/panels/StatusPanel.vue | 65 +++++-- src/components/panels/ToolsPanel.vue | 10 +- src/components/panels/ZOffsetPanel.vue | 2 +- src/pages/Dashboard.vue | 17 +- src/pages/Files.vue | 15 +- src/pages/settings/machine.vue | 6 +- src/store/actions.js | 122 +++++------- src/store/getters.js | 23 +-- src/store/index.js | 42 ++--- src/store/mutations.js | 175 ++++++++++-------- 16 files changed, 326 insertions(+), 292 deletions(-) diff --git a/src/App.vue b/src/App.vue index 07abc702..3c5ccd59 100644 --- a/src/App.vue +++ b/src/App.vue @@ -28,7 +28,7 @@ ( category.title !== 'Webcam' && category.title !== 'Heightmap' && - (is_ready || category.alwaysShow) + (klippy_state !== 'error' || category.alwaysShow) ) "> mdi-{{ category.icon }} @@ -38,7 +38,7 @@