Merge pull request #1176 from tylerjenningsw/fix/report-workspace-save-errors

This commit is contained in:
Brandon Thomas committed 2026-10-13 04:29:16 -04:00
commit 6e47aa3f00
7 files changed
+232 -11

No files matched your search

+6
View File
@@ -84,6 +84,12 @@ errors. Unreadable, invalid or newer files leave the default workspace available
preserved for the entire session, including after later layout changes. Load and save errors
appear in the status message and the nullable
`workspaceStorageError` field; a failed write remains eligible for retry.
`window.saveWorkspace`, `window.saveWorkspaceAs` and `window.editWorkspaces` (rename, delete)
write the file immediately. Through `ui.menu.invoke` they return an error when it isn't written
(a failed write, a file preserved after a failed load, or no configuration store);
`engine.execute` hands them to the UI and returns `{frontend}` first, so check
`workspaceStorageError` there. The changed workspaces still apply for the session, and a later
save retries them.
## Input