Skip to content

Fix hover Action showing for zero Count on D&R Dashboard#158902

Merged
machadoum merged 1 commit intoelastic:mainfrom
machadoum:siem-explore-158057
Jun 2, 2023
Merged

Fix hover Action showing for zero Count on D&R Dashboard#158902
machadoum merged 1 commit intoelastic:mainfrom
machadoum:siem-explore-158057

Conversation

@machadoum
Copy link
Member

@machadoum machadoum commented Jun 2, 2023

issue: #158057

Summary

Remove hover actions from the table when the count of alerts is zero.

BEFORE

Jun-02-2023 11-02-16

AFTER
Jun-02-2023 11-03-14

Checklist

@machadoum machadoum self-assigned this Jun 2, 2023
@machadoum machadoum added Team:Threat Hunting Security Solution Threat Hunting Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Threat Hunting:Explore bug Fixes for quality problems that affect the customer experience release_note:fix labels Jun 2, 2023
@machadoum machadoum marked this pull request as ready for review June 2, 2023 09:05
@machadoum machadoum requested a review from a team as a code owner June 2, 2023 09:05
@elasticmachine
Copy link
Contributor

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

@elasticmachine
Copy link
Contributor

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

@kibana-ci
Copy link

💚 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 9.4MB 9.4MB +184.0B
Unknown metric groups

ESLint disabled line counts

id before after diff
enterpriseSearch 19 21 +2
securitySolution 415 419 +4
total +6

Total ESLint disabled count

id before after diff
enterpriseSearch 20 22 +2
securitySolution 499 503 +4
total +6

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

cc @machadoum

Copy link
Contributor

@angorayc angorayc left a comment

Choose a reason for hiding this comment

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

Tested locally, LGTM! Thank you Pablo 👍

@machadoum machadoum merged commit a4889b4 into elastic:main Jun 2, 2023
@kibanamachine kibanamachine added v8.9.0 backport:skip This PR does not require backporting labels Jun 2, 2023
@machadoum machadoum added v8.8.1 and removed backport:skip This PR does not require backporting labels Jun 2, 2023
machadoum added a commit to machadoum/kibana that referenced this pull request Jun 2, 2023
)

issue: elastic#158057
## Summary

Remove hover actions from the table when the count of alerts is zero.

**BEFORE**

![Jun-02-2023
11-02-16](https://github.com/elastic/kibana/assets/1490444/e1e17b61-1311-40b1-beb0-3756f51dc7eb)

**AFTER**
![Jun-02-2023
11-03-14](https://github.com/elastic/kibana/assets/1490444/41340076-716d-42b0-89ad-1b6216c6439a)

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

(cherry picked from commit a4889b4)
@machadoum
Copy link
Member Author

💚 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

@machadoum machadoum removed the v8.8.1 label Jun 2, 2023
@kibanamachine kibanamachine added the backport:skip This PR does not require backporting label Jun 2, 2023
machadoum added a commit to machadoum/kibana that referenced this pull request Jun 6, 2023
)

issue: elastic#158057
## Summary

Remove hover actions from the table when the count of alerts is zero.

**BEFORE**

![Jun-02-2023
11-02-16](https://github.com/elastic/kibana/assets/1490444/e1e17b61-1311-40b1-beb0-3756f51dc7eb)

**AFTER**
![Jun-02-2023
11-03-14](https://github.com/elastic/kibana/assets/1490444/41340076-716d-42b0-89ad-1b6216c6439a)

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

(cherry picked from commit a4889b4)
@machadoum
Copy link
Member Author

💚 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

machadoum added a commit that referenced this pull request Jun 7, 2023
…) (#159108)

# Backport

This will backport the following commits from `main` to `8.8`:
- [Fix hover Action showing for zero Count on D&R Dashboard
(#158902)](#158902)

<!--- 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-06-02T11:42:15Z","message":"Fix
hover Action showing for zero Count on D&R Dashboard (#158902)\n\nissue:
https://github.com/elastic/kibana/issues/158057\r\n##
Summary\r\n\r\nRemove hover actions from the table when the count of
alerts is
zero.\r\n\r\n**BEFORE**\r\n\r\n![Jun-02-2023\r\n11-02-16](https://github.com/elastic/kibana/assets/1490444/e1e17b61-1311-40b1-beb0-3756f51dc7eb)\r\n\r\n\r\n**AFTER**\r\n![Jun-02-2023\r\n11-03-14](https://github.com/elastic/kibana/assets/1490444/41340076-716d-42b0-89ad-1b6216c6439a)\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"a4889b48517ea79974a2eca584f0c7273a6f032a","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","backport:skip","Team:Threat
Hunting","Team: SecuritySolution","Team:Threat
Hunting:Explore","v8.9.0","v8.8.2"],"number":158902,"url":"https://github.com/elastic/kibana/pull/158902","mergeCommit":{"message":"Fix
hover Action showing for zero Count on D&R Dashboard (#158902)\n\nissue:
https://github.com/elastic/kibana/issues/158057\r\n##
Summary\r\n\r\nRemove hover actions from the table when the count of
alerts is
zero.\r\n\r\n**BEFORE**\r\n\r\n![Jun-02-2023\r\n11-02-16](https://github.com/elastic/kibana/assets/1490444/e1e17b61-1311-40b1-beb0-3756f51dc7eb)\r\n\r\n\r\n**AFTER**\r\n![Jun-02-2023\r\n11-03-14](https://github.com/elastic/kibana/assets/1490444/41340076-716d-42b0-89ad-1b6216c6439a)\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"a4889b48517ea79974a2eca584f0c7273a6f032a"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/158902","number":158902,"mergeCommit":{"message":"Fix
hover Action showing for zero Count on D&R Dashboard (#158902)\n\nissue:
https://github.com/elastic/kibana/issues/158057\r\n##
Summary\r\n\r\nRemove hover actions from the table when the count of
alerts is
zero.\r\n\r\n**BEFORE**\r\n\r\n![Jun-02-2023\r\n11-02-16](https://github.com/elastic/kibana/assets/1490444/e1e17b61-1311-40b1-beb0-3756f51dc7eb)\r\n\r\n\r\n**AFTER**\r\n![Jun-02-2023\r\n11-03-14](https://github.com/elastic/kibana/assets/1490444/41340076-716d-42b0-89ad-1b6216c6439a)\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"a4889b48517ea79974a2eca584f0c7273a6f032a"}},{"branch":"8.8","label":"v8.8.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@mistic
Copy link
Contributor

mistic commented Jun 8, 2023

This PR backport didn't make it into the latest BC for 8.8.1. Updating the labels.

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

Labels

backport:skip This PR does not require backporting bug Fixes for quality problems that affect the customer experience release_note:fix Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Threat Hunting Security Solution Threat Hunting Team v8.8.2 v8.9.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants