-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Security Solutions] Search results deepLinks fix inconsistency #113046
[Security Solutions] Search results deepLinks fix inconsistency #113046
Conversation
…ty_search_results_consistency
Pinging @elastic/security-threat-hunting (Team:Threat Hunting) |
Pinging @elastic/security-solution (Team: SecuritySolution) |
I think we need to change this logic because of this comment in my PR |
@elasticmachine merge upstream |
There was a problem hiding this 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!
💚 Build Succeeded
Metrics [docs]Page load bundle
History
To update your PR or re-run it, just comment with: cc @semd |
…tic#113046) * deepLinks grouped and refactor * use translations * use Set and renaming Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
💔 Backport failed
Successful backport PRs will be merged automatically after passing CI. To backport manually run: |
) (#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>
@semd can you please backport this into 7.15? thanks! |
…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
#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
Summary
Solves: #107123
Refactor
The current approach using the
base
andpremium
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 thegetDeepLinks
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.