-
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
[Observability stateful sidenav] Add functional tests #191509
Comments
Pinging @elastic/unified-observability (Team:Observability) |
Pinging @elastic/obs-ux-management-team (Team:obs-ux-management) |
I've moved this to "Ready" but it needs to be heavily coordinated with the work being done in its parent issue. |
@mgiota Sorry but the oblt functional tests can't live there. Those tests should be maintained by your team so it is better to have a dedicated place for them. Thanks 👍 |
<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)
<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>
@mgiota @jasonrhodes I wanted to pointed out that ideally the coverage of the side navigation links should look like in this PR from the search team. You did add here a few tests but clearly they don't cover every link declared in the observability nav. I leave it to you to decide if you think it would be good to add more coverage, but I wanted to share the Search PR as a reference. |
We need to add functional test coverage for the new side navigation in stateful. For the upcoming
8.16
release it will only be available to cloud users.In #189804 we exposed helpers to facilitate adding test coverage. Please refer to the PR description for info on how to get started.
The text was updated successfully, but these errors were encountered: