feat(electron): added key managment ui

This commit is contained in:
2025-08-11 11:26:09 -04:00
parent d7d7615376
commit 268e4fbeae
28 changed files with 2525 additions and 247 deletions

View File

@@ -163,6 +163,14 @@ function hideSaveOptionsModal() {
elements.saveOptionsModal.classList.add('hidden');
}
// Show confirmation dialog
function showConfirmDialog(title, message) {
return new Promise((resolve) => {
const confirmed = confirm(`${title}\n\n${message}`);
resolve(confirmed);
});
}
// Initialize dependencies (called when module is loaded)
function initializeDependencies(deps) {
stateManager = deps.stateManager;
@@ -179,5 +187,6 @@ module.exports = {
checkForChanges,
updateSaveButtonVisibility,
showSaveOptionsModal,
hideSaveOptionsModal
hideSaveOptionsModal,
showConfirmDialog
};