-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Alerting][Docs] Moved alerting links from hard-coded to documentation link service. #92953
[Alerting][Docs] Moved alerting links from hard-coded to documentation link service. #92953
Conversation
Pinging @elastic/kibana-alerting-services (Team:Alerting Services) |
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.
LGTM! Just one comment about updating the links to the stack alerts pages.
@@ -56,7 +56,7 @@ export const EmailActionConnectorFields: React.FunctionComponent< | |||
)} | |||
helpText={ | |||
<EuiLink | |||
href={`${docLinks.ELASTIC_WEBSITE_URL}guide/en/kibana/${docLinks.DOC_LINK_VERSION}/email-action-type.html#configuring-email`} | |||
href={`${docLinks.links.alerting.emailAction}#configuring-email`} |
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.
href={
${docLinks.links.alerting.emailAction}#configuring-email
}
I think the downside of putting the section anchor here instead of adding a new keyword in the doc link service, is that if the section is removed or changed, our link checking won't catch it. I think in cases where the section no longer exists, the link will default to the top of the page. If that's acceptable, then this is an okay implementation.
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.
I will change it to have an own link - I think it's better to maintain 👍
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.
Changes LGTM!
x-pack/plugins/triggers_actions_ui/public/application/components/health_check.tsx
Outdated
Show resolved
Hide resolved
…ts/health_check.tsx Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
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.
LGTM!
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.
LGTM, thanks!
💚 Build SucceededMetrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: cc @YulNaumenko |
…n link service. (elastic#92953) * [Alerting][Docs] Moved alerting links from hard-coded to documentation link service * fixed due to comments * Update x-pack/plugins/triggers_actions_ui/public/application/components/health_check.tsx Co-authored-by: Mike Côté <mikecote@users.noreply.github.com> * fixed jest tests * fixed due to comments Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
…n link service. (elastic#92953) * [Alerting][Docs] Moved alerting links from hard-coded to documentation link service * fixed due to comments * Update x-pack/plugins/triggers_actions_ui/public/application/components/health_check.tsx Co-authored-by: Mike Côté <mikecote@users.noreply.github.com> * fixed jest tests * fixed due to comments Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
…n link service. (#92953) (#93321) * [Alerting][Docs] Moved alerting links from hard-coded to documentation link service * fixed due to comments * Update x-pack/plugins/triggers_actions_ui/public/application/components/health_check.tsx Co-authored-by: Mike Côté <mikecote@users.noreply.github.com> * fixed jest tests * fixed due to comments Co-authored-by: Mike Côté <mikecote@users.noreply.github.com> Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
…n link service. (#92953) (#93322) * [Alerting][Docs] Moved alerting links from hard-coded to documentation link service * fixed due to comments * Update x-pack/plugins/triggers_actions_ui/public/application/components/health_check.tsx Co-authored-by: Mike Côté <mikecote@users.noreply.github.com> * fixed jest tests * fixed due to comments Co-authored-by: Mike Côté <mikecote@users.noreply.github.com> Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
Resolves #88231