Skip to content

fix[email]: sending emails with appended replies#601

Merged
peterchinman merged 5 commits intomainfrom
peter/appended-replies
Dec 15, 2025
Merged

fix[email]: sending emails with appended replies#601
peterchinman merged 5 commits intomainfrom
peter/appended-replies

Conversation

@peterchinman
Copy link
Copy Markdown
Contributor

If the user appended thread replies in the email input, these appended replies would get included in macro_body, and then would be preferentially displayed in the email message body. This is incorrect: we want appended replies to be hidden behind ellipsis button.

To accomplish this I created a Lexical transformer for the macro-quote nodes that we use for appended replies. This allows us to serialize the macro-quote nodes to markdown, allowing us to remove them from macro-body.

Copy link
Copy Markdown
Contributor

@dev-rb dev-rb left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Contributor

@sedson sedson left a comment

Choose a reason for hiding this comment

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

lgtm - lets merge if this fixes but could circle back cleanup/clarify whether this is embedding html strings or markdown

@peterchinman peterchinman merged commit cef5fe0 into main Dec 15, 2025
19 checks passed
@peterchinman peterchinman deleted the peter/appended-replies branch December 15, 2025 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants