From ced16fbc1b1c274aee4fb41b406cf65fa2468a1c Mon Sep 17 00:00:00 2001 From: Martin <36079537+steadyjaw@users.noreply.github.com> Date: Sat, 13 Nov 2021 16:07:15 +0100 Subject: [PATCH] feat: new design of the web UI (#408) * refactor(appbar): change buttons to new design * refactor(appbar): change height and add pritnername * refactor: small sidebar * refactor(vuetify): define parts of the mainsail theme and expose colors to css Signed-off-by: steadyjaw * refactor: ui settings add missing divider Signed-off-by: steadyjaw * refactor: add farm printer selection and menu to new top and sidebar, added icons to version-tooltip Signed-off-by: steadyjaw * refactor: make topbar buttons hideable via ui settings Signed-off-by: steadyjaw * refactor: move miniConsole buttons to toolbar and make'em collapsible Signed-off-by: steadyjaw * refactor: set matching colors for buttons on console page Signed-off-by: steadyjaw * refactor: use colornames from theme and set play/resume button to green Signed-off-by: steadyjaw * fix: correct visibility of hide buttons on collapse Signed-off-by: steadyjaw * feature: add virtual tab button to console-input on touch devices Signed-off-by: steadyjaw * refactor: remove hide e-stop button setting Signed-off-by: steadyjaw * fix: add reactivity to hide upload and print button functionality Signed-off-by: steadyjaw * refactor: move logo to topbar and clip menu under topbar Signed-off-by: steadyjaw * refactor: remove unused TheSidebarPrinterMenu Signed-off-by: steadyjaw * feature: create and add about component to sidebar ...no dialog on click yet Signed-off-by: steadyjaw * fix: correct appearance of the close icon from interface settings dialog Signed-off-by: steadyjaw * Revert "fix: correct appearance of the close icon from interface settings dialog" This reverts commit f66e29d4f2da5d576bc22c35adfcd26bd1670ff7. --- public/img/klipper.svg | 113 +++++++++++++ src/components/CommandHelpModal.vue | 23 ++- src/components/TheSettingsMenu.vue | 2 +- src/components/TheSidebar.vue | 153 ++++++++---------- src/components/TheSidebarPrinterMenu.vue | 84 ---------- src/components/TheTopCornerMenu.vue | 2 +- src/components/TheTopbar.vue | 67 ++++++-- src/components/mixins/base.ts | 4 + src/components/modals/AboutModal.vue | 86 ++++++++++ src/components/panels/MiniconsolePanel.vue | 37 +++-- src/components/panels/StatusPanel.vue | 8 +- .../settings/SettingsUiSettingsTab.vue | 24 +++ src/components/ui/Panel.vue | 7 +- src/components/ui/PrinterSelector.vue | 66 ++++++++ src/locales/en.json | 4 + src/pages/Console.vue | 2 + src/plugins/vuetify.ts | 11 +- src/store/gui/actions.ts | 8 + src/store/gui/index.ts | 1 + src/store/gui/mutations.ts | 4 + 20 files changed, 497 insertions(+), 209 deletions(-) create mode 100644 public/img/klipper.svg delete mode 100644 src/components/TheSidebarPrinterMenu.vue create mode 100644 src/components/modals/AboutModal.vue create mode 100644 src/components/ui/PrinterSelector.vue diff --git a/public/img/klipper.svg b/public/img/klipper.svg new file mode 100644 index 00000000..c8125b81 --- /dev/null +++ b/public/img/klipper.svg @@ -0,0 +1,113 @@ + +image/svg+xml + + + + + + + \ No newline at end of file diff --git a/src/components/CommandHelpModal.vue b/src/components/CommandHelpModal.vue index 5e0a567c..ac4adc96 100644 --- a/src/components/CommandHelpModal.vue +++ b/src/components/CommandHelpModal.vue @@ -7,14 +7,19 @@ :fullscreen="isMobile" >