Repository navigation
Fixes #34243: standardise Data Product card descriptions to plain text - #34244
Conversation
… to plain text Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
✅ PR checks passedThe linked issue has a description and all required Shipping project fields set. Thanks! |
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
Code Review ✅ Approved 1 closed / 1 findings🟡 Medium risk · Card previews and shared markdown stripping now normalize description text and whitespace. Standardizes Data Product card descriptions to plain text, clamped to two lines, so cards display consistently regardless of markdown formatting. Fixes word-break loss between HTML blocks by improving ✅ 1 closed✅ Bug: HTML block descriptions lose word breaks between paragraphs/list items
OptionsDisplay: compact → Counting what did not apply, without listing it. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
|



Closes #34243
On the Data Products listing page in card view, each card previewed its description with the full markdown rendered. A product whose description opens with a heading, or contains a table or a code block, dominated the row while its plain-text neighbours looked empty — the grid read as messy rather than as a catalogue.
Card previews are now standardised: every description is shown as plain text, clamped to two lines, with the existing View more affordance when it overflows. The preview no longer varies with how the author chose to format their description.
Scope is the card grid only. The data product details page still renders the description as authored, with all formatting intact — as do domain cards, which use a different renderer and were not part of the report.
Not included: a dedicated short summary field (optionally AI-generated from the description) for the card, which was raised alongside this. That is a schema change and is left for its own discussion.
Screen.Recording.2026-09-30.at.12.13.34.AM.mov
Testing
Seeded data products with heading-led, table-bearing, code-block-bearing and plain descriptions, and confirmed every card previews identically on the listing page while the details page is unchanged. Unit tests cover the plain-text preview and the empty-description placeholder.
🤖 Generated with Claude Code