Implement new nav hierarchy for stateful/cloud#192805
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
6baf228 to
3321350
Compare
3321350 to
34f378e
Compare
packages/shared-ux/chrome/navigation/src/ui/components/navigation_item_open_panel.tsx
Outdated
Show resolved
Hide resolved
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
|
Pinging @elastic/obs-ux-management-team (Team:obs-ux-management) |
65918e6 to
4585899
Compare
There was a problem hiding this comment.
This menu item was renamed to Add data, so I added a new key xpack.observability.obltNav.addData and this was removed.
There was a problem hiding this comment.
AI & ML menu item was removed. It is now splitted into 2 separate menu items AI Assistant and Machine Learning and thus not needed anymore.
There was a problem hiding this comment.
Change point detection appears here under Machine Learning
4585899 to
2e3aab9
Compare
2e3aab9 to
f1bdd6c
Compare
|
@elasticmachine merge upstream |
d79ea87 to
e542e88
Compare
sebelga
left a comment
There was a problem hiding this comment.
Tested locally and works well! 🎉 I added a comment for the functional tests, can you remove the extra ones? Thanks!
x-pack/test/functional_solution_sidenav/tests/observability_sidenav.ts
Outdated
Show resolved
Hide resolved
| expect(isOpen).to.be(false); | ||
| } | ||
|
|
||
| // check the AI Assistant |
There was a problem hiding this comment.
I think that you can remove from this line (L81) to L114.
This file is for smoke tests to make sure the side nav exists, links can be clicked and panels can be open and closed. Those additional tests should be part of the Oblt functional tests.
We don't want to have to fix in 2 places the functional tests whenever the oblt nav changes. 😊
There was a problem hiding this comment.
and move my tests there. Does this sound good?
That's sounds like a good place to me 👍 thanks!
sebelga
left a comment
There was a problem hiding this comment.
LGTM! Thanks for making the changes 👍
|
@elasticmachine merge upstream |
| ], | ||
| }, | ||
| ], | ||
| footer: [ |
There was a problem hiding this comment.
You mentioned you ran into issues with the footer. Did you want to keep this?
💚 Build Succeeded
Metrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: cc @mgiota |
|
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/11176273175 |
<strike>Depends on elastic#193526, WON'T FIX</strike> Fixes elastic#192803 Fixes elastic#191509 This PR updates the nav hierarchy for stateful/cloud and changes the `accordion` to `panelOpener`. The menu items have been updated according to the Figma file and the discussions happening in this [issue](elastic#192050). I took a video below of how the new navigation looks like with the new changes https://github.com/user-attachments/assets/e73c8dd9-b674-4146-bcde-443490569502 ## What was changed - AI & ML menu is removed and split into - `AI Assistant` - `Machine learning`: this menu was already present in the footer, it was moved in the body (after Infrastucture) - `Applications` now opens a `panelOpener` instead of an `accordion` - Synthetics was moved to a new section - “User Experience” was renamed to “User experience” - `Infrastucture` now opens a `panelOpener` instead of an `accordion` - Universal Profiling was moved to a separate section below - Metrics Explorer was renamed to Metrics explorer - `Machine learning` now opens a `panelOpener` instead of an `accordion` - `Supplied Configurations` was added under the Machine learning > Anomaly Detection section. - The machine learning `link: 'securitySolutionUI:machine_learning-landing'` was completely removed. Clicking on the `Machine learning` link will slide out the panel instead (same behavior with clicking on the icon). More details about why I removed this [here](elastic#192805 (comment)) - Use sentence/case for the menu items - `Other tools` now opens a `panelOpener` instead of an `accordion` - Logs anomalies was added here - Logs categories was added here - Visualize library was added - Clicking on the 1st level menu items (Applications, Infrastructure, Machine learning, Other tools) toggles the panel on the right (arrowRight). - The icon was changed from the four small squares to the right-facing caret - The sub-nav menu slides out to the right whenever the label OR the icon are clicked - `Getting started` in the footer was renamed to `Add data` - `Data Set Quality` was added under `Stack Management > Data` section below `Index Management` ## Functional Tests Some tests have been added that test: - toggling of the panel when clicking on the link button - `AI assistant` changes - `Infrastructure` changes - `Other Tools` changes - `Machine Learning` changes ## What this PR doesn't do I faced some issues with the footer, so footer will be separately handled in this [issue](elastic#192865) --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Sébastien Loix <sebastien.loix@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co> (cherry picked from commit ab71509)
💚 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.x`: - [Implement new nav hierarchy for stateful/cloud (#192805)](#192805) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Panagiota Mitsopoulou","email":"panagiota.mitsopoulou@elastic.co"},"sourceCommit":{"committedDate":"2024-10-04T08:02:57Z","message":"Implement new nav hierarchy for stateful/cloud (#192805)\n\n<strike>Depends on https://github.com/elastic/kibana/issues/193526,\r\nWON'T FIX</strike>\r\n\r\nFixes https://github.com/elastic/kibana/issues/192803\r\nFixes https://github.com/elastic/kibana/issues/191509\r\n\r\nThis PR updates the nav hierarchy for stateful/cloud and changes the\r\n`accordion` to `panelOpener`. The menu items have been updated according\r\nto the Figma file and the discussions happening in this\r\n[issue](#192050). I took a video\r\nbelow of how the new navigation looks like with the new changes\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/e73c8dd9-b674-4146-bcde-443490569502\r\n\r\n## What was changed\r\n- AI & ML menu is removed and split into\r\n - `AI Assistant`\r\n- `Machine learning`: this menu was already present in the footer, it\r\nwas moved in the body (after Infrastucture)\r\n- `Applications` now opens a `panelOpener` instead of an `accordion`\r\n - Synthetics was moved to a new section\r\n - “User Experience” was renamed to “User experience” \r\n- `Infrastucture` now opens a `panelOpener` instead of an `accordion`\r\n - Universal Profiling was moved to a separate section below\r\n - Metrics Explorer was renamed to Metrics explorer\r\n- `Machine learning` now opens a `panelOpener` instead of an `accordion`\r\n- `Supplied Configurations` was added under the Machine learning >\r\nAnomaly Detection section.\r\n- The machine learning `link:\r\n'securitySolutionUI:machine_learning-landing'` was completely removed.\r\nClicking on the `Machine learning` link will slide out the panel instead\r\n(same behavior with clicking on the icon). More details about why I\r\nremoved this\r\n[here](https://github.com/elastic/kibana/pull/192805#issuecomment-2359368851)\r\n - Use sentence/case for the menu items\r\n- `Other tools` now opens a `panelOpener` instead of an `accordion`\r\n - Logs anomalies was added here\r\n - Logs categories was added here\r\n - Visualize library was added\r\n- Clicking on the 1st level menu items (Applications, Infrastructure,\r\nMachine learning, Other tools) toggles the panel on the right\r\n(arrowRight).\r\n- The icon was changed from the four small squares to the right-facing\r\ncaret\r\n- The sub-nav menu slides out to the right whenever the label OR the\r\nicon are clicked\r\n- `Getting started` in the footer was renamed to `Add data`\r\n- `Data Set Quality` was added under `Stack Management > Data` section\r\nbelow `Index Management`\r\n\r\n\r\n## Functional Tests\r\nSome tests have been added that test:\r\n- toggling of the panel when clicking on the link button\r\n- `AI assistant` changes\r\n- `Infrastructure` changes\r\n- `Other Tools` changes\r\n- `Machine Learning` changes\r\n\r\n\r\n## What this PR doesn't do\r\nI faced some issues with the footer, so footer will be separately\r\nhandled in this [issue](https://github.com/elastic/kibana/issues/192865)\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>\r\nCo-authored-by: Sébastien Loix <sebastien.loix@elastic.co>\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Dominique Clarke <dominique.clarke@elastic.co>","sha":"ab715099b0310019e44ed203bd0b5b3fab50f650","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.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-management","v8.16.0"],"title":"Implement new nav hierarchy for stateful/cloud","number":192805,"url":"https://github.com/elastic/kibana/pull/192805","mergeCommit":{"message":"Implement new nav hierarchy for stateful/cloud (#192805)\n\n<strike>Depends on https://github.com/elastic/kibana/issues/193526,\r\nWON'T FIX</strike>\r\n\r\nFixes https://github.com/elastic/kibana/issues/192803\r\nFixes https://github.com/elastic/kibana/issues/191509\r\n\r\nThis PR updates the nav hierarchy for stateful/cloud and changes the\r\n`accordion` to `panelOpener`. The menu items have been updated according\r\nto the Figma file and the discussions happening in this\r\n[issue](#192050). I took a video\r\nbelow of how the new navigation looks like with the new changes\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/e73c8dd9-b674-4146-bcde-443490569502\r\n\r\n## What was changed\r\n- AI & ML menu is removed and split into\r\n - `AI Assistant`\r\n- `Machine learning`: this menu was already present in the footer, it\r\nwas moved in the body (after Infrastucture)\r\n- `Applications` now opens a `panelOpener` instead of an `accordion`\r\n - Synthetics was moved to a new section\r\n - “User Experience” was renamed to “User experience” \r\n- `Infrastucture` now opens a `panelOpener` instead of an `accordion`\r\n - Universal Profiling was moved to a separate section below\r\n - Metrics Explorer was renamed to Metrics explorer\r\n- `Machine learning` now opens a `panelOpener` instead of an `accordion`\r\n- `Supplied Configurations` was added under the Machine learning >\r\nAnomaly Detection section.\r\n- The machine learning `link:\r\n'securitySolutionUI:machine_learning-landing'` was completely removed.\r\nClicking on the `Machine learning` link will slide out the panel instead\r\n(same behavior with clicking on the icon). More details about why I\r\nremoved this\r\n[here](https://github.com/elastic/kibana/pull/192805#issuecomment-2359368851)\r\n - Use sentence/case for the menu items\r\n- `Other tools` now opens a `panelOpener` instead of an `accordion`\r\n - Logs anomalies was added here\r\n - Logs categories was added here\r\n - Visualize library was added\r\n- Clicking on the 1st level menu items (Applications, Infrastructure,\r\nMachine learning, Other tools) toggles the panel on the right\r\n(arrowRight).\r\n- The icon was changed from the four small squares to the right-facing\r\ncaret\r\n- The sub-nav menu slides out to the right whenever the label OR the\r\nicon are clicked\r\n- `Getting started` in the footer was renamed to `Add data`\r\n- `Data Set Quality` was added under `Stack Management > Data` section\r\nbelow `Index Management`\r\n\r\n\r\n## Functional Tests\r\nSome tests have been added that test:\r\n- toggling of the panel when clicking on the link button\r\n- `AI assistant` changes\r\n- `Infrastructure` changes\r\n- `Other Tools` changes\r\n- `Machine Learning` changes\r\n\r\n\r\n## What this PR doesn't do\r\nI faced some issues with the footer, so footer will be separately\r\nhandled in this [issue](https://github.com/elastic/kibana/issues/192865)\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>\r\nCo-authored-by: Sébastien Loix <sebastien.loix@elastic.co>\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Dominique Clarke <dominique.clarke@elastic.co>","sha":"ab715099b0310019e44ed203bd0b5b3fab50f650"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/192805","number":192805,"mergeCommit":{"message":"Implement new nav hierarchy for stateful/cloud (#192805)\n\n<strike>Depends on https://github.com/elastic/kibana/issues/193526,\r\nWON'T FIX</strike>\r\n\r\nFixes https://github.com/elastic/kibana/issues/192803\r\nFixes https://github.com/elastic/kibana/issues/191509\r\n\r\nThis PR updates the nav hierarchy for stateful/cloud and changes the\r\n`accordion` to `panelOpener`. The menu items have been updated according\r\nto the Figma file and the discussions happening in this\r\n[issue](#192050). I took a video\r\nbelow of how the new navigation looks like with the new changes\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/e73c8dd9-b674-4146-bcde-443490569502\r\n\r\n## What was changed\r\n- AI & ML menu is removed and split into\r\n - `AI Assistant`\r\n- `Machine learning`: this menu was already present in the footer, it\r\nwas moved in the body (after Infrastucture)\r\n- `Applications` now opens a `panelOpener` instead of an `accordion`\r\n - Synthetics was moved to a new section\r\n - “User Experience” was renamed to “User experience” \r\n- `Infrastucture` now opens a `panelOpener` instead of an `accordion`\r\n - Universal Profiling was moved to a separate section below\r\n - Metrics Explorer was renamed to Metrics explorer\r\n- `Machine learning` now opens a `panelOpener` instead of an `accordion`\r\n- `Supplied Configurations` was added under the Machine learning >\r\nAnomaly Detection section.\r\n- The machine learning `link:\r\n'securitySolutionUI:machine_learning-landing'` was completely removed.\r\nClicking on the `Machine learning` link will slide out the panel instead\r\n(same behavior with clicking on the icon). More details about why I\r\nremoved this\r\n[here](https://github.com/elastic/kibana/pull/192805#issuecomment-2359368851)\r\n - Use sentence/case for the menu items\r\n- `Other tools` now opens a `panelOpener` instead of an `accordion`\r\n - Logs anomalies was added here\r\n - Logs categories was added here\r\n - Visualize library was added\r\n- Clicking on the 1st level menu items (Applications, Infrastructure,\r\nMachine learning, Other tools) toggles the panel on the right\r\n(arrowRight).\r\n- The icon was changed from the four small squares to the right-facing\r\ncaret\r\n- The sub-nav menu slides out to the right whenever the label OR the\r\nicon are clicked\r\n- `Getting started` in the footer was renamed to `Add data`\r\n- `Data Set Quality` was added under `Stack Management > Data` section\r\nbelow `Index Management`\r\n\r\n\r\n## Functional Tests\r\nSome tests have been added that test:\r\n- toggling of the panel when clicking on the link button\r\n- `AI assistant` changes\r\n- `Infrastructure` changes\r\n- `Other Tools` changes\r\n- `Machine Learning` changes\r\n\r\n\r\n## What this PR doesn't do\r\nI faced some issues with the footer, so footer will be separately\r\nhandled in this [issue](https://github.com/elastic/kibana/issues/192865)\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>\r\nCo-authored-by: Sébastien Loix <sebastien.loix@elastic.co>\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Dominique Clarke <dominique.clarke@elastic.co>","sha":"ab715099b0310019e44ed203bd0b5b3fab50f650"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Panagiota Mitsopoulou <panagiota.mitsopoulou@elastic.co>
<strike>Depends on elastic#193526, WON'T FIX</strike> Fixes elastic#192803 Fixes elastic#191509 This PR updates the nav hierarchy for stateful/cloud and changes the `accordion` to `panelOpener`. The menu items have been updated according to the Figma file and the discussions happening in this [issue](elastic#192050). I took a video below of how the new navigation looks like with the new changes https://github.com/user-attachments/assets/e73c8dd9-b674-4146-bcde-443490569502 ## What was changed - AI & ML menu is removed and split into - `AI Assistant` - `Machine learning`: this menu was already present in the footer, it was moved in the body (after Infrastucture) - `Applications` now opens a `panelOpener` instead of an `accordion` - Synthetics was moved to a new section - “User Experience” was renamed to “User experience” - `Infrastucture` now opens a `panelOpener` instead of an `accordion` - Universal Profiling was moved to a separate section below - Metrics Explorer was renamed to Metrics explorer - `Machine learning` now opens a `panelOpener` instead of an `accordion` - `Supplied Configurations` was added under the Machine learning > Anomaly Detection section. - The machine learning `link: 'securitySolutionUI:machine_learning-landing'` was completely removed. Clicking on the `Machine learning` link will slide out the panel instead (same behavior with clicking on the icon). More details about why I removed this [here](elastic#192805 (comment)) - Use sentence/case for the menu items - `Other tools` now opens a `panelOpener` instead of an `accordion` - Logs anomalies was added here - Logs categories was added here - Visualize library was added - Clicking on the 1st level menu items (Applications, Infrastructure, Machine learning, Other tools) toggles the panel on the right (arrowRight). - The icon was changed from the four small squares to the right-facing caret - The sub-nav menu slides out to the right whenever the label OR the icon are clicked - `Getting started` in the footer was renamed to `Add data` - `Data Set Quality` was added under `Stack Management > Data` section below `Index Management` ## Functional Tests Some tests have been added that test: - toggling of the panel when clicking on the link button - `AI assistant` changes - `Infrastructure` changes - `Other Tools` changes - `Machine Learning` changes ## What this PR doesn't do I faced some issues with the footer, so footer will be separately handled in this [issue](elastic#192865) --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Sébastien Loix <sebastien.loix@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co>
Depends on #193526, WON'T FIXFixes #192803
Fixes #191509
This PR updates the nav hierarchy for stateful/cloud and changes the
accordiontopanelOpener. The menu items have been updated according to the Figma file and the discussions happening in this issue. I took a video below of how the new navigation looks like with the new changesScreen.Recording.2024-09-19.at.01.10.49.mov
What was changed
AI AssistantMachine learning: this menu was already present in the footer, it was moved in the body (after Infrastucture)Applicationsnow opens apanelOpenerinstead of anaccordionInfrastucturenow opens apanelOpenerinstead of anaccordionMachine learningnow opens apanelOpenerinstead of anaccordionSupplied Configurationswas added under the Machine learning > Anomaly Detection section.link: 'securitySolutionUI:machine_learning-landing'was completely removed. Clicking on theMachine learninglink will slide out the panel instead (same behavior with clicking on the icon). More details about why I removed this hereOther toolsnow opens apanelOpenerinstead of anaccordionGetting startedin the footer was renamed toAdd dataData Set Qualitywas added underStack Management > Datasection belowIndex ManagementFunctional Tests
Some tests have been added that test:
AI assistantchangesInfrastructurechangesOther ToolschangesMachine LearningchangesWhat this PR doesn't do
I faced some issues with the footer, so footer will be separately handled in this issue