From 19928e32443f1f4cbb9edf5be27a84a6164381a5 Mon Sep 17 00:00:00 2001 From: steadyjaw <36079537+steadyjaw@users.noreply.github.com> Date: Sun, 14 Nov 2021 22:47:25 +0100 Subject: [PATCH] refactor: Minor changes to menu and settings tab (#411) * 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. * refactor: close ui settings on ESC and change close icon to tile Signed-off-by: steadyjaw * refactor: change font style in wide sidebar and extend width of wide menu Signed-off-by: steadyjaw * refactor: change menu style ui-settings-entry to dropdown Signed-off-by: steadyjaw * refactor: correct variablenames in locales Signed-off-by: steadyjaw * refactor: re-do menuStyle setting implementation Signed-off-by: steadyjaw --- src/components/TheSettingsMenu.vue | 4 +-- src/components/TheSidebar.vue | 28 ++++++++++++------- .../settings/SettingsUiSettingsTab.vue | 27 ++++++++++++++---- src/locales/en.json | 6 ++-- src/store/gui/index.ts | 1 + 5 files changed, 46 insertions(+), 20 deletions(-) diff --git a/src/components/TheSettingsMenu.vue b/src/components/TheSettingsMenu.vue index a103df3b..84d98f17 100644 --- a/src/components/TheSettingsMenu.vue +++ b/src/components/TheSettingsMenu.vue @@ -3,10 +3,10 @@ mdi-cogs - +