Repository navigation
Add project topic ZIP export and import - #11
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds project-level Export and Import actions to the web UI. Export opens the normal list filters and search with checkbox selection retained across searches/pages, then downloads a ZIP containing selected topics, related parent/merge records, complete history and attachment files. Import previews the dataset and appends new numbered copies atomically without overwriting existing topics.
Imported relationships and attachment links are remapped. Historical commands remain inert provenance and imported builds require local registration. Archives enforce format, path, size, checksum and reference validation; exact repeat imports are refused.
Validation: 11 focused archive tests, 1 protected HTTP integration, Node dialog behavior checks, existing UI refresh checks, Python compile and JS syntax checks pass. Review regressions were reproduced red before corrections for malformed plans/empty status, child-bearing merge undo, stale submission closing a reopened dialog, malformed activity, unresolved attachment references and partial file writes. Two independent full-diff reviews completed; all six findings corrected with red/green regression evidence. Added 21 passing existing attachment/seed checks. Full suite runs on CI; browser visual acceptance, real desk transfers, release and installed plugin updates were not run.
Pair Desk: PD-18. Documentation: docs/topic-transfer.md.