Skip to content

1065-burmese-bib-project-duplicate-cells-issue#1066

Open
LeviXIII wants to merge 4 commits into
mainfrom
1065-burmese-bib-project-duplicate-cells-issue
Open

1065-burmese-bib-project-duplicate-cells-issue#1066
LeviXIII wants to merge 4 commits into
mainfrom
1065-burmese-bib-project-duplicate-cells-issue

Conversation

@LeviXIII

@LeviXIII LeviXIII commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Summary

Add collision guard and merge logic for duplicate cell IDs in migration process

Closes #1065

Changes

  • This update introduces a new function to merge cells with duplicate IDs during the migration of cell IDs to UUIDs.
  • It ensures that cells with the same logical ID are combined, preserving order and edit history, to prevent duplicates from being emitted during the migration process.
  • Additionally, a one-time repair sweep is added to clean up any existing duplicates across notebooks, enhancing data integrity.

Test Checklist

  • A file with a heading in both old and new ID form ends up with one cell after migration.
  • Running the migration twice changes nothing the second time.
  • The surviving merged cell keeps its edit history and validations.
  • A file that's already fully converted is left untouched.
  • After repair, navigating every chapter of GEN/EXO/LEV/NUM/DEU shows no duplicate screen.

…on process

- This update introduces a new function to merge cells with duplicate IDs during the migration of cell IDs to UUIDs.
- It ensures that cells with the same logical ID are combined, preserving order and edit history, to prevent duplicates from being emitted during the migration process.
- Additionally, a one-time repair sweep is added to clean up any existing duplicates across notebooks, enhancing data integrity.
@LeviXIII LeviXIII linked an issue Jun 23, 2026 that may be closed by this pull request
10 tasks
@LeviXIII

Copy link
Copy Markdown
Contributor Author

/build

@github-actions

Copy link
Copy Markdown

@LeviXIII

Copy link
Copy Markdown
Contributor Author

/build

@github-actions

Copy link
Copy Markdown

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.

Burmese bib project: duplicate cells issue

1 participant