-
-
Notifications
You must be signed in to change notification settings - Fork 0
[Logic] Implement Workspace Persistence #31
Copy link
Copy link
Closed
Description
Ticket 1.2: [Logic] Implement Workspace Persistence
Title: Persist Monitor State and Selection across VS Code Sessions
Description:
The ail Monitor currently resets every time VS Code is restarted. We need to use the VS Code Memento API to ensure the user's workspace configuration is remembered.
Tasks:
- Implement
ExtensionContext.workspaceStateto cache the URI of the last-selected.ail.yamlfile. - Automatically re-load the last active pipeline upon VS Code startup or View expansion.
- (Optional) Persist UI-specific toggles (e.g., which sections were expanded in the Monitor) using the
view.descriptionor internal state flags.
Opus Planning Prompt:
"Design a persistence layer for
ailusingvscode.Memento. Specify which keys should be stored inworkspaceState(e.g.,lastActivePipelinePath,expandedSections). Plan the 'Rehydration' logic that runs when theWebviewViewProvideris initialized so the user returns to their exact previous state."
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels