-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[APM] Agent configuration - EuiMarkdownFormat when rendering setting description #141086
[APM] Agent configuration - EuiMarkdownFormat when rendering setting description #141086
Conversation
Pinging @elastic/apm-ui (Team:APM) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for fixing it. LGTM I just a comment
@@ -163,7 +164,7 @@ export function SettingFormRow({ | |||
} | |||
description={ | |||
<> | |||
{setting.description} | |||
<ReactMarkdown>{setting.description}</ReactMarkdown> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI: Eui
has a formatter that renders the markdown and it seems to be used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it looks nice 🤩 !
EuiMarkdownFormat
is labeled as beta but it was released on 28.0.0 - more than 2 years ago, so I think we won't have any issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
b5c0a7a
to
0faffbe
Compare
…-ref HEAD~1..HEAD --fix'
💚 Build Succeeded
Metrics [docs]Async chunks
To update your PR or re-run it, just comment with: |
closes 61285
EuiMarkdownFormat
component to render setting description.Before this change
After this change