Sprint 3: Confirmed Import & Safe Remapping #1
Labels
No labels
accessibility
auth
backend
bug
cleanup
database
documentation
duplicate
empty-states
enhancement
entities
epic
filtering
frontend
import-export
relationships
release
responsive
routing
search
sorting
state
tags
tests
timeline
ui
v1.1
v1.2
v1.3
v1.4
v1.5
worlds
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
foravo/milestone-proof-2-20260519050439#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Imported from GitHub issue
conorgregson/worldbuilding-codex#28.Source: https://github.com/conorgregson/worldbuilding-codex/issues/28
Original author: @conorgregson
Original state: closed
Goal
Complete the Worldbuilding Codex v1.4 import workflow by allowing users to confirm a validated import, save the imported data as a new world, and safely remap IDs so existing data is not overwritten.
This sprint completes the full world backup-and-restore style workflow for v1.4.
Context
Sprint 1 adds world JSON export.
Sprint 2 adds import validation and preview.
Sprint 3 completes the release by adding confirmed import, safe ID remapping, import success handling, and final release documentation.
The import should create a new world by default. It should not overwrite or merge into an existing world.
Scope
Suggested Route Behavior
The route should:
A successful response can return:
Suggested Import Save Order
Confirmed import should save records in a safe order:
1. Create the new world.
2. Create imported entities and store source ID to new ID mappings.
3. Create imported relationships using remapped entity IDs.
4. Create imported timeline events and store source ID to new ID mappings.
5. Create imported event participants using remapped event and entity IDs.
6. Return the newly created world ID.
This order keeps relationship and participant references intact while avoiding reuse of old exported IDs.
Acceptance Criteria
Verification Checklist
Local Verification
Production Verification
Release Verification
Out of Scope
Risks / Notes