+
+ Reprinted Files - Select from list
+
+
+
+ checklist
+
+ question_mark
+
+
+ signal_disconnected
+
+
+
+
+ {{ item.file?.path }}
+ Printer busy
+
+
+ No file is present to print again
+
+ OctoPrint cant be reached
+
+ Printer '{{ printerStore.printer(item.printerId)?.name ?? "Unknown printer" }}'
+
+
+
+
+
+
+
+
+
+
+ Submitting
+
+
+ {{ selectedItems.length }} reprint selected
+
+
Must select at least one file
+
+
+
+
+ Submit Batch Reprint
+
+
+
+
+ Close
+
+
+
+
+
diff --git a/src/components/Generic/Dialogs/dialog.constants.ts b/src/components/Generic/Dialogs/dialog.constants.ts
index da8cf04d..978f58f4 100644
--- a/src/components/Generic/Dialogs/dialog.constants.ts
+++ b/src/components/Generic/Dialogs/dialog.constants.ts
@@ -1,6 +1,8 @@
export enum DialogName {
// The JSON import dialog, which is used to import a JSON file with a printer array into the application.
BatchJsonCreate = "BatchJsonCreate",
+ // Stateful dialog meant for verifying the last printed file of each selected printer
+ BatchReprintDialog = "BatchReprintDialog",
// The YAML import and export dialog, which is used to import and export a YAML file with a printer array into and from the application.
// This YAML is for internal backup and restore only and is not compatible with external projects.
YamlImportExport = "YamlImportExport",
diff --git a/src/components/Generic/FileExplorerSideNav.vue b/src/components/Generic/FileExplorerSideNav.vue
index 4ffb644c..86deefa7 100644
--- a/src/components/Generic/FileExplorerSideNav.vue
+++ b/src/components/Generic/FileExplorerSideNav.vue
@@ -553,7 +553,7 @@ export default defineComponent({
}
this.printersStore.setMaintenanceDialogPrinter(this.storedSideNavPrinter);
- this.dialogsStore.openDialog(DialogName.PrinterMaintenanceDialog);
+ this.dialogsStore.openDialogWithContext(DialogName.PrinterMaintenanceDialog);
this.closeDrawer();
},
async refreshFiles() {
@@ -599,7 +599,7 @@ export default defineComponent({
clickSettings() {
if (!this.storedSideNavPrinter) return;
this.printersStore.setUpdateDialogPrinter(this.storedSideNavPrinter);
- this.dialogsStore.openDialog(DialogName.AddOrUpdatePrinterDialog);
+ this.dialogsStore.openDialogWithContext(DialogName.AddOrUpdatePrinterDialog);
this.closeDrawer();
},
async clickPrintFile(file: PrinterFileDto) {
diff --git a/src/components/PrinterGrid/HomeToolbar.vue b/src/components/PrinterGrid/HomeToolbar.vue
index 92c60a56..e3fb4256 100644
--- a/src/components/PrinterGrid/HomeToolbar.vue
+++ b/src/components/PrinterGrid/HomeToolbar.vue
@@ -14,13 +14,13 @@
-
+
You have no printers. Click here to start!
-
+ warning
- {{ floorStore.floorlessPrinters.length }} unplaced printer(s)!
+ {{ floorStore.floorlessPrinters.length }} unplaced printer(s)!
+