feat(dashboard): render debug analysis content as markdown#642
Merged
zbigniewsobiecki merged 1 commit intodevfrom Mar 7, 2026
Merged
feat(dashboard): render debug analysis content as markdown#642zbigniewsobiecki merged 1 commit intodevfrom
zbigniewsobiecki merged 1 commit intodevfrom
Conversation
nhopeatall
approved these changes
Mar 7, 2026
Collaborator
nhopeatall
left a comment
There was a problem hiding this comment.
LGTM — Clean, well-scoped change. The react-markdown + @tailwindcss/typography combination is the standard approach for rendering markdown in a Tailwind-based React app. Key things verified:
- Tailwind v4 compatibility:
@tailwindcss/typographyv0.5.19 explicitly supports Tailwind v4 in its peer deps, and the@plugindirective is the correct v4 registration syntax. - Security:
react-markdownstrips raw HTML by default (norehype-rawplugin used), so there's no XSS risk even if the LLM-generated analysis content contains HTML. - Styling:
prose prose-sm dark:prose-invert max-w-noneis idiomatic usage —max-w-noneprevents unwanted width constraints,prose-smmatches the existingtext-smsizing, anddark:prose-inverthandles dark mode. - CI: All checks pass.
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.
Summary
react-markdownand@tailwindcss/typographyin the web frontend to enable proper markdown rendering@pluginCSS directive inweb/src/index.css<pre>rendering in theSectioncomponent ofdebug-analysis.tsxwith<ReactMarkdown>wrapped in a styled<div>usingprose prose-sm dark:prose-invert max-w-noneCard: https://trello.com/c/OvpXauKM/177-lets-have-debug-analysis-contents-in-dashboard-ui-rendered-and-displayed-nicely-as-markdown-since-they-are-markdown-now-they-are
Test plan
summary,issues,rootCause,timeline, andrecommendationssections render as formatted markdown (headings, lists, bold/italic text, etc.)prose-invertprovides proper readable contrast in dark modemax-w-none)🤖 Generated with Claude Code