Q184: the page, its sections, filters and selections survive page switches and restarts

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:46:21 -04:00
1 parent 2790d88186
commit 72cf57ce3a
27 files changed
+235 -38

No files matched your search

+2
View File
@@ -126,6 +126,8 @@ export interface DesktopApi {
relaunchApp(): Promise<DesktopResult<null>>;
/** Whether typed input would be lost if the app closed now; closing asks first while it is. */
reportUnsaved(input: { unsaved: boolean }): Promise<DesktopResult<null>>;
/** Remembers one piece of where the operator was; null forgets it. */
saveViewState(input: { key: string; value: unknown }): Promise<DesktopResult<null>>;
saveOnboardingDraft(input: { draft: OnboardingDraft | null }): Promise<DesktopResult<null>>;
completeSetup(input: { orgId: string }): Promise<DesktopResult<AppSnapshot>>;
/** Every agent session running now, in every company: what a restart interrupts. */
+1
View File
@@ -2,6 +2,7 @@ export const IPC_CHANNELS = {
loadSnapshot: "agentcompany:load-snapshot",
relaunchApp: "agentcompany:relaunch-app",
reportUnsaved: "agentcompany:report-unsaved",
saveViewState: "agentcompany:save-view-state",
saveOnboardingDraft: "agentcompany:save-onboarding-draft",
completeSetup: "agentcompany:complete-setup",
runningSessionCount: "agentcompany:running-session-count",
+2
View File
@@ -73,6 +73,8 @@ export interface AppSnapshot {
uiPreferences: UiPreferences;
/** The setup wizard left unfinished, resumed on the next launch. */
onboardingDraft: OnboardingDraft | null;
/** Where the operator was: page, sections, filters and selected records, by key. */
viewState: Record<string, unknown>;
/** True while the operator has paused the autonomous run engine. */
autonomousPaused: boolean;
integrationKeys: IntegrationKeyStatus[];