feat(seer): Render night shift triage reason as markdown#120138
Draft
trevor-e wants to merge 2 commits into
Draft
feat(seer): Render night shift triage reason as markdown#120138trevor-e wants to merge 2 commits into
trevor-e wants to merge 2 commits into
Conversation
Night shift triage reasons are being reformatted as newline-separated Root cause / Evidence / Fix lines, but the Text component collapses newlines by default so they still render as one paragraph. Use wrap="pre-line" to preserve the breaks; existing single-paragraph reasons are unaffected. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Triage reasons now arrive as newline-separated lines with bold Root cause / Evidence / Fix labels and backticked code identifiers (getsentry/seer#7443). Render them with MarkedText (sanitized markdown) instead of a plain Text element, doubling single newlines so each labeled line becomes its own paragraph, with inline-code styling and the same small/muted look as before. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Night shift triage reasons are being reformatted upstream (getsentry/seer#7443) as newline-separated lines with bold
**Root cause:**/**Evidence:**/**Fix:**labels and backticked code identifiers. The plainTextelement collapsed the newlines and showed markdown syntax literally, so the whole verdict rendered as one dense paragraph.The reason now renders through
MarkedText(sanitized markdown) styled to keep the previous small/muted look, with inline-code styling for backticked identifiers. Single newlines are doubled before rendering so each labeled line becomes its own paragraph — markdown would otherwise fold them back together. Existing single-paragraph reasons render essentially unchanged.