Q183: unsaved input is kept across pages, and leaving or closing asks before losing it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-09 07:30:13 -04:00
1 parent 3f8832702e
commit 2790d88186
27 files changed
+351 -41

No files matched your search

+1
View File
@@ -9,6 +9,7 @@ function invoke<T>(channel: string, payload?: unknown): Promise<T> {
const api: DesktopApi = {
loadSnapshot: () => invoke(IPC_CHANNELS.loadSnapshot),
relaunchApp: () => invoke(IPC_CHANNELS.relaunchApp),
reportUnsaved: (input) => invoke(IPC_CHANNELS.reportUnsaved, input),
saveOnboardingDraft: (input) => invoke(IPC_CHANNELS.saveOnboardingDraft, input),
completeSetup: (input) => invoke(IPC_CHANNELS.completeSetup, input),
runningSessionCount: () => invoke(IPC_CHANNELS.runningSessionCount),