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 Alerts table inspect modal incomplete title #156488

Merged
merged 1 commit into from
May 4, 2023

Conversation

machadoum
Copy link
Member

@machadoum machadoum commented May 3, 2023

issue: #156267

Summary

Add a title to "Alerts Table inspect modal".

BEFORE

Screenshot 2023-05-03 at 15 55 58

AFTER

Screenshot 2023-05-03 at 15 58 30

@machadoum machadoum added bug Fixes for quality problems that affect the customer experience release_note:skip Skip the PR/issue when compiling release notes Team:Threat Hunting Security Solution Threat Hunting Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Threat Hunting:Explore v8.8.0 labels May 3, 2023
@machadoum machadoum requested a review from a team as a code owner May 3, 2023 09:15
@machadoum machadoum self-assigned this May 3, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-threat-hunting (Team:Threat Hunting)

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

@machadoum machadoum marked this pull request as draft May 3, 2023 09:15
@kibana-ci
Copy link
Collaborator

💚 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
triggersActionsUi 1.4MB 1.4MB +210.0B
Unknown metric groups

ESLint disabled line counts

id before after diff
enterpriseSearch 19 21 +2
securitySolution 399 402 +3
total +5

Total ESLint disabled count

id before after diff
enterpriseSearch 20 22 +2
securitySolution 479 482 +3
total +5

History

  • 💔 Build #125068 failed fb6a68999e80b8978e5826aeab88fb43131aba3d

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

cc @machadoum

@machadoum machadoum marked this pull request as ready for review May 3, 2023 13:59
@@ -200,7 +201,9 @@ const ModalInspectQueryComponent = ({ closeModal, getInspectQuery }: ModalInspec
return (
<MyEuiModal onClose={closeModal} data-test-subj="modal-inspect-euiModal">
<EuiModalHeader>
<EuiModalHeaderTitle>{i18n.INSPECT}</EuiModalHeaderTitle>
<EuiModalHeaderTitle>
{i18n.INSPECT} {title}
Copy link
Contributor

@XavierM XavierM May 3, 2023

Choose a reason for hiding this comment

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

I am wondering if we really the prop, can we just do that?

Suggested change
{i18n.INSPECT} {title}
{i18n.INSPECT} {ALERTS_TABLE_TITLE}

Copy link
Contributor

Choose a reason for hiding this comment

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

I am wrong here!!!, if we want to re-use this component, we need to do what you did!

@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.8

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request May 4, 2023
issue: elastic#156267

## Summary

Add a title to "Alerts Table inspect modal".

**BEFORE**

<img width="751" alt="Screenshot 2023-05-03 at 15 55 58"
src="https://user-images.githubusercontent.com/1490444/235937998-caedf8f5-6645-440f-af1d-8618e8012d8b.png">

**AFTER**

<img width="769" alt="Screenshot 2023-05-03 at 15 58 30"
src="https://user-images.githubusercontent.com/1490444/235938006-6c303f9d-8b81-43d0-b536-ae23f1f5bfd1.png">

(cherry picked from commit c1d76f8)
kibanamachine added a commit that referenced this pull request May 4, 2023
)

# Backport

This will backport the following commits from `main` to `8.8`:
- [Fix Alerts table inspect modal incomplete title
(#156488)](#156488)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Pablo
Machado","email":"pablo.nevesmachado@elastic.co"},"sourceCommit":{"committedDate":"2023-05-04T08:09:05Z","message":"Fix
Alerts table inspect modal incomplete title (#156488)\n\nissue:
https://github.com/elastic/kibana/issues/156267\r\n\r\n##
Summary\r\n\r\nAdd a title to \"Alerts Table inspect
modal\".\r\n\r\n**BEFORE**\r\n\r\n<img width=\"751\" alt=\"Screenshot
2023-05-03 at 15 55
58\"\r\nsrc=\"https://user-images.githubusercontent.com/1490444/235937998-caedf8f5-6645-440f-af1d-8618e8012d8b.png\">\r\n\r\n**AFTER**\r\n\r\n<img
width=\"769\" alt=\"Screenshot 2023-05-03 at 15 58
30\"\r\nsrc=\"https://user-images.githubusercontent.com/1490444/235938006-6c303f9d-8b81-43d0-b536-ae23f1f5bfd1.png\">","sha":"c1d76f8b4745334ff37491914b37c80c18dbfbeb","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:Threat
Hunting","Team: SecuritySolution","Team:Threat
Hunting:Explore","v8.8.0","v8.9.0"],"number":156488,"url":"https://github.com/elastic/kibana/pull/156488","mergeCommit":{"message":"Fix
Alerts table inspect modal incomplete title (#156488)\n\nissue:
https://github.com/elastic/kibana/issues/156267\r\n\r\n##
Summary\r\n\r\nAdd a title to \"Alerts Table inspect
modal\".\r\n\r\n**BEFORE**\r\n\r\n<img width=\"751\" alt=\"Screenshot
2023-05-03 at 15 55
58\"\r\nsrc=\"https://user-images.githubusercontent.com/1490444/235937998-caedf8f5-6645-440f-af1d-8618e8012d8b.png\">\r\n\r\n**AFTER**\r\n\r\n<img
width=\"769\" alt=\"Screenshot 2023-05-03 at 15 58
30\"\r\nsrc=\"https://user-images.githubusercontent.com/1490444/235938006-6c303f9d-8b81-43d0-b536-ae23f1f5bfd1.png\">","sha":"c1d76f8b4745334ff37491914b37c80c18dbfbeb"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/156488","number":156488,"mergeCommit":{"message":"Fix
Alerts table inspect modal incomplete title (#156488)\n\nissue:
https://github.com/elastic/kibana/issues/156267\r\n\r\n##
Summary\r\n\r\nAdd a title to \"Alerts Table inspect
modal\".\r\n\r\n**BEFORE**\r\n\r\n<img width=\"751\" alt=\"Screenshot
2023-05-03 at 15 55
58\"\r\nsrc=\"https://user-images.githubusercontent.com/1490444/235937998-caedf8f5-6645-440f-af1d-8618e8012d8b.png\">\r\n\r\n**AFTER**\r\n\r\n<img
width=\"769\" alt=\"Screenshot 2023-05-03 at 15 58
30\"\r\nsrc=\"https://user-images.githubusercontent.com/1490444/235938006-6c303f9d-8b81-43d0-b536-ae23f1f5bfd1.png\">","sha":"c1d76f8b4745334ff37491914b37c80c18dbfbeb"}}]}]
BACKPORT-->

Co-authored-by: Pablo Machado <pablo.nevesmachado@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience release_note:skip Skip the PR/issue when compiling release notes Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Threat Hunting:Explore Team:Threat Hunting Security Solution Threat Hunting Team v8.8.0 v8.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants