Phase 2: GEDCOM import/export #12

Merged
justin merged 2 commits from phase2-gedcom into main 2026-06-06 22:46:50 -04:00
Owner

GEDCOM parser + importer (INDI/FAM/SOUR -> people/relationships/events/sources/citations) + exporter, with an import-into-new-tree UI.

GEDCOM parser + importer (INDI/FAM/SOUR -> people/relationships/events/sources/citations) + exporter, with an import-into-new-tree UI.
justin added 2 commits 2026-06-06 22:46:49 -04:00
A pragmatic GEDCOM parser + mapper: import reads INDI/FAM/SOUR and creates people, names, life events, partnership + qualified parent-child relationships, marriage events, places (deduped), sources, and citations from SOUR refs — returning a mapping report (counts + unmapped tags). Export serializes the tree back to GEDCOM (families derived from the edge model). Import is additive (no merge) and runs inline for now. Round-trip test passes; 29 tests total.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Justin Paul <justin@jpaul.me>
An Import/Export page (sidebar) that defaults to importing into a NEW tree to avoid duplicating existing people, with an explicit 'append to this tree' option (warned), a mapping-report display (counts + skipped tags), and a one-click .ged export download.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Justin Paul <justin@jpaul.me>
justin merged commit b13fafd624 into main 2026-06-06 22:46:50 -04:00
Sign in to join this conversation.