From f4ab00e1952d37a68bb9410870430c787adecaf9 Mon Sep 17 00:00:00 2001 From: Sebastian Espei Date: Tue, 14 Apr 2026 18:17:45 +0000 Subject: [PATCH 1/5] fix: add shortcuts modal from index.html --- simple-index.html | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/simple-index.html b/simple-index.html index 8925585a2..e39b5e016 100644 --- a/simple-index.html +++ b/simple-index.html @@ -215,7 +215,7 @@

Document Preview

>

- Settings + Settings

From f3939627464c396bb7a8432cb79e452d421b8cd5 Mon Sep 17 00:00:00 2001 From: Sebastian Espei Date: Tue, 14 Apr 2026 18:26:20 +0000 Subject: [PATCH 2/5] feat: extract settings modal for use in simple and normal index page --- index.html | 225 +------------------------------ simple-index.html | 225 +------------------------------ src/partials/settings-modal.html | 216 +++++++++++++++++++++++++++++ 3 files changed, 218 insertions(+), 448 deletions(-) create mode 100644 src/partials/settings-modal.html diff --git a/index.html b/index.html index a710c2473..635f20364 100644 --- a/index.html +++ b/index.html @@ -588,230 +588,7 @@

Document Preview

-
+ {{> settings-modal }}
Document Preview
- + {{> settings-modal }} From d4081497206921450742801d23c3eb3b039ced27 Mon Sep 17 00:00:00 2001 From: Sebastian Espei Date: Tue, 14 Apr 2026 18:34:38 +0000 Subject: [PATCH 3/5] feat: extract warning modal for use in simple and normal index page --- index.html | 49 +-------------------------------- simple-index.html | 49 +-------------------------------- src/partials/warning-modal.html | 43 +++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+), 96 deletions(-) create mode 100644 src/partials/warning-modal.html diff --git a/index.html b/index.html index 635f20364..b73558440 100644 --- a/index.html +++ b/index.html @@ -591,54 +591,7 @@

Document Preview

{{> settings-modal }} - + {{> warning-modal }}
Document Preview {{> settings-modal }} - + {{> warning-modal }} diff --git a/src/partials/warning-modal.html b/src/partials/warning-modal.html new file mode 100644 index 000000000..a70479d69 --- /dev/null +++ b/src/partials/warning-modal.html @@ -0,0 +1,43 @@ + + From 412bfcd96b8a3626ecc671c1a28fa1c535f0850b Mon Sep 17 00:00:00 2001 From: Sebastian Espei Date: Tue, 14 Apr 2026 19:41:47 +0000 Subject: [PATCH 4/5] feat: update warning modal buttons for internationalization support --- src/js/main.ts | 4 ++-- src/partials/warning-modal.html | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/js/main.ts b/src/js/main.ts index da8fc80a6..afda3e4a9 100644 --- a/src/js/main.ts +++ b/src/js/main.ts @@ -845,10 +845,10 @@ const init = async () => { if (confirmMode) { dom.warningCancelBtn.style.display = ''; - dom.warningConfirmBtn.textContent = 'Proceed'; + dom.warningConfirmBtn.textContent = t('warning.proceed'); } else { dom.warningCancelBtn.style.display = 'none'; - dom.warningConfirmBtn.textContent = 'OK'; + dom.warningConfirmBtn.textContent = t('alert.ok'); } const handleConfirm = () => { diff --git a/src/partials/warning-modal.html b/src/partials/warning-modal.html index a70479d69..28e7cd257 100644 --- a/src/partials/warning-modal.html +++ b/src/partials/warning-modal.html @@ -29,12 +29,14 @@

From 5cc2ec341676904a9d8a83d87b9058dfd3ac19de Mon Sep 17 00:00:00 2001 From: Sebastian Espei Date: Tue, 14 Apr 2026 19:52:42 +0000 Subject: [PATCH 5/5] feat: add compact mode and advanced settings to localization --- public/locales/de/common.json | 4 ++++ public/locales/en/common.json | 4 ++++ src/partials/settings-modal.html | 6 +++++- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/public/locales/de/common.json b/public/locales/de/common.json index ec9ebb868..4d74acb52 100644 --- a/public/locales/de/common.json +++ b/public/locales/de/common.json @@ -121,6 +121,10 @@ "resetToDefaults": "Auf Standard zurücksetzen", "fullWidthMode": "Volle Breite", "fullWidthDescription": "Verwende die volle Bildschirmbreite für alle Werkzeuge anstelle eines zentrierten Containers", + "compactMode": "Kompaktmodus", + "compactModeDescription": "Werkzeuge als kompakte Liste statt als Karten anzeigen", + "advancedSettings": "Erweiterte Einstellungen", + "advancedSettingsDescription": "Externe Verarbeitungsmodule konfigurieren (PyMuPDF, Ghostscript, CoherentPDF)", "settingsAutoSaved": "Einstellungen werden automatisch gespeichert", "clickToSet": "Klicke zum Festlegen", "pressKeys": "Tasten drücken...", diff --git a/public/locales/en/common.json b/public/locales/en/common.json index c22880eda..eb9c48aaa 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -130,6 +130,10 @@ "resetToDefaults": "Reset to Defaults", "fullWidthMode": "Full Width Mode", "fullWidthDescription": "Use the full screen width for all tools instead of a centered container", + "compactMode": "Compact Mode", + "compactModeDescription": "Display tools as a compact list instead of cards", + "advancedSettings": "Advanced Settings", + "advancedSettingsDescription": "Configure external processing modules (PyMuPDF, Ghostscript, CoherentPDF)", "settingsAutoSaved": "Settings are automatically saved", "clickToSet": "Click to set", "pressKeys": "Press keys...", diff --git a/src/partials/settings-modal.html b/src/partials/settings-modal.html index 3963a1397..4e86cde48 100644 --- a/src/partials/settings-modal.html +++ b/src/partials/settings-modal.html @@ -162,10 +162,14 @@

Advanced Settings -

+

Configure external processing modules (PyMuPDF, Ghostscript, CoherentPDF)