Skip to content
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

Fix link to open new window #131930

Merged
merged 3 commits into from
May 11, 2022
Merged

Fix link to open new window #131930

merged 3 commits into from
May 11, 2022

Conversation

mashi-mashi
Copy link
Contributor

Summary

This PR is a correction to the front-end link.
Added external to props to open new window.

fix #131872

@mashi-mashi mashi-mashi requested a review from a team as a code owner May 10, 2022 14:38
@kibanamachine
Copy link
Contributor

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@cla-checker-service
Copy link

cla-checker-service bot commented May 10, 2022

💚 CLA has been signed

Copy link
Contributor

@jughosta jughosta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mashi-mashi Thanks for taking care of it!

@@ -409,7 +409,7 @@ export function DiscoverFieldSearch({ onChange, value, types, presentFieldTypes
defaultMessage: 'Learn more about',
})}
 
<EuiLink href={docLinks.links.discover.fieldTypeHelp}>
<EuiLink href={docLinks.links.discover.fieldTypeHelp} target="_blank" external>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would great to move the dot out of the link and the localized FormattedMessage to prevent this view:
Screenshot 2022-05-11 at 10 02 09

<FormattedMessage
    id="discover.fieldTypesPopover.fieldTypesDocLinkLabel"
    defaultMessage="field types"
/>

@mashi-mashi
Copy link
Contributor Author

@jughosta
Thanks. I've revised the part you reviewed.
7cd7f30

@jughosta jughosta added Feature:Discover Discover Application release_note:fix backport:skip This commit does not require backporting v8.3.0 and removed Feature:Discover Discover Application release_note:fix backport:skip This commit does not require backporting v8.3.0 labels May 11, 2022
@jughosta
Copy link
Contributor

buildkite test this
@elasticmachine run elasticsearch-ci/docs

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #41 / rules security and spaces enabled: basic ruleRegistryAlertsSearchStrategy logs should return alerts from log rules

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
discover 405.4KB 405.5KB +36.0B

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Contributor

@jughosta jughosta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jughosta jughosta merged commit 2434c0e into elastic:main May 11, 2022
academo pushed a commit to academo/kibana that referenced this pull request May 12, 2022
* Fix link to open new window

* Fix review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting 💝community Feature:Discover Discover Application release_note:fix v8.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Learn about field types should open in a new window/tab
4 participants