Skip to content

Export single questions without wiping output - #49

Merged
peterbjohnson merged 2 commits into
devfrom
wb/t32
Sep 20, 2026
Merged

peterbjohnson merged 2 commits into
devfrom
wb/t32

Conversation

@peterbjohnson

Copy link
Copy Markdown
Member

Two problems with writing output. Exporting deletes the output directory first, which will eventually destroy someone's work. And it always writes a whole set, when the common case is importing a single question into a set that already exists.

Done when a single question can be exported on its own, complete with its images, writing never removes files it did not create, and images still resolve after import. Every export in the test data should survive a round trip.


Workbench ticket t32.

@peterbjohnson
peterbjohnson merged commit c5e5c48 into dev Sep 20, 2026
6 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