8000 Preserve edits made during Save and Save As by DominikPalo · Pull Request #16 · DominikPalo/OOXML-Toolkit · GitHub
[go: up one dir, main page]

Skip to content

Preserve edits made during Save and Save As - #16

Merged
DominikPalo merged 2 commits into
mainfrom
bugfix/preserve-edits-during-save
Oct 7, 2026
Merged

DominikPalo merged 2 commits into
mainfrom
bugfix/preserve-edits-during-save

Conversation

@DominikPalo
Copy link
Copy Markdown
Owner

Typing during Save or Save As could be discarded when completion rebased the older serialized snapshot. Save now records the captured model version and preserves the live state of parts changed while writing, including undo and structural edits. Remaining edits stay dirty, and close flows stay open until they are saved.

Validation: 169 unit tests pass, including pending Save/Save As and undo/add/delete regressions. Type checking and the production build pass.

@chatgpt-codex-connector
chatgpt-codex-connector Bot commented Oct 7, 2026 •
Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-07T09:12:38.741398Z ec75d35 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ec75d35148

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/core/package/model.ts Resolved
A part that the saved snapshot lacks but that was restored (undo) while
the write was pending is no longer in the new baseline archive, so
carrying it across rebase() appended it last. For ODF that moved
`mimetype` away from the first slot and failed the entry-order check.

rebase() now records the entry each such part followed, and names(),
entryOrder() and serialize() share one layout that writes it back right
after that entry.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@DominikPalo
DominikPalo merged commit 2418b80 into main Oct 7, 2026
1 check 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

0