-
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
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
@@ -32539,14 +32539,10 @@ | |||
"xpack.observability.obltNav.apm.syntheticsGroupTitle": "Synthetics", | |||
"xpack.observability.obltNav.applications": "Applications", | |||
"xpack.observability.obltNav.devTools": "Outils de développeur", | |||
"xpack.observability.obltNav.getStarted": "Démarrer", |
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.
This menu item was renamed to Add data
, so I added a new key xpack.observability.obltNav.addData
and this was removed.
"xpack.observability.obltNav.headerSolutionSwitcher.obltSolutionTitle": "Observabilité", | ||
"xpack.observability.obltNav.infrastructure": "Infrastructure", | ||
"xpack.observability.obltNav.infrastructure.universalProfiling": "Universal Profiling", | ||
"xpack.observability.obltNav.management": "Gestion", | ||
"xpack.observability.obltNav.ml.aiAndMlGroupTitle": "IA et ML", |
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.
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.
"xpack.observability.obltNav.headerSolutionSwitcher.obltSolutionTitle": "Observabilité", | ||
"xpack.observability.obltNav.infrastructure": "Infrastructure", | ||
"xpack.observability.obltNav.infrastructure.universalProfiling": "Universal Profiling", | ||
"xpack.observability.obltNav.management": "Gestion", | ||
"xpack.observability.obltNav.ml.aiAndMlGroupTitle": "IA et ML", | ||
"xpack.observability.obltNav.ml.changePointDetection": "Modifier la détection du point", |
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.
Change point detection appears here under Machine Learning
"xpack.observability.obltNav.headerSolutionSwitcher.obltSolutionTitle": "Observabilité", | ||
"xpack.observability.obltNav.infrastructure": "Infrastructure", | ||
"xpack.observability.obltNav.infrastructure.universalProfiling": "Universal Profiling", | ||
"xpack.observability.obltNav.management": "Gestion", | ||
"xpack.observability.obltNav.ml.aiAndMlGroupTitle": "IA et ML", | ||
"xpack.observability.obltNav.ml.changePointDetection": "Modifier la détection du point", | ||
"xpack.observability.obltNav.ml.job.notifications": "Notifications de tâches", |
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.
ML notifications appear here
4585899
to
2e3aab9
Compare
2e3aab9
to
f1bdd6c
Compare
@elasticmachine merge upstream |
d79ea87
to
e542e88
Compare
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.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
and move my tests there. Does this sound good?
That's sounds like a good place to me 👍 thanks!
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.
o11y nav tests added in this commit
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 for making the changes 👍
@elasticmachine merge upstream |
], | ||
}, | ||
], | ||
footer: [ |
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.
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 |
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
Starting backport for target branches: 8.x |
<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 <[email protected]> Co-authored-by: Sébastien Loix <[email protected]> Co-authored-by: kibanamachine <[email protected]> Co-authored-by: Dominique Clarke <[email protected]> (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":"[email protected]"},"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 <[email protected]>\r\nCo-authored-by: Sébastien Loix <[email protected]>\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Dominique Clarke <[email protected]>","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 <[email protected]>\r\nCo-authored-by: Sébastien Loix <[email protected]>\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Dominique Clarke <[email protected]>","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 <[email protected]>\r\nCo-authored-by: Sébastien Loix <[email protected]>\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Dominique Clarke <[email protected]>","sha":"ab715099b0310019e44ed203bd0b5b3fab50f650"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Panagiota Mitsopoulou <[email protected]>
<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 <[email protected]> Co-authored-by: Sébastien Loix <[email protected]> Co-authored-by: kibanamachine <[email protected]> Co-authored-by: Dominique Clarke <[email protected]>
Depends on #193526, WON'T FIXFixes #192803
Fixes #191509
This PR updates the nav hierarchy for stateful/cloud and changes the
accordion
topanelOpener
. 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 Assistant
Machine learning
: this menu was already present in the footer, it was moved in the body (after Infrastucture)Applications
now opens apanelOpener
instead of anaccordion
Infrastucture
now opens apanelOpener
instead of anaccordion
Machine learning
now opens apanelOpener
instead of anaccordion
Supplied Configurations
was added under the Machine learning > Anomaly Detection section.link: 'securitySolutionUI:machine_learning-landing'
was completely removed. Clicking on theMachine learning
link will slide out the panel instead (same behavior with clicking on the icon). More details about why I removed this hereOther tools
now opens apanelOpener
instead of anaccordion
Getting started
in the footer was renamed toAdd data
Data Set Quality
was added underStack Management > Data
section belowIndex Management
Functional Tests
Some tests have been added that test:
AI assistant
changesInfrastructure
changesOther Tools
changesMachine Learning
changesWhat this PR doesn't do
I faced some issues with the footer, so footer will be separately handled in this issue