Repository navigation
feat(notifications): Render markdown sections in the debug previewer - #133321
Open
sentry-junior[bot] wants to merge 1 commit into
Open
sentry-junior[bot] wants to merge 1 commit into
sentry-junior[bot] wants to merge 1 commit into
Conversation
The notification platform is getting a markdown section type for comment notifications. Render it with MarkedText so /debug/notifications shows the comment instead of skipping it. Co-Authored-By: Grant Patterson <82265+hobzcalvin@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
hobzcalvin
marked this pull request as ready for review
December 3, 2026 00:49
hobzcalvin
approved these changes
Dec 3, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#133114 adds a
markdownsection type to the notification platform, and the comment notification template now puts the comment in one. The/debug/notificationspreviewer skips section types it doesn't know, so it would show no comment at all.NotificationBodyRenderernow rendersmarkdownsections withMarkedText, which sanitizes the HTML. It joins the section's text blocks with newlines, as the backend does. The Slack, Discord, and Teams previews all use this renderer.Until #133114 deploys, no template sends a
markdownsection, so this changes nothing on its own. Either PR can land first.via @hobzcalvin.
--
View Session [Sentry]