mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-14 19:27:05 -04:00
Merge pull request #1176 from tylerjenningsw/fix/report-workspace-save-errors
This commit is contained in:
commit
6e47aa3f00
7 files changed
+232
-11
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user