Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [One Discover] Add app menu actions for Observability projects (#…
…198987) (#200145) # Backport This will backport the following commits from `main` to `8.x`: - [[One Discover] Add app menu actions for Observability projects (#198987)](#198987) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Marco Antonio Ghiani","email":"marcoantonio.ghiani01@gmail.com"},"sourceCommit":{"committedDate":"2024-11-14T10:00:38Z","message":"[One Discover] Add app menu actions for Observability projects (#198987)\n\n## 📓 Summary\r\n\r\nCloses #182230 \r\n\r\nThis work introduces a new observability root profile and uses the new\r\nextension point to register custom actions on the app menu.\r\nThe registered actions and link will appear only with the new project\r\nnavigation enabled on an Observability project:\r\n- A link to the data sets quality page\r\n- On the alerts sub menu...\r\n- replace the default search rule creation with the observability custom\r\nthreshold rule\r\n - add an entry to directly create an SLO for the current search\r\n\r\nTo access the SLO capabilities without breaking the dependencies\r\nhierarchy of the new sustainable architecture, the feature is registered\r\nby the common plugin `discover-shared` in SLO and consumed then by\r\nDiscover using the IoC principle.\r\n\r\n## 🖼️ Screenshots\r\n\r\n### Observability project solution - show new menu\r\n\r\n<img width=\"3004\" alt=\"Screenshot 2024-11-06 at 12 37 02\"\r\nsrc=\"https://github.com/user-attachments/assets/d70b532d-1889-4d5b-b2ee-de2f048560f4\">\r\n\r\n### Search project solution - hide new menu\r\n\r\n<img width=\"3006\" alt=\"Screenshot 2024-11-06 at 12 36 19\"\r\nsrc=\"https://github.com/user-attachments/assets/660893c3-f6b5-4b06-b8de-50a61a6bdb98\">\r\n\r\n### Default navigation mode - hide new menu\r\n\r\n<img width=\"3002\" alt=\"Screenshot 2024-11-06 at 12 35 43\"\r\nsrc=\"https://github.com/user-attachments/assets/674c5a08-0084-40e5-ae34-a56c363cacce\">\r\n\r\n## 🎥 Demo\r\n\r\n\r\nhttps://github.com/user-attachments/assets/104e6074-0401-4fd2-a8e6-8b05f2c070d7\r\n\r\n---------\r\n\r\nCo-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"9d38922401d0bbd0d95d750f68fec77ca22758fb","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-logs","Team:obs-ux-management","Project:OneDiscover"],"number":198987,"url":"https://github.com/elastic/kibana/pull/198987","mergeCommit":{"message":"[One Discover] Add app menu actions for Observability projects (#198987)\n\n## 📓 Summary\r\n\r\nCloses #182230 \r\n\r\nThis work introduces a new observability root profile and uses the new\r\nextension point to register custom actions on the app menu.\r\nThe registered actions and link will appear only with the new project\r\nnavigation enabled on an Observability project:\r\n- A link to the data sets quality page\r\n- On the alerts sub menu...\r\n- replace the default search rule creation with the observability custom\r\nthreshold rule\r\n - add an entry to directly create an SLO for the current search\r\n\r\nTo access the SLO capabilities without breaking the dependencies\r\nhierarchy of the new sustainable architecture, the feature is registered\r\nby the common plugin `discover-shared` in SLO and consumed then by\r\nDiscover using the IoC principle.\r\n\r\n## 🖼️ Screenshots\r\n\r\n### Observability project solution - show new menu\r\n\r\n<img width=\"3004\" alt=\"Screenshot 2024-11-06 at 12 37 02\"\r\nsrc=\"https://github.com/user-attachments/assets/d70b532d-1889-4d5b-b2ee-de2f048560f4\">\r\n\r\n### Search project solution - hide new menu\r\n\r\n<img width=\"3006\" alt=\"Screenshot 2024-11-06 at 12 36 19\"\r\nsrc=\"https://github.com/user-attachments/assets/660893c3-f6b5-4b06-b8de-50a61a6bdb98\">\r\n\r\n### Default navigation mode - hide new menu\r\n\r\n<img width=\"3002\" alt=\"Screenshot 2024-11-06 at 12 35 43\"\r\nsrc=\"https://github.com/user-attachments/assets/674c5a08-0084-40e5-ae34-a56c363cacce\">\r\n\r\n## 🎥 Demo\r\n\r\n\r\nhttps://github.com/user-attachments/assets/104e6074-0401-4fd2-a8e6-8b05f2c070d7\r\n\r\n---------\r\n\r\nCo-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"9d38922401d0bbd0d95d750f68fec77ca22758fb"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198987","number":198987,"mergeCommit":{"message":"[One Discover] Add app menu actions for Observability projects (#198987)\n\n## 📓 Summary\r\n\r\nCloses #182230 \r\n\r\nThis work introduces a new observability root profile and uses the new\r\nextension point to register custom actions on the app menu.\r\nThe registered actions and link will appear only with the new project\r\nnavigation enabled on an Observability project:\r\n- A link to the data sets quality page\r\n- On the alerts sub menu...\r\n- replace the default search rule creation with the observability custom\r\nthreshold rule\r\n - add an entry to directly create an SLO for the current search\r\n\r\nTo access the SLO capabilities without breaking the dependencies\r\nhierarchy of the new sustainable architecture, the feature is registered\r\nby the common plugin `discover-shared` in SLO and consumed then by\r\nDiscover using the IoC principle.\r\n\r\n## 🖼️ Screenshots\r\n\r\n### Observability project solution - show new menu\r\n\r\n<img width=\"3004\" alt=\"Screenshot 2024-11-06 at 12 37 02\"\r\nsrc=\"https://github.com/user-attachments/assets/d70b532d-1889-4d5b-b2ee-de2f048560f4\">\r\n\r\n### Search project solution - hide new menu\r\n\r\n<img width=\"3006\" alt=\"Screenshot 2024-11-06 at 12 36 19\"\r\nsrc=\"https://github.com/user-attachments/assets/660893c3-f6b5-4b06-b8de-50a61a6bdb98\">\r\n\r\n### Default navigation mode - hide new menu\r\n\r\n<img width=\"3002\" alt=\"Screenshot 2024-11-06 at 12 35 43\"\r\nsrc=\"https://github.com/user-attachments/assets/674c5a08-0084-40e5-ae34-a56c363cacce\">\r\n\r\n## 🎥 Demo\r\n\r\n\r\nhttps://github.com/user-attachments/assets/104e6074-0401-4fd2-a8e6-8b05f2c070d7\r\n\r\n---------\r\n\r\nCo-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"9d38922401d0bbd0d95d750f68fec77ca22758fb"}}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
- Loading branch information