-
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
[SecuritySolution] Fix edit dashboard url #156160
Conversation
Pinging @elastic/security-threat-hunting (Team:Threat Hunting) |
Pinging @elastic/security-solution (Team: SecuritySolution) |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Module Count
Async chunks
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
To update your PR or re-run it, just comment with: cc @angorayc |
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!! Thanks @angorayc
## Summary It lands on the wrong page after clicking on `Edit Dashboard` button. - Steps to reproduce: 1. Create a dashboard, save it and add a Security Solution tag. 2. Back to SecuritySolution > Dashboards, select the dashboard you added. 3. Click the `Edit` button at the top right corner. 4. Observe that it lands at Kibana dashboard listing page. Expect: It should navigate to Kibana dashboard's edit mode. ### Checklist Delete any items that are not applicable to this PR. - [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 eb2c8b8)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.8`: - [[SecuritySolution] Fix edit dashboard url (#156160)](#156160) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Angela Chuang","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-05-02T09:26:32Z","message":"[SecuritySolution] Fix edit dashboard url (#156160)\n\n## Summary\r\n\r\nIt lands on the wrong page after clicking on `Edit Dashboard` button.\r\n\r\n- Steps to reproduce:\r\n\r\n1. Create a dashboard, save it and add a Security Solution tag.\r\n2. Back to SecuritySolution > Dashboards, select the dashboard you\r\nadded.\r\n3. Click the `Edit` button at the top right corner.\r\n4. Observe that it lands at Kibana dashboard listing page.\r\n\r\nExpect:\r\nIt should navigate to Kibana dashboard's edit mode.\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\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":"eb2c8b8fac7b77ba03ecf2517a25345cf9a7bb94","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:Threat Hunting","fixed","Team: SecuritySolution","Team:Threat Hunting:Explore","v8.8.0","Feature:Security Dashboards","v8.9.0"],"number":156160,"url":"https://github.com/elastic/kibana/pull/156160","mergeCommit":{"message":"[SecuritySolution] Fix edit dashboard url (#156160)\n\n## Summary\r\n\r\nIt lands on the wrong page after clicking on `Edit Dashboard` button.\r\n\r\n- Steps to reproduce:\r\n\r\n1. Create a dashboard, save it and add a Security Solution tag.\r\n2. Back to SecuritySolution > Dashboards, select the dashboard you\r\nadded.\r\n3. Click the `Edit` button at the top right corner.\r\n4. Observe that it lands at Kibana dashboard listing page.\r\n\r\nExpect:\r\nIt should navigate to Kibana dashboard's edit mode.\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\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":"eb2c8b8fac7b77ba03ecf2517a25345cf9a7bb94"}},"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/156160","number":156160,"mergeCommit":{"message":"[SecuritySolution] Fix edit dashboard url (#156160)\n\n## Summary\r\n\r\nIt lands on the wrong page after clicking on `Edit Dashboard` button.\r\n\r\n- Steps to reproduce:\r\n\r\n1. Create a dashboard, save it and add a Security Solution tag.\r\n2. Back to SecuritySolution > Dashboards, select the dashboard you\r\nadded.\r\n3. Click the `Edit` button at the top right corner.\r\n4. Observe that it lands at Kibana dashboard listing page.\r\n\r\nExpect:\r\nIt should navigate to Kibana dashboard's edit mode.\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\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":"eb2c8b8fac7b77ba03ecf2517a25345cf9a7bb94"}}]}] BACKPORT--> Co-authored-by: Angela Chuang <[email protected]>
Summary
It lands on the wrong page after clicking on
Edit Dashboard
button.Edit
button at the top right corner.Expect:
It should navigate to Kibana dashboard's edit mode.
Checklist
Delete any items that are not applicable to this PR.