Skip to content

Conversation

@palmer-cl
Copy link
Collaborator

@palmer-cl palmer-cl commented Jan 14, 2026

PR Summary

What

  • Fixes threading for tracked‑change comments for Google Docs and Word

Why

  • Google Docs expects tracked‑change comment anchors to live inside w:ins/w:del spans, especially for replace
    suggestions. Without this, comments appear as normal highlights instead of threaded tracked‑change comments.
  • Word uses specific file structure

How

  • Range‑based comment markers now wrap with tracked‑change elements when marks are present.
  • Export preparation detects comments on tracked‑change spans and inserts range markers with appropriate trackInsert/
    trackDelete marks.
  • Tests verify wrapper behavior and replace‑case mark placement.

chittolinag and others added 3 commits January 12, 2026 21:15
* feat: added permStart/permEnd translators and schema

* chore: removed logs

* feat: allow editing sections with permStart/permEnd

* feat: added highlight for permStart/permEnd

* fix: show permStart/permEnd highlights in other document modes

* fix: edge cases

* refactor: removed unused class

* refactor: removed unused code

* fix: overlay styles

* refactor: removed unused code

* chore: change permission island background color

* feat: allow users in permStart/permEnd

* fix: infinite loop

* chore: small code tweaks

* chore: added docs

* chore: added docs

* refactor: rename functions

* chore: rename test

* chore: simplified code

* fix: tests

* fix: tests

* chore: removed unused fns
@linear
Copy link

linear bot commented Jan 14, 2026

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

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: 8337c9e315

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

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.

3 participants