Skip to content

[Security Solution][Detections] Follow up cleanup after two bugfixes#87516

Merged
banderror merged 2 commits intoelastic:masterfrom
banderror:follow-up-cleanup
Jan 6, 2021
Merged

[Security Solution][Detections] Follow up cleanup after two bugfixes#87516
banderror merged 2 commits intoelastic:masterfrom
banderror:follow-up-cleanup

Conversation

@banderror
Copy link
Copy Markdown
Contributor

Summary

This is a follow-up PR addressing some of the comments in:

Checklist

For maintainers

@banderror banderror added refactoring v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.11.0 v7.12.0 Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. labels Jan 6, 2021
@banderror banderror requested a review from a team January 6, 2021 16:18
@banderror banderror self-assigned this Jan 6, 2021
@banderror banderror requested review from a team as code owners January 6, 2021 16:18
Comment on lines +19 to +36
export const ExternalLink: FC<ExternalLinkProps> = ({ url, children, ariaLabel }) => {
if (!children) {
return null;
}

return (
<EuiLink href={url} aria-label={ariaLabel} external target="_blank" rel="noopener">
{text}
</EuiLink>
<EuiToolTip content={url} position="top" data-test-subj="externalLinkTooltip">
<EuiLink
href={url}
aria-label={ariaLabel}
external
target="_blank"
rel="noopener"
data-test-subj="externalLink"
>
{children}
</EuiLink>
</EuiToolTip>
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This guy needs unification with ExternalLink component from x-pack/plugins/security_solution/public/common/components/links/index.tsx. I'll create a ticket for that and address separately targeting 7.12+, because this change can touch too many things in the UI.

@banderror banderror changed the title [SecuritySolution][Detections] Follow up cleanup after two bugfixes [Security Solution][Detections] Follow up cleanup after two bugfixes Jan 6, 2021
Copy link
Copy Markdown
Contributor

@rylnd rylnd left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

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
securitySolution 8.5MB 8.5MB +302.0B

Distributable file count

id before after diff
default 47262 48025 +763

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

@banderror banderror merged commit e50ad38 into elastic:master Jan 6, 2021
banderror added a commit to banderror/kibana that referenced this pull request Jan 6, 2021
…lastic#87516)

## Summary

This is a follow-up PR addressing some of the comments in:

- elastic#86908
- elastic#87004
banderror added a commit to banderror/kibana that referenced this pull request Jan 6, 2021
…lastic#87516)

## Summary

This is a follow-up PR addressing some of the comments in:

- elastic#86908
- elastic#87004
@banderror banderror deleted the follow-up-cleanup branch January 6, 2021 18:50
banderror added a commit that referenced this pull request Jan 7, 2021
…87516) (#87549)

## Summary

This is a follow-up PR addressing some of the comments in:

- #86908
- #87004
banderror added a commit that referenced this pull request Jan 7, 2021
…87516) (#87550)

## Summary

This is a follow-up PR addressing some of the comments in:

- #86908
- #87004
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactoring release_note:skip Skip the PR/issue when compiling release notes Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v7.11.0 v7.12.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants