Skip to content

[Security Solutions] Search results deepLinks fix inconsistency#113046

Merged
semd merged 5 commits intoelastic:masterfrom
semd:107123_fix_security_search_results_consistency
Sep 29, 2021
Merged

[Security Solutions] Search results deepLinks fix inconsistency#113046
semd merged 5 commits intoelastic:masterfrom
semd:107123_fix_security_search_results_consistency

Conversation

@semd
Copy link
Copy Markdown
Contributor

@semd semd commented Sep 23, 2021

Summary

Solves: #107123

  • Put all deep links under the proper deep link group.
  • Investigate and Explore groups did not exist so deepLinks have been created (without path).
  • All deepLink ids are defined in the constants file now.

Refactor

The current approach using the base and premium entries in a separate object did not allow to have nested premium sections, which was needed since all the Investigate and Explore sub-sections needed to be moved one level deeper.
Hence, the PREMIUM_DEEP_LINK_IDS has been created and the getDeepLinks function now uses a recursive approach to build the "filtered" deep links object.

Gravacio.de.pantalla.2021-09-27.a.les.10.02.00.mov

Checklist

Delete any items that are not applicable to this PR.

@semd semd added bug Fixes for quality problems that affect the customer experience v8.0.0 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. auto-backport Deprecated - use backport:version if exact versions are needed v7.15.0 v7.16.0 Team:Threat Hunting:Cases labels Sep 23, 2021
@semd semd self-assigned this Sep 23, 2021
@semd semd marked this pull request as ready for review September 27, 2021 09:09
@semd semd requested a review from a team as a code owner September 27, 2021 09:09
@elasticmachine
Copy link
Copy Markdown
Contributor

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

@elasticmachine
Copy link
Copy Markdown
Contributor

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

@XavierM
Copy link
Copy Markdown
Contributor

XavierM commented Sep 27, 2021

I think we need to change this logic because of this comment in my PR

@angorayc
Copy link
Copy Markdown
Contributor

@elasticmachine merge upstream

Copy link
Copy Markdown
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, all looks good. Thank you Sergi!

@semd semd enabled auto-merge (squash) September 29, 2021 10:04
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
securitySolution 109.0KB 109.7KB +759.0B

History

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

cc @semd

@semd semd merged commit 36e7b5f into elastic:master Sep 29, 2021
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Sep 29, 2021
…tic#113046)

* deepLinks grouped and refactor

* use translations

* use Set and renaming

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

💔 Backport failed

Status Branch Result
7.15 Commit could not be cherrypicked due to conflicts
7.x

Successful backport PRs will be merged automatically after passing CI.

To backport manually run:
node scripts/backport --pr 113046

@semd semd removed the v7.15.0 label Sep 29, 2021
kibanamachine added a commit that referenced this pull request Sep 29, 2021
) (#113395)

* deepLinks grouped and refactor

* use translations

* use Set and renaming

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

Co-authored-by: Sergi Massaneda <sergi.massaneda@elastic.co>
@MadameSheema
Copy link
Copy Markdown
Contributor

@semd can you please backport this into 7.15? thanks!

@semd semd added the v7.15.0 label Sep 30, 2021
semd added a commit to semd/kibana that referenced this pull request Sep 30, 2021
…tic#113046)

* deepLinks grouped and refactor

* use translations

* use Set and renaming

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/security_solution/public/app/deep_links/index.test.ts
semd added a commit that referenced this pull request Oct 1, 2021
#113046) (#113537)

* [Security Solutions] Search results deepLinks fix inconsistency (#113046)

* deepLinks grouped and refactor

* use translations

* use Set and renaming

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/security_solution/public/app/deep_links/index.test.ts

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

Labels

auto-backport Deprecated - use backport:version if exact versions are needed 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 Security Solution Threat Hunting Team v7.15.0 v7.16.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants