Fix: plan description card renders markdown (v0.3.29)#32
Merged
Conversation
Since v0.3.26 plan descriptions are authored as markdown (rich text editor / MCP), but PlanDescriptionCard still rendered them as plain text — users saw literal **bold** and pipe-table syntax. Render with ReactMarkdown + remark-gfm using the same prose treatment as the asset content cards. The collapse switches from line-clamp to max-height + overflow-hidden: line-clamp is unreliable across markdown's mixed block children (tables, code blocks). Same expander behavior and overflow detection. 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.
What
Fixes the filed bug: since v0.3.26, plan descriptions are authored as markdown (rich text editor / MCP) but
PlanDescriptionCardon the plan detail page rendered them as plain text — literal**bold**and pipe-table syntax.ReactMarkdown+remark-gfmwith the same prose treatment as the asset content cards.line-clamptomax-height+overflow-hidden— line-clamp is unreliable across markdown's mixed block children (tables, code blocks). Same expander behavior and overflow detection.Verification
Drove the plan detail page with a markdown description fixture (bold + GFM table): rendered as
<strong>and<table>, no raw syntax in visible text; expander intact. Fixture reverted. 167/167 tests, tsc clean.Resolves CodePlans work item "Plan description panel shows raw markdown instead of rendering it".
🤖 Generated with Claude Code