Skip to content

feat(seer): Render night shift triage reason as markdown#120138

Draft
trevor-e wants to merge 2 commits into
masterfrom
telkins/night-shift-reason-pre-line
Draft

feat(seer): Render night shift triage reason as markdown#120138
trevor-e wants to merge 2 commits into
masterfrom
telkins/night-shift-reason-pre-line

Conversation

@trevor-e

@trevor-e trevor-e commented Jul 20, 2026

Copy link
Copy Markdown
Member

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 plain Text element 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.

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>
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jul 20, 2026
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>
@trevor-e trevor-e changed the title fix(seer): Preserve line breaks in night shift triage reason feat(seer): Render night shift triage reason as markdown Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant