Linked dashboards in Rule and Alert pages#219019
Merged
mgiota merged 47 commits intoelastic:mainfrom May 23, 2025
Merged
Conversation
3b60f28 to
ba16762
Compare
mgiota
added a commit
that referenced
this pull request
Apr 25, 2025
Follow up PR that addresses [this](#216292 (review)) comment and returns the artifacts in the internal _resolve API. The `_resolve` api is used in the edit rule form and fixes a UI issue in this draft [PR](#219019) --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
kibanamachine
added a commit
to kibanamachine/kibana
that referenced
this pull request
Apr 25, 2025
Follow up PR that addresses [this](elastic#216292 (review)) comment and returns the artifacts in the internal _resolve API. The `_resolve` api is used in the edit rule form and fixes a UI issue in this draft [PR](elastic#219019) --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> (cherry picked from commit ed2d0f8)
Contributor
|
Pinging @elastic/obs-ux-management-team (Team:obs-ux-management) |
mgiota
commented
Apr 30, 2025
...ervability/plugins/observability/public/pages/alert_details/components/dashboard_actions.tsx
Outdated
Show resolved
Hide resolved
mgiota
commented
Apr 30, 2025
...ervability/plugins/observability/public/pages/alert_details/components/dashboard_actions.tsx
Outdated
Show resolved
Hide resolved
Contributor
|
Starting backport for target branches: 8.19 https://github.com/elastic/kibana/actions/runs/15205317344 |
Contributor
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
This was referenced May 23, 2025
1 task
Contributor
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
This was referenced May 27, 2025
Contributor
Author
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
mgiota
added a commit
to mgiota/kibana
that referenced
this pull request
May 27, 2025
Fixes elastic#214522 Fixes elastic#214523 This PR includes the UI of: 1. `linking dashboards` in the `rule configuration` page/flyout in both `Stack Management` and `o11y` rules pages 2. displaying the `Related dashboards` in the o11y `Alert details` page. <img width="500" alt="Screenshot 2025-05-21 at 15 38 38" src="https://github.com/user-attachments/assets/c1011c34-faa6-493b-864b-f94fd09f0217" /> <img width="500" alt="Screenshot 2025-05-21 at 16 37 09" src="https://github.com/user-attachments/assets/e1a5c2db-b481-4884-beb4-5a4a72d79cbc" /> <img width="500" alt="Screenshot 2025-05-21 at 15 42 19" src="https://github.com/user-attachments/assets/646359de-879c-4970-8d39-626103090765" /> <img width="500" alt="Screenshot 2025-05-21 at 16 35 03" src="https://github.com/user-attachments/assets/433edcc7-23a5-44e9-9bf7-53add9e4e132" /> <img width="500" alt="Screenshot 2025-05-07 at 14 25 17" src="https://github.com/user-attachments/assets/5afda303-30e4-42a6-85d0-5687cc75f560" /> - user should be able to `link dashboards` during rule creation in both Stack Management and `o11y` Rule pages - user should be able to `update` the linked dashboards in both `Stack Management` and `o11y` Rule pages - user should be able to view the linked dashboards in a new `Related dashboards` tab in the `Alert Details` page - user should be able to go to the dashboard page when clicking on the dashboard title --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> (cherry picked from commit 9533a15)
mgiota
added a commit
to mgiota/kibana
that referenced
this pull request
May 27, 2025
Fixes elastic#214522 Fixes elastic#214523 This PR includes the UI of: 1. `linking dashboards` in the `rule configuration` page/flyout in both `Stack Management` and `o11y` rules pages 2. displaying the `Related dashboards` in the o11y `Alert details` page. <img width="500" alt="Screenshot 2025-05-21 at 15 38 38" src="https://github.com/user-attachments/assets/c1011c34-faa6-493b-864b-f94fd09f0217" /> <img width="500" alt="Screenshot 2025-05-21 at 16 37 09" src="https://github.com/user-attachments/assets/e1a5c2db-b481-4884-beb4-5a4a72d79cbc" /> <img width="500" alt="Screenshot 2025-05-21 at 15 42 19" src="https://github.com/user-attachments/assets/646359de-879c-4970-8d39-626103090765" /> <img width="500" alt="Screenshot 2025-05-21 at 16 35 03" src="https://github.com/user-attachments/assets/433edcc7-23a5-44e9-9bf7-53add9e4e132" /> <img width="500" alt="Screenshot 2025-05-07 at 14 25 17" src="https://github.com/user-attachments/assets/5afda303-30e4-42a6-85d0-5687cc75f560" /> - user should be able to `link dashboards` during rule creation in both Stack Management and `o11y` Rule pages - user should be able to `update` the linked dashboards in both `Stack Management` and `o11y` Rule pages - user should be able to view the linked dashboards in a new `Related dashboards` tab in the `Alert Details` page - user should be able to go to the dashboard page when clicking on the dashboard title --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> (cherry picked from commit 9533a15)
mgiota
added a commit
that referenced
this pull request
May 27, 2025
# Backport This will backport the following commits from `main` to `8.19`: - [Linked dashboards in Rule and Alert pages (#219019)](#219019) <!--- Backport version: 10.0.0 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Panagiota Mitsopoulou","email":"panagiota.mitsopoulou@elastic.co"},"sourceCommit":{"committedDate":"2025-05-23T07:57:16Z","message":"Linked dashboards in Rule and Alert pages (#219019)\n\nFixes https://github.com/elastic/kibana/issues/214522\nFixes #214523 \n\n\n## 🧪 How to test\nThis PR includes the UI of:\n\n1. `linking dashboards` in the `rule configuration` page/flyout in both\n`Stack Management` and `o11y` rules pages\n2. displaying the `Related dashboards` in the o11y `Alert details` page.\n\n### Link dashboards \n#### o11y Rule Management\n<img width=\"500\" alt=\"Screenshot 2025-05-21 at 15 38 38\"\nsrc=\"https://github.com/user-attachments/assets/c1011c34-faa6-493b-864b-f94fd09f0217\"\n/>\n\n\n#### Stack Management\n<img width=\"500\" alt=\"Screenshot 2025-05-21 at 16 37 09\"\nsrc=\"https://github.com/user-attachments/assets/e1a5c2db-b481-4884-beb4-5a4a72d79cbc\"\n/>\n\n\n\n### Edit linked dashboards\n\n#### o11y Edit Flyout\n<img width=\"500\" alt=\"Screenshot 2025-05-21 at 15 42 19\"\nsrc=\"https://github.com/user-attachments/assets/646359de-879c-4970-8d39-626103090765\"\n/>\n\n\n#### Stack Management\n<img width=\"500\" alt=\"Screenshot 2025-05-21 at 16 35 03\"\nsrc=\"https://github.com/user-attachments/assets/433edcc7-23a5-44e9-9bf7-53add9e4e132\"\n/>\n\n\n\n### Alert Details page & Related Dashboards\n<img width=\"500\" alt=\"Screenshot 2025-05-07 at 14 25 17\"\nsrc=\"https://github.com/user-attachments/assets/5afda303-30e4-42a6-85d0-5687cc75f560\"\n/>\n\n\n\n\n## ✔️ Acceptance criteria\n- user should be able to `link dashboards` during rule creation in both\nStack Management and `o11y` Rule pages\n- user should be able to `update` the linked dashboards in both `Stack\nManagement` and `o11y` Rule pages\n- user should be able to view the linked dashboards in a new `Related\ndashboards` tab in the `Alert Details` page\n- user should be able to go to the dashboard page when clicking on the\ndashboard title\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"9533a15ff3debd2f58894f7cead790acdc48efd2","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport missing","Team:obs-ux-management","backport:version","v9.1.0","v8.19.0"],"title":"Linked dashboards in Rule and Alert pages","number":219019,"url":"https://github.com/elastic/kibana/pull/219019","mergeCommit":{"message":"Linked dashboards in Rule and Alert pages (#219019)\n\nFixes https://github.com/elastic/kibana/issues/214522\nFixes #214523 \n\n\n## 🧪 How to test\nThis PR includes the UI of:\n\n1. `linking dashboards` in the `rule configuration` page/flyout in both\n`Stack Management` and `o11y` rules pages\n2. displaying the `Related dashboards` in the o11y `Alert details` page.\n\n### Link dashboards \n#### o11y Rule Management\n<img width=\"500\" alt=\"Screenshot 2025-05-21 at 15 38 38\"\nsrc=\"https://github.com/user-attachments/assets/c1011c34-faa6-493b-864b-f94fd09f0217\"\n/>\n\n\n#### Stack Management\n<img width=\"500\" alt=\"Screenshot 2025-05-21 at 16 37 09\"\nsrc=\"https://github.com/user-attachments/assets/e1a5c2db-b481-4884-beb4-5a4a72d79cbc\"\n/>\n\n\n\n### Edit linked dashboards\n\n#### o11y Edit Flyout\n<img width=\"500\" alt=\"Screenshot 2025-05-21 at 15 42 19\"\nsrc=\"https://github.com/user-attachments/assets/646359de-879c-4970-8d39-626103090765\"\n/>\n\n\n#### Stack Management\n<img width=\"500\" alt=\"Screenshot 2025-05-21 at 16 35 03\"\nsrc=\"https://github.com/user-attachments/assets/433edcc7-23a5-44e9-9bf7-53add9e4e132\"\n/>\n\n\n\n### Alert Details page & Related Dashboards\n<img width=\"500\" alt=\"Screenshot 2025-05-07 at 14 25 17\"\nsrc=\"https://github.com/user-attachments/assets/5afda303-30e4-42a6-85d0-5687cc75f560\"\n/>\n\n\n\n\n## ✔️ Acceptance criteria\n- user should be able to `link dashboards` during rule creation in both\nStack Management and `o11y` Rule pages\n- user should be able to `update` the linked dashboards in both `Stack\nManagement` and `o11y` Rule pages\n- user should be able to view the linked dashboards in a new `Related\ndashboards` tab in the `Alert Details` page\n- user should be able to go to the dashboard page when clicking on the\ndashboard title\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"9533a15ff3debd2f58894f7cead790acdc48efd2"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/219019","number":219019,"mergeCommit":{"message":"Linked dashboards in Rule and Alert pages (#219019)\n\nFixes https://github.com/elastic/kibana/issues/214522\nFixes #214523 \n\n\n## 🧪 How to test\nThis PR includes the UI of:\n\n1. `linking dashboards` in the `rule configuration` page/flyout in both\n`Stack Management` and `o11y` rules pages\n2. displaying the `Related dashboards` in the o11y `Alert details` page.\n\n### Link dashboards \n#### o11y Rule Management\n<img width=\"500\" alt=\"Screenshot 2025-05-21 at 15 38 38\"\nsrc=\"https://github.com/user-attachments/assets/c1011c34-faa6-493b-864b-f94fd09f0217\"\n/>\n\n\n#### Stack Management\n<img width=\"500\" alt=\"Screenshot 2025-05-21 at 16 37 09\"\nsrc=\"https://github.com/user-attachments/assets/e1a5c2db-b481-4884-beb4-5a4a72d79cbc\"\n/>\n\n\n\n### Edit linked dashboards\n\n#### o11y Edit Flyout\n<img width=\"500\" alt=\"Screenshot 2025-05-21 at 15 42 19\"\nsrc=\"https://github.com/user-attachments/assets/646359de-879c-4970-8d39-626103090765\"\n/>\n\n\n#### Stack Management\n<img width=\"500\" alt=\"Screenshot 2025-05-21 at 16 35 03\"\nsrc=\"https://github.com/user-attachments/assets/433edcc7-23a5-44e9-9bf7-53add9e4e132\"\n/>\n\n\n\n### Alert Details page & Related Dashboards\n<img width=\"500\" alt=\"Screenshot 2025-05-07 at 14 25 17\"\nsrc=\"https://github.com/user-attachments/assets/5afda303-30e4-42a6-85d0-5687cc75f560\"\n/>\n\n\n\n\n## ✔️ Acceptance criteria\n- user should be able to `link dashboards` during rule creation in both\nStack Management and `o11y` Rule pages\n- user should be able to `update` the linked dashboards in both `Stack\nManagement` and `o11y` Rule pages\n- user should be able to view the linked dashboards in a new `Related\ndashboards` tab in the `Alert Details` page\n- user should be able to go to the dashboard page when clicking on the\ndashboard title\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"9533a15ff3debd2f58894f7cead790acdc48efd2"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2 tasks
akowalska622
pushed a commit
to akowalska622/kibana
that referenced
this pull request
May 29, 2025
Follow up PR that addresses [this](elastic#216292 (review)) comment and returns the artifacts in the internal _resolve API. The `_resolve` api is used in the edit rule form and fixes a UI issue in this draft [PR](elastic#219019) --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
akowalska622
pushed a commit
to akowalska622/kibana
that referenced
this pull request
May 29, 2025
## Summary This implements some design changes for the Rule create/edit form that are needed downstream in elastic#217106 and elastic#219019. Once we are agreed on the implementation and ok to merge, we can go ahead. In the meantime, we can pull these changes into the existing PRs mentioned above so we can work on finalizing the layout as it will look, without needing to duplicate these commits in both places. ### Updated create rule form <img width="1236" alt="image" src="https://github.com/user-attachments/assets/06925dfe-bd61-4f99-bdca-2cdf7bbb5f60" /> ### Updated details tab in edit flyout <img width="776" alt="image" src="https://github.com/user-attachments/assets/b250a4c9-fb2d-41cd-910a-aa42b61b5a5c" />
akowalska622
pushed a commit
to akowalska622/kibana
that referenced
this pull request
May 29, 2025
Fixes elastic#214522 Fixes elastic#214523 ## 🧪 How to test This PR includes the UI of: 1. `linking dashboards` in the `rule configuration` page/flyout in both `Stack Management` and `o11y` rules pages 2. displaying the `Related dashboards` in the o11y `Alert details` page. ### Link dashboards #### o11y Rule Management <img width="500" alt="Screenshot 2025-05-21 at 15 38 38" src="https://github.com/user-attachments/assets/c1011c34-faa6-493b-864b-f94fd09f0217" /> #### Stack Management <img width="500" alt="Screenshot 2025-05-21 at 16 37 09" src="https://github.com/user-attachments/assets/e1a5c2db-b481-4884-beb4-5a4a72d79cbc" /> ### Edit linked dashboards #### o11y Edit Flyout <img width="500" alt="Screenshot 2025-05-21 at 15 42 19" src="https://github.com/user-attachments/assets/646359de-879c-4970-8d39-626103090765" /> #### Stack Management <img width="500" alt="Screenshot 2025-05-21 at 16 35 03" src="https://github.com/user-attachments/assets/433edcc7-23a5-44e9-9bf7-53add9e4e132" /> ### Alert Details page & Related Dashboards <img width="500" alt="Screenshot 2025-05-07 at 14 25 17" src="https://github.com/user-attachments/assets/5afda303-30e4-42a6-85d0-5687cc75f560" /> ## ✔️ Acceptance criteria - user should be able to `link dashboards` during rule creation in both Stack Management and `o11y` Rule pages - user should be able to `update` the linked dashboards in both `Stack Management` and `o11y` Rule pages - user should be able to view the linked dashboards in a new `Related dashboards` tab in the `Alert Details` page - user should be able to go to the dashboard page when clicking on the dashboard title --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
qn895
pushed a commit
to qn895/kibana
that referenced
this pull request
Jun 3, 2025
## Summary This implements some design changes for the Rule create/edit form that are needed downstream in elastic#217106 and elastic#219019. Once we are agreed on the implementation and ok to merge, we can go ahead. In the meantime, we can pull these changes into the existing PRs mentioned above so we can work on finalizing the layout as it will look, without needing to duplicate these commits in both places. ### Updated create rule form <img width="1236" alt="image" src="https://github.com/user-attachments/assets/06925dfe-bd61-4f99-bdca-2cdf7bbb5f60" /> ### Updated details tab in edit flyout <img width="776" alt="image" src="https://github.com/user-attachments/assets/b250a4c9-fb2d-41cd-910a-aa42b61b5a5c" />
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #214522
Fixes #214523
🧪 How to test
This PR includes the UI of:
linking dashboardsin therule configurationpage/flyout in bothStack Managementando11yrules pagesRelated dashboardsin the o11yAlert detailspage.Link dashboards
o11y Rule Management
Stack Management
Edit linked dashboards
o11y Edit Flyout
Stack Management
Alert Details page & Related Dashboards
✔️ Acceptance criteria
link dashboardsduring rule creation in both Stack Management ando11yRule pagesupdatethe linked dashboards in bothStack Managementando11yRule pagesRelated dashboardstab in theAlert Detailspage