Skip to content

Conversation

@palmer-cl
Copy link
Collaborator

  • The document nodes are the source of truth for what appears in the editor, so they should define the comment text.
  • Also keep the fallbacks
  • added tests
image

@linear
Copy link

linear bot commented Feb 4, 2026

Copy link
Contributor

@caio-pizzol caio-pizzol left a comment

Choose a reason for hiding this comment

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

clean one @palmer-cl!

the only addition I would say here is that in this case, it also impacts rendering and interactions with the editor. we should definitely write interaction stories and upload a sample file for visual testing.

@palmer-cl
Copy link
Collaborator Author

@caio-pizzol added VRTs and updated comments.

Copy link
Contributor

@afn afn left a comment

Choose a reason for hiding this comment

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

LGTM, just one minor nit

Comment on lines +884 to +885
// safety net for identity dedupe
// work is done above
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the previous comment ("Remove duplicates by comparing node identity") was clearer

@caio-pizzol caio-pizzol self-requested a review February 12, 2026 18:59
Copy link
Contributor

@caio-pizzol caio-pizzol left a comment

Choose a reason for hiding this comment

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

LGTM -

Missing behavior tests - I will add them later

@caio-pizzol caio-pizzol merged commit c41cf9e into main Feb 12, 2026
3 checks passed
@caio-pizzol caio-pizzol deleted the colep/sd-1739-bug-tracked-changes-replacements-duplicate-last-character branch February 12, 2026 19:44
@palmer-cl
Copy link
Collaborator Author

@caio-pizzol dont the VRT screenshot tests have the behavior embedded in them? we have to perform the user actions before taking the screenshot?

@superdoc-bot
Copy link

superdoc-bot bot commented Feb 12, 2026

🎉 This PR is included in superdoc v1.13.0-next.2

The release is available on GitHub release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Comment box shows extra letter when adding in suggesting mode

4 participants