Conversation
🟡 Playwright Results — all passed (12 flaky)✅ 3973 passed · ❌ 0 failed · 🟡 12 flaky · ⏭️ 86 skipped
🟡 12 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 |
|
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 6 resolved / 6 findingsServiceDoc panel now supports admonitions and a code copy button. Resolved issues include redundant state sets, memory leaks in copy handlers, and improper parsing of node attributes. ✅ 6 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
...and 1 more resolved from earlier reviews 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 ...
https://github.com/user-attachments/assets/7346feee-5cde-4eb3-a4dc-9831a9a6a9f6

Type of change:
Checklist:
Fixes <issue-number>: <short explanation>Summary by Gitar
ServiceDocPanelto verify content rendering, section highlighting, and copy functionality.CodeBlockComponentto use Ant DesignButtonandTooltipfor the copy action.service-doc-panel.lessfor improved copy button positioning and styling.This will update automatically on new commits.