From 0441e4b73dd4de30708a6cf2860f878e6654efb4 Mon Sep 17 00:00:00 2001 From: Arno Pigeon Date: Mon, 11 Dec 2023 18:10:10 +0100 Subject: [PATCH 1/3] feat: pin files to top of gcode files list Add the ability to pin gcode files to top of dashboard file panel and gcode files view Signed-off-by: Arno Pigeon --- src/components/panels/GcodefilesPanel.vue | 24 +++++++++++++++++ src/components/panels/Status/Gcodefiles.vue | 30 +++++++++++++++++++-- src/plugins/helpers.ts | 3 +++ src/store/files/actions.ts | 2 ++ src/store/files/getters.ts | 2 ++ src/store/files/types.ts | 1 + src/store/gui/actions.ts | 16 +++++++++++ src/store/gui/index.ts | 1 + src/store/gui/mutations.ts | 10 +++++++ src/store/gui/types.ts | 1 + 10 files changed, 88 insertions(+), 2 deletions(-) diff --git a/src/components/panels/GcodefilesPanel.vue b/src/components/panels/GcodefilesPanel.vue index bd903e684..78a960322 100644 --- a/src/components/panels/GcodefilesPanel.vue +++ b/src/components/panels/GcodefilesPanel.vue @@ -239,6 +239,9 @@ +