Skip to content

fix: preserve project drafts when browser storage rejects a save - #10

Merged
HsukqiLee merged 1 commit into
mainfrom
fix/project-save-failure
Nov 16, 2026
Merged

HsukqiLee merged 1 commit into
mainfrom
fix/project-save-failure

Conversation

@HsukqiLee

Copy link
Copy Markdown
Contributor

When browser storage rejected a project save, the project dialog still closed as though the operation succeeded. The editor now returns the actual persistence result, marks failed saves as unsaved, and the dialog keeps the draft and presents the existing storage error when saving fails.

The new browser scenario uses the production Vite/Vue UI and the browser Storage boundary. It failed before the change because the dialog disappeared. It now passes failed-save visibility, draft retention, JSON backup, successful retry and persistence after reload. Lint and both production builds passed locally.

No new API field, dependency or general error framework was added. Existing non-dialog callers continue receiving the editor notice. This addresses F1, the remaining save-feedback finding in parent #1. Full CI must pass before merge.

@HsukqiLee
HsukqiLee merged commit c81da1a into main Nov 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant