Commit 93f2b5f
[Navigation] Updated Observability Serverless side nav (elastic#235984)
## Summary
Continuation of the work in elastic#232456.
Adds updated solution nav for o11y serverless.
This PR is aimed to add in the v2 nav items that correspond to the [IA
doc](https://docs.google.com/spreadsheets/d/1o6iFQWHcBNISPdhSZqE78UZzsdq6UC7x5-2_tbCO_ls/edit?pli=1&gid=582380998#gid=582380998)
for both serverless complete and logs essentials pricing tiers.
Additionally, the existing nav should remain as-is for v1.
## Testing this PR
You'll need to test both versions of the nav.
I recommend spinning up a project in serverless for complete and logs
essentials. Then step through each nav item and ensure the v1 nav works
in the exact manner as the production version. You don't need to do
anything to change the nav to use v1, as that's enabled by default.
### Commands to set up Kibana for testing
```bash
# set up Elasticsearch
yarn es serverless --projectType oblt
# serverless complete
yarn serverless-oblt
# logs essentials
yarn serverless-oblt --pricing.tiers.products='[{"name":"observability","tier":"logs_essentials"}]'
```
For testing v2, update the feature flag and compare it to the
[designs](https://www.figma.com/design/SDtdvdzPcaDZRRXMV02gSW/Solution-Side-Navigation--9.X-?node-id=6889-30080&t=07VzLCIBZ0vrOx8u-0),
paying attention to the icons.
You can configure your Kibana with the following YAML to turn on the v2
feature flag, or see both side-by-side:
```yaml
feature_flags.overrides:
# you can also set this to v2 if you only want to see the new nav in its normal position
core.chrome.projectSideNav: 'both'
```
Use the IA doc linked above as the source of truth for the contents of
all the panels.
**NOTE** you may have some trouble seeing some of the cloud link items,
or a few features. You can try setting up your config with the following
overrides that should allow your Kibana to process most of the missing
link types.
```yaml
xpack.cloud.id: 'production-deployment:fake-id'
xpack.cloud.base_url: 'https://cloud.elastic.co'
xpack.cloud.profile_url: '/profile'
xpack.cloud.billing_url: '/billing'
xpack.cloud.organization_url: '/org/my-org-id'
xpack.cloud.deployments_url: '/deployments'
xpack.cloud.deployment_url: '/deployments/prod-123'
xpack.cloud.performance_url: '/performance/prod-123'
xpack.cloud.users_and_roles_url: '/security/users'
xpack.dataUsage.enabled: true
xpack.dataUsage.enableExperimental: []
xpack.dataUsage.autoops.enabled: true
xpack.dataUsage.autoops.api.url: 'http://localhost:9000'
xpack.dataUsage.autoops.api.tls.certificate: 'http://localhost:5601'
xpack.dataUsage.autoops.api.tls.key: 'http://localhost:5601'
```
~Code is WIP.~
---------
Co-authored-by: Panagiota Mitsopoulou <[email protected]>
Co-authored-by: kibanamachine <[email protected]>1 parent ca1e310 commit 93f2b5f
File tree
19 files changed
+487
-164
lines changed- .github
- packages/kbn-optimizer
- x-pack/solutions/observability
- plugins
- observability
- public
- serverless_observability
- public
19 files changed
+487
-164
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1103 | 1103 | | |
1104 | 1104 | | |
1105 | 1105 | | |
| 1106 | + | |
1106 | 1107 | | |
1107 | 1108 | | |
1108 | 1109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
770 | 770 | | |
771 | 771 | | |
772 | 772 | | |
| 773 | + | |
773 | 774 | | |
774 | 775 | | |
775 | 776 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1498 | 1498 | | |
1499 | 1499 | | |
1500 | 1500 | | |
| 1501 | + | |
| 1502 | + | |
1501 | 1503 | | |
1502 | 1504 | | |
1503 | 1505 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments