From 5b99504f73a3931151e1e7edca8957c53a7d2230 Mon Sep 17 00:00:00 2001
From: filtered <176114999+webfiltered@users.noreply.github.com>
Date: Sat, 7 Dec 2024 23:32:13 +1100
Subject: [PATCH 1/4] Add generic default button for unknown dialogs
---
.../dialog/content/ConfirmationDialogContent.vue | 10 +++++++++-
src/locales/en.json | 1 +
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/src/components/dialog/content/ConfirmationDialogContent.vue b/src/components/dialog/content/ConfirmationDialogContent.vue
index 81feebd9c..f545e6e0b 100644
--- a/src/components/dialog/content/ConfirmationDialogContent.vue
+++ b/src/components/dialog/content/ConfirmationDialogContent.vue
@@ -26,7 +26,7 @@
@click="onConfirm"
icon="pi pi-save"
/>
-
+
+
+
diff --git a/src/locales/en.json b/src/locales/en.json
index afb48b8b1..f487c9ac5 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -136,6 +136,7 @@
"save": "Save",
"no": "No",
"cancel": "Cancel",
+ "close": "Close",
"overwrite": "Overwrite",
"customize": "Customize",
"experimental": "BETA",
From 6cc86ef20782542d7aefec5e4aabaac35d4ade09 Mon Sep 17 00:00:00 2001
From: filtered <176114999+webfiltered@users.noreply.github.com>
Date: Sat, 7 Dec 2024 23:33:59 +1100
Subject: [PATCH 2/4] Add reinstall confirmation dialog
---
.../dialog/content/ConfirmationDialogContent.vue | 10 +++++++++-
src/extensions/core/electronAdapter.ts | 15 +++++++++++----
src/services/dialogService.ts | 8 +++++++-
3 files changed, 27 insertions(+), 6 deletions(-)
diff --git a/src/components/dialog/content/ConfirmationDialogContent.vue b/src/components/dialog/content/ConfirmationDialogContent.vue
index f545e6e0b..a5a07b6ed 100644
--- a/src/components/dialog/content/ConfirmationDialogContent.vue
+++ b/src/components/dialog/content/ConfirmationDialogContent.vue
@@ -35,6 +35,13 @@
/>
+