-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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 Solution] Changed landing page navigation #129000
[Security Solution] Changed landing page navigation #129000
Conversation
Pinging @elastic/security-solution (Team: SecuritySolution) |
Pinging @elastic/security-threat-hunting (Team:Threat Hunting) |
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.
core only owns 1 file (updated overviewIDs) lgtm 👍 please let me know if you want a more thorough review
@@ -26,7 +26,7 @@ import { Network } from './network'; | |||
import { NetworkRoutes } from './navigation'; | |||
import { mockCasesContract } from '../../../../cases/public/mocks'; | |||
import { APP_UI_ID, SecurityPageName } from '../../../common/constants'; | |||
import { getAppLandingUrl } from '../../common/components/link_to/redirect_to_overview'; | |||
import { getAppLandingUrl } from '../../common/components/link_to'; |
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.
shouldn't the import be from '../../common/components/link_to/redirect_to_landing';
?
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.
./redirect_to_overview
is exported in /link_to/index.ts
, but I think I can refactor this by removing unnecessary.
Just one question. Do we want the "Getting Started" link to be available from the global navigation? And in case we want it, should it be in the last position? screenshot: In case we want to change it, this is controlled by deepLinks (at |
@semd thank you for catching this! |
…content for security template
@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.
LGTM 🚀
💚 Build SucceededMetrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: cc @YulNaumenko |
* [Security Solution] Changed landing page navigation * made all landings big * removed getting started from the main left menu; centered empty page content for security template * fixed linting rules * fixed linting rules * fixed tests * fixed tests * fixed tests Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit a0cf450)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
* [Security Solution] Changed landing page navigation * made all landings big * removed getting started from the main left menu; centered empty page content for security template * fixed linting rules * fixed linting rules * fixed tests * fixed tests * fixed tests Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit a0cf450)
Summary
Changes done in the current PR:
This this the behavior for the empty Security:
Screen.Recording.2022-03-30.at.9.58.27.PM.mov
New navigation leads to the Getting started page from the all global navigation links (not depends if the data is added or not):
If there is no data the landing page will be displayed for the hosts, network, overview, users and timelines components without redirecting to the Getting started page.
@bfishel, @adamwdraper please need your confirmation or comments on the new navigation:
Screen.Recording.2022-03-30.at.10.02.04.PM.mov
cc: @paulewing @asnehalb
LandingCards
to thesecurity_solution
common componentsTODO: Complete tests coverage.
Checklist
Delete any items that are not applicable to this PR.