From ae2b9d12790edb1ba029104d591bfb64817fd860 Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Sat, 23 Nov 2024 22:46:47 +0100 Subject: [PATCH 1/3] feat(StatusPanel): change tab text to icons Signed-off-by: Stefan Dej --- src/components/panels/StatusPanel.vue | 34 +++++++++++++++++++-------- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/src/components/panels/StatusPanel.vue b/src/components/panels/StatusPanel.vue index d0a3833bb..cfe40b7ec 100644 --- a/src/components/panels/StatusPanel.vue +++ b/src/components/panels/StatusPanel.vue @@ -89,11 +89,15 @@ - {{ $t('Panels.StatusPanel.Status') }} - {{ $t('Panels.StatusPanel.Files') }} + + {{ mdiSpeedometer }} + + + {{ mdiFileDocumentMultipleOutline }} + - {{ $t('Panels.StatusPanel.Jobqueue') }} + {{ mdiTrayFull }} @@ -133,16 +137,19 @@ import Panel from '@/components/ui/Panel.vue' import { mdiAlertOutline, mdiBroom, + mdiCloseCircle, + mdiDotsVertical, + mdiFileDocumentMultipleOutline, mdiInformation, + mdiLayersPlus, + mdiMessageProcessingOutline, mdiPause, mdiPlay, mdiPrinter, mdiSelectionRemove, + mdiSpeedometer, mdiStop, - mdiMessageProcessingOutline, - mdiCloseCircle, - mdiLayersPlus, - mdiDotsVertical, + mdiTrayFull, } from '@mdi/js' import { PrinterStateMacro } from '@/store/printer/types' import CancelJobDialog from '@/components/dialogs/CancelJobDialog.vue' @@ -162,11 +169,14 @@ import CancelJobDialog from '@/components/dialogs/CancelJobDialog.vue' }, }) export default class StatusPanel extends Mixins(BaseMixin) { - mdiInformation = mdiInformation - mdiMessageProcessingOutline = mdiMessageProcessingOutline + mdiAlertOutline = mdiAlertOutline mdiCloseCircle = mdiCloseCircle mdiDotsVertical = mdiDotsVertical - mdiAlertOutline = mdiAlertOutline + mdiFileDocumentMultipleOutline = mdiFileDocumentMultipleOutline + mdiInformation = mdiInformation + mdiMessageProcessingOutline = mdiMessageProcessingOutline + mdiSpeedometer = mdiSpeedometer + mdiTrayFull = mdiTrayFull declare $refs: { bigThumbnail: any @@ -428,4 +438,8 @@ export default class StatusPanel extends Mixins(BaseMixin) { border-bottom-left-radius: inherit; border-bottom-right-radius: inherit; } + +.theme--dark.v-tabs > .v-tabs-bar .v-tab:not(.v-tab--active) > .v-badge > .v-icon { + color: rgba(255, 255, 255, 0.6); +} From 48ab0effe428b8b02b5f404b315199b2982cbc23 Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Sat, 23 Nov 2024 22:51:10 +0100 Subject: [PATCH 2/3] locale(en): remove unused keys Signed-off-by: Stefan Dej --- src/locales/en.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/locales/en.json b/src/locales/en.json index 36b87a326..d3816b0de 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -748,10 +748,8 @@ }, "Filament": "Filament", "File": "File", - "Files": "Files", "Flow": "Flow", "Headline": "Status", - "Jobqueue": "Job Queue", "JobqueueMoreFiles": "no more jobs | one more job | {count} more jobs", "Layer": "Layer", "Max": "max", @@ -776,7 +774,6 @@ "ResumePrint": "Resume print", "Slicer": "Slicer", "Speed": "Speed", - "Status": "Status", "Total": "Total", "Unknown": "Unknown" }, From bac9cb7782746c40f17d3ed01cd60f533d80dff5 Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Sat, 23 Nov 2024 22:51:39 +0100 Subject: [PATCH 3/3] locale(de): remove unused keys Signed-off-by: Stefan Dej --- src/locales/de.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/locales/de.json b/src/locales/de.json index 6369e0dab..52f43740c 100644 --- a/src/locales/de.json +++ b/src/locales/de.json @@ -741,10 +741,8 @@ }, "Filament": "Filament", "File": "Datei", - "Files": "Dateien", "Flow": "Fluss", "Headline": "Status", - "Jobqueue": "Warteschlange", "JobqueueMoreFiles": "keine weiteren Aufträge | einen weiteren Auftrag | {count} weitere Aufträge", "Layer": "Schicht", "Max": "max", @@ -769,7 +767,6 @@ "ResumePrint": "Druck fortführen", "Slicer": "Slicer", "Speed": "Geschwindigkeit", - "Status": "Status", "Total": "Gesamt", "Unknown": "Unbekannt" },