Conversation
🟡 Playwright Results — all passed (22 flaky)✅ 3952 passed · ❌ 0 failed · 🟡 22 flaky · ⏭️ 86 skipped
🟡 22 flaky test(s) (passed on retry)
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
Code Review ✅ Approved 5 resolved / 5 findingsServiceDoc panel now supports admonitions and a code copy button. This update resolves issues with double markdown conversion, reference forwarding, memory leaks in the copy handler, and redundant type validation. ✅ 5 resolved✅ Bug: Admonition content is double-converted through markdown-to-HTML
✅ Bug: contentRef will always be null — NodeViewContent doesn't forward refs
✅ Edge Case: setTimeout in handleCopy not cleared on unmount
✅ Quality: ADMONITION_TYPES set is redundant — regex already constrains values
✅ Security: AdmonitionNode type attribute is not validated on parse
OptionsDisplay: compact → Showing less information. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
|



Describe your changes:
collate PR - https://github.com/open-metadata/openmetadata-collate/pull/3890
Added admonition (note/warning/tip etc.) rendering and code block copy button support to the Service Documentation panel.
Fixes #27705
I worked on ... because ...
Screen.Recording.2026-04-27.at.10.27.49.PM.mov
Type of change:
Checklist:
Fixes <issue-number>: <short explanation>Summary by Gitar
AdmonitionNodefor rendering markdown note/warning/danger/tip/info blocks in documentation panels.ADMONITION_BLOCK_REGEXandconvertAdmonitionsToHtmlutility to integrate withServiceDocPanel.CodeBlockComponentandCodeBlockWithCopyextension to provide a copy-to-clipboard button for code blocks.service-doc-panel.lessfor copy button interaction and layout.BlockEditorExtensionsClassBase.$$sectiontags, fixing image paths, and migrating legacy syntax to the new admonition format.This will update automatically on new commits.