Skip to content

feat(chat-message): remove contentFormatter in favor of content projection - #2584

Open
dr-itz wants to merge 6 commits into
mainfrom
feat/chat/remove-contentFormatter
Open

feat(chat-message): remove contentFormatter in favor of content projection#2584
dr-itz wants to merge 6 commits into
mainfrom
feat/chat/remove-contentFormatter

Conversation

@dr-itz

@dr-itz dr-itz commented Aug 18, 2026

Copy link
Copy Markdown
Member

@dr-itz dr-itz changed the title Feat/chat/remove content formatter feat(chat-message): remove contentFormatter in favor of content projection Aug 18, 2026
@dr-itz

dr-itz commented Aug 18, 2026

Copy link
Copy Markdown
Member Author

@Killusions @robertwilde @spliffone WDYT?

@dr-itz
dr-itz force-pushed the feat/chat/remove-contentFormatter branch from 4ea2456 to e210c14 Compare August 18, 2026 20:47
@Killusions

Copy link
Copy Markdown
Member

Makes sense with the new Markdown renderer.

@spliffone spliffone left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I love it, the changes make totally sense and improve the security.

Comment thread projects/element-ng/schematics/ng-update/index.spec.ts Outdated
Comment thread projects/element-ng/schematics/ng-update/index.spec.ts Outdated
@dr-itz
dr-itz marked this pull request as ready for review August 19, 2026 14:53
@dr-itz
dr-itz requested review from a team as code owners August 19, 2026 14:53
@dr-itz
dr-itz force-pushed the feat/chat/remove-contentFormatter branch 2 times, most recently from 5eaeeb3 to f4fa912 Compare August 22, 2026 00:59
@dr-itz dr-itz added the breaking-changes Marks issues and PRs that are breaking the API label Aug 23, 2026
@dr-itz

dr-itz commented Aug 23, 2026

Copy link
Copy Markdown
Member Author

And the follow-up will be removing si-markdown-renderer. Or should I fold into this PR?

@spike-rabbit

Copy link
Copy Markdown
Member

@spliffone any more comments on this one, or can I proceed and merge?

@dr-itz I think since this is ready, lets remove it in a follow-up.

Comment thread projects/element-ng/chat-messages/si-ai-message.component.spec.ts
Comment thread projects/element-ng/chat-messages/si-user-message.component.spec.ts
@dr-itz
dr-itz force-pushed the feat/chat/remove-contentFormatter branch from f4fa912 to 5ec38fc Compare August 25, 2026 12:15
@dr-itz

dr-itz commented Aug 25, 2026

Copy link
Copy Markdown
Member Author

since there were two comments to address regarding testing, I folded the removal of si-markdown-renderer into this one. with schematics.

…enderer

BREAKING CHANGE: si-markdown-renderer and getMarkdownRenderer have been
removed in favor of the new si-markdown component.
@dr-itz
dr-itz force-pushed the feat/chat/remove-contentFormatter branch from 5ec38fc to 70156ba Compare August 25, 2026 13:43
@kfenner

kfenner commented Aug 26, 2026

Copy link
Copy Markdown
Member

@dr-itz This is awesome, I don't have anything to comment regarding the code changes.

However, I think non of these commits should be feat. We already have the BREAKING CHANGE notes, we don't need to see the same things under "Features". And for schematics, do we really announce these as features? I'd expect that's more some chore thing, no?

/cc @spike-rabbit WDYT?

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

Labels

breaking-changes Marks issues and PRs that are breaking the API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants