[208] Anonymitäts-Tor an allen Export-Einstiegen: Berichte, Bild-/Rendering-Exporte, CLI (--ignore-anonymity), KI-Export; Dateiname nach Wiederherstellen

This commit is contained in:
Claude committed 2026-11-14 08:31:00 +00:00
1 parent 7954ab647f
commit be000985ed
21 files changed
+260 -59

No files matched your search

+3 -1
View File
@@ -202,7 +202,7 @@ export function useProjectFileActions(
useEffect(() => offerRecovery(null), []);
const onRecoverRestore = () => {
if (!recovery) return;
openProjectOrReport(recovery.text, notify); // bleibt „ungespeichert" bis zum Speichern
if (openProjectOrReport(recovery.text, notify)) setAnonymityProjectFileName(recovery.path); // [208] bleibt „ungespeichert" bis zum Speichern
setRecovery(null);
};
const onRecoverDiscard = () => {
@@ -504,6 +504,7 @@ export function useProjectFileActions(
}
openedProjectPathRef.current = null;
savePathRef.current = null;
setAnonymityProjectFileName(null); // [208] der alte Dateiname ist kein Suchbegriff mehr
projectLockOwnedRef.current = false;
};
// Übernimmt ein per Pfad geöffnetes Projekt (Tauri-Fluss): parst, prüft grob
@@ -655,6 +656,7 @@ export function useProjectFileActions(
if (!loaded) return;
releaseCurrentProjectLock();
lastSavedProjectRef.current = loaded;
setAnonymityProjectFileName(file.name); // [208] Browser/Electron-Start: kein Pfad, aber der Dateiname
});
};
r.readAsText(file);