feat: Implement bug reporting feature with screenshot capture

- Added a new utility for capturing screenshots on Windows.
- Introduced a bug report dialog in the frontend with fields for name, email, and bug description.
- Integrated screenshot capture functionality into the bug report dialog.
- Added localization for bug report messages in English and Italian.
- Updated package dependencies to include html2canvas for potential future use.
- Created a new UI dialog component structure for better organization and reusability.
- Enhanced the app layout to accommodate the new bug report feature.
This commit is contained in:
Flavio Fois
2026-02-05 21:38:51 +01:00
parent d9e848d3f4
commit 6a44eba7ca
22 changed files with 1176 additions and 39 deletions

View File

@@ -89,5 +89,25 @@
"mail_pdf_already_open": "The PDF is already open in another window.",
"settings_danger_debugger_protection_label": "Enable attached debugger protection",
"settings_danger_debugger_protection_hint": "This will prevent the app from being debugged by an attached debugger.",
"settings_danger_debugger_protection_info": "Info: This actions are currently not configurable and is always enabled for private builds."
"settings_danger_debugger_protection_info": "Info: This actions are currently not configurable and is always enabled for private builds.",
"bugreport_title": "Report a Bug",
"bugreport_description": "Describe what you were doing when the bug occurred and what you expected to happen instead.",
"bugreport_name_label": "Name",
"bugreport_name_placeholder": "Your name",
"bugreport_email_label": "Email",
"bugreport_email_placeholder": "your.email@example.com",
"bugreport_text_label": "Bug Description",
"bugreport_text_placeholder": "Describe the bug in detail...",
"bugreport_info": "Your message, email file (if loaded), screenshot, and system information will be included in the report.",
"bugreport_screenshot_label": "Attached Screenshot:",
"bugreport_cancel": "Cancel",
"bugreport_submit": "Submit Report",
"bugreport_submitting": "Creating report...",
"bugreport_success_title": "Bug Report Created",
"bugreport_success_message": "Your bug report has been saved to:",
"bugreport_copy_path": "Copy Path",
"bugreport_open_folder": "Open Folder",
"bugreport_close": "Close",
"bugreport_error": "Failed to create bug report.",
"bugreport_copied": "Path copied to clipboard!"
}

View File

@@ -89,5 +89,25 @@
"mail_pdf_already_open": "Il file PDF è già aperto in una finestra separata.",
"settings_danger_debugger_protection_label": "Abilita protezione da debugger",
"settings_danger_debugger_protection_hint": "Questo impedirà che il debug dell'app venga eseguito da un debugger collegato.",
"settings_danger_debugger_protection_info": "Info: Questa azione non è attualmente configurabile ed è sempre abilitata per le build private."
"settings_danger_debugger_protection_info": "Info: Questa azione non è attualmente configurabile ed è sempre abilitata per le build private.",
"bugreport_title": "Segnala un Bug",
"bugreport_description": "Descrivi cosa stavi facendo quando si è verificato il bug e cosa ti aspettavi che accadesse.",
"bugreport_name_label": "Nome",
"bugreport_name_placeholder": "Il tuo nome",
"bugreport_email_label": "Email",
"bugreport_email_placeholder": "tua.email@esempio.com",
"bugreport_text_label": "Descrizione del Bug",
"bugreport_text_placeholder": "Descrivi il bug in dettaglio...",
"bugreport_info": "Il tuo messaggio, il file email (se caricato), lo screenshot e le informazioni di sistema saranno inclusi nella segnalazione.",
"bugreport_screenshot_label": "Screenshot Allegato:",
"bugreport_cancel": "Annulla",
"bugreport_submit": "Invia Segnalazione",
"bugreport_submitting": "Creazione segnalazione...",
"bugreport_success_title": "Segnalazione Bug Creata",
"bugreport_success_message": "La tua segnalazione bug è stata salvata in:",
"bugreport_copy_path": "Copia Percorso",
"bugreport_open_folder": "Apri Cartella",
"bugreport_close": "Chiudi",
"bugreport_error": "Impossibile creare la segnalazione bug.",
"bugreport_copied": "Percorso copiato negli appunti!"
}