VectorCraft: closing an untouched drawing writes nothing. Release 0.8.1. #16
Loading…
Reference in a new issue
No description provided.
Delete branch "vectorcraft-clean-open"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Opening a VectorCraft drawing and closing it without an edit showed the "unsaved changes" dialog.
Cause. The host sends
flushbefore every close. The control adapter answered every flush with a save, so an untouched drawing was always written back (an SVG in VectorCraft's own form). Whenever that save was refused (lifecycle, read-only session, busy path), the session counted as unsaved and the discard dialog appeared.Fix (
shim/limedoc-shim.js). Flush now:This also covers the untouched EffectCraft import that the old
asNewcheck handled.Smoke (real builds):
deno task test:artcraft: 123/123.Release 0.8.1.
🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.