feat: add temperatures to gcode files list (#1017)

Co-authored-by: th33xitus <th33xitus@googlemail.com>
This commit is contained in:
Stefan Dej 2022-08-12 10:21:05 +02:00 committed by GitHub
parent f55b58a2a9
commit 1f71d2dbbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 40 additions and 10 deletions

View File

@ -544,7 +544,7 @@ interface tableColumnSetting {
sortable?: boolean
class?: string
pos?: number
outputType?: 'string' | 'date' | 'length' | 'weight' | 'filesize' | 'time'
outputType?: 'string' | 'date' | 'length' | 'weight' | 'filesize' | 'temp' | 'time'
}
@Component({
@ -716,6 +716,27 @@ export default class GcodefilesPanel extends Mixins(BaseMixin, ControlMixin) {
class: 'text-no-wrap',
outputType: 'length',
},
{
text: this.$t('Files.ExtruderTemp').toString(),
value: 'first_layer_extr_temp',
visible: true,
class: 'text-no-wrap',
outputType: 'temp',
},
{
text: this.$t('Files.BedTemp').toString(),
value: 'first_layer_bed_temp',
visible: true,
class: 'text-no-wrap',
outputType: 'temp',
},
{
text: this.$t('Files.ChamberTemp').toString(),
value: 'chamber_temp',
visible: true,
class: 'text-no-wrap',
outputType: 'temp',
},
{
text: this.$t('Files.FilamentName').toString(),
value: 'filament_name',

View File

@ -154,7 +154,9 @@
"Files": {
"AddToQueue": "Zur Auftragswarteschlange hinzufügen",
"AllFiles": "Alle",
"BedTemp": "Bett Temp.",
"Cancel": "Abbrechen",
"ChamberTemp": "Kammer Temp.",
"Create": "Erstellen",
"CreateNewDirectory": "Ordner erstellen",
"CurrentPath": "Aktueller Pfad",
@ -165,6 +167,7 @@
"Download": "Herunterladen",
"EditFile": "Datei bearbeiten",
"Empty": "Leer",
"ExtruderTemp": "Extruder Temp.",
"Filament": "Filament",
"FilamentName": "Filament Name",
"FilamentType": "Filament Typ",
@ -256,6 +259,9 @@
"ErrorKlipperNotReady": "Klipper nicht bereit. Heightmap deaktiviert.",
"Flat": "Flach",
"Heightmap": "Heightmap",
"InvalidNameAlreadyExists": "Das Profil existiert bereits, bitte wähle einen anderen Profilnamen.",
"InvalidNameEmpty": "Feld darf nicht leer sein!",
"InvalidNameReserved": "Das Profil 'default' ist reserviert, bitte wähle einen anderen Profilnamen.",
"Later": "später",
"Mesh": "Mesh",
"Name": "Name",
@ -268,9 +274,6 @@
"RemoveSaveDescription": "Das Löschen des Höhenprofils wurde registriert. Mit einem Klick auf SAVE_CONFIG wird es aus der printer.cfg gelöscht und Klipper neu gestartet.",
"Rename": "umbenennen",
"RenameBedMeshProfile": "Bed Mesh umbenennen",
"InvalidNameEmpty": "Feld darf nicht leer sein!",
"InvalidNameReserved": "Das Profil 'default' ist reserviert, bitte wähle einen anderen Profilnamen.",
"InvalidNameAlreadyExists": "Das Profil existiert bereits, bitte wähle einen anderen Profilnamen.",
"SAVE_CONFIG": "SAVE_CONFIG",
"ScaleGradient": "Farbverlauf skalieren",
"ScaleZMax": "Skaliere z-max.",
@ -284,6 +287,7 @@
"AllJobs": "Alle",
"AvgPrinttime": "Druckzeit - Ø",
"Cancel": "abbrechen",
"ChamberTemp": "Kammer Temp.",
"CreateNote": "Notiz anlegen",
"Delete": "Löschen",
"DeleteSelectedQuestion": "Sollen wirklich {count} ausgewählte Jobs gelöscht werden?",
@ -757,8 +761,8 @@
"CalcPrintProgressDescription": "Methode zur Berechnung des Druckfortschritts.",
"CalcPrintProgressItems": {
"Filament": "Filament",
"FileRelative": "Dateiposition (relativ)",
"FileAbsolute": "Dateiposition (absolut)",
"FileRelative": "Dateiposition (relativ)",
"Slicer": "Slicer (M73)"
},
"CannotReadJson": "Sicherungsdatei kann nicht gelesen/analysiert werden.",

View File

@ -154,7 +154,9 @@
"Files": {
"AddToQueue": "Add to Queue",
"AllFiles": "All",
"BedTemp": "Bed Temp.",
"Cancel": "Cancel",
"ChamberTemp": "Chamber Temp.",
"Create": "Create",
"CreateNewDirectory": "Create new Directory",
"CurrentPath": "Current path",
@ -165,6 +167,7 @@
"Download": "Download",
"EditFile": "Edit File",
"Empty": "Empty",
"ExtruderTemp": "Extruder Temp.",
"Filament": "Filament",
"FilamentName": "Filament Name",
"FilamentType": "Filament Type",
@ -256,6 +259,9 @@
"ErrorKlipperNotReady": "Klipper not ready. Heightmap disabled.",
"Flat": "Flat",
"Heightmap": "Heightmap",
"InvalidNameAlreadyExists": "Profile name already exists, please choose another profile name.",
"InvalidNameEmpty": "Input must not be empty!",
"InvalidNameReserved": "Profile 'default' is reserved, please choose another profile name.",
"Later": "Later",
"Mesh": "Mesh",
"Name": "Name",
@ -268,9 +274,6 @@
"RemoveSaveDescription": "The bed_mesh profile has been registered as deleted. Click on SAVE_CONFIG to remove it from the printer.cfg and restart Klipper.",
"Rename": "rename",
"RenameBedMeshProfile": "Rename Bed Mesh Profile",
"InvalidNameEmpty": "Input must not be empty!",
"InvalidNameReserved": "Profile 'default' is reserved, please choose another profile name.",
"InvalidNameAlreadyExists": "Profile name already exists, please choose another profile name.",
"SAVE_CONFIG": "SAVE_CONFIG",
"ScaleGradient": "Scale gradient",
"ScaleZMax": "Scale z-max.",
@ -284,6 +287,7 @@
"AllJobs": "All",
"AvgPrinttime": "Print Time - Ø",
"Cancel": "Cancel",
"ChamberTemp": "Chamber Temp.",
"CreateNote": "Create Note",
"Delete": "Delete",
"DeleteSelectedQuestion": "Do you really want to delete {count} selected jobs?",
@ -646,6 +650,7 @@
},
"SelectPrinterDialog": {
"AddPrinter": "Add Printer",
"AddPrintersToJson": "Please add the Printers to the config.json.",
"CannotConnectTo": "Cannot connect to {host}.",
"ChangePrinter": "Change Printer",
"Connecting": "Connecting to {host}",
@ -655,7 +660,6 @@
"HostnameInvalid": "invalid Hostname/IP",
"HostnameIp": "Hostname/IP",
"HostnameRequired": "Hostname is required",
"AddPrintersToJson": "Please add the Printers to the config.json.",
"Port": "Port",
"PortRequired": "Port is required",
"RememberToAdd": "Please remember to add '{cors}' in moonraker.conf within 'cors_domains'.",
@ -757,8 +761,8 @@
"CalcPrintProgressDescription": "Method for calculating the print progress.",
"CalcPrintProgressItems": {
"Filament": "Filament",
"FileRelative": "File position (relative)",
"FileAbsolute": "File position (absolute)",
"FileRelative": "File position (relative)",
"Slicer": "Slicer (M73)"
},
"CannotReadJson": "Cannot read/parse backup file.",

View File

@ -50,6 +50,7 @@ export const allowedMetadata = [
'nozzle_diameter',
'first_layer_bed_temp',
'first_layer_extr_temp',
'chamber_temp',
'first_layer_height',
'gcode_end_byte',
'gcode_start_byte',