Skip to content

[SideNav] v1 NavTree Structure Clean-Up#241943

Merged
Dosant merged 49 commits intoelastic:mainfrom
Dosant:d/sidenav-cleanup-2
Nov 25, 2025
Merged

[SideNav] v1 NavTree Structure Clean-Up#241943
Dosant merged 49 commits intoelastic:mainfrom
Dosant:d/sidenav-cleanup-2

Conversation

@Dosant
Copy link
Copy Markdown
Contributor

@Dosant Dosant commented Nov 5, 2025

Summary

Follow up to #241114

This time we cleaning up everything related to the navigation trees structure that is no longer needed in new nav

Guidance:

  • Use TypeScript errors to see what needs to be cleaned up:
  • All V1 property no longer needed. Please Review. V1 branches no longer needed
  • V2 properties renamed: iconV2 -> icon; badgeTypeV2 -> badgeType
  • Body and Footer no longer need intermediate root nodes! The nav nodes should go directly under body: [/* nodes / ], footer: [/ footer */]
  • @justinkambic, @ashokaditya, use search trees as an example. I cleaned it up.

});

export const navigationTree = ({ isAppRegistered }: ApplicationStart): NavigationTreeDefinition => {
function isAvailable<T>(appId: string, content: T): T[] {
Copy link
Copy Markdown
Contributor Author

@Dosant Dosant Nov 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need for this check afaik because it should be handled by navlinks status.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, I'd have to look through to git blame to see when this got added an what it was trying to address since nav link should have always handled this.

Copy link
Copy Markdown
Contributor

@smith smith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

obs-ui changes look good.

Copy link
Copy Markdown
Contributor

@abhishekbhatia1710 abhishekbhatia1710 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@elastic-vault-github-plugin-prod elastic-vault-github-plugin-prod bot requested a review from a team as a code owner November 24, 2025 14:14
Copy link
Copy Markdown
Contributor

@PhilippeOberti PhilippeOberti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving to unblock the PR but I'm still a bit confused about why the Value report is not working

@elastic-vault-github-plugin-prod elastic-vault-github-plugin-prod bot requested a review from a team as a code owner November 25, 2025 10:31
@Dosant Dosant removed the request for review from a team November 25, 2025 14:16
@elasticmachine
Copy link
Copy Markdown
Contributor

⏳ Build in-progress

  • Buildkite Build
  • Commit: 6db2354
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-241943-6db2354d7b34

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #40 / Serverless Common UI - Management Data View Management index pattern filter "after all" hook for "should set "conflict" filter when "View conflicts" button is pressed"
  • [job] [logs] FTR Configs #40 / Serverless Common UI - Management Data View Management index pattern filter "before all" hook for "should filter indexed fields by type"

History

Copy link
Copy Markdown
Contributor

@justinkambic justinkambic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Dosant Dosant enabled auto-merge (squash) November 25, 2025 16:10
@Dosant Dosant merged commit e96cf28 into elastic:main Nov 25, 2025
13 checks passed
umbopepato pushed a commit to umbopepato/kibana that referenced this pull request Nov 25, 2025
## Summary

Follow up to elastic#241114

This time we cleaning up everything related to the navigation trees
structure that is no longer needed in new nav

- [x] Platform @Dosant 
- [x] Search @Dosant (@TattdCodeMonkey to review)
- [x] Oblt @justinkambic 
- [x] Security @ashokaditya 

Guidance: 

- Use TypeScript errors to see what needs to be cleaned up:
- All V1 property no longer needed. Please Review. V1 branches no longer
needed
 - V2 properties renamed: iconV2 -> icon; badgeTypeV2 -> badgeType
- Body and Footer no longer need intermediate root nodes! The nav nodes
should go directly under body: [/* nodes */ ], footer: [/* footer */]
- @justinkambic, @ashokaditya, use search trees as an example. I cleaned
it up.

---------

Co-authored-by: Justin Kambic <jk@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Ashokaditya <ashokaditya@elastic.co>
seanrathier pushed a commit to seanrathier/kibana that referenced this pull request Nov 25, 2025
## Summary

Follow up to elastic#241114

This time we cleaning up everything related to the navigation trees
structure that is no longer needed in new nav

- [x] Platform @Dosant 
- [x] Search @Dosant (@TattdCodeMonkey to review)
- [x] Oblt @justinkambic 
- [x] Security @ashokaditya 

Guidance: 

- Use TypeScript errors to see what needs to be cleaned up:
- All V1 property no longer needed. Please Review. V1 branches no longer
needed
 - V2 properties renamed: iconV2 -> icon; badgeTypeV2 -> badgeType
- Body and Footer no longer need intermediate root nodes! The nav nodes
should go directly under body: [/* nodes */ ], footer: [/* footer */]
- @justinkambic, @ashokaditya, use search trees as an example. I cleaned
it up.

---------

Co-authored-by: Justin Kambic <jk@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Ashokaditya <ashokaditya@elastic.co>
eokoneyo pushed a commit to eokoneyo/kibana that referenced this pull request Dec 2, 2025
## Summary

Follow up to elastic#241114

This time we cleaning up everything related to the navigation trees
structure that is no longer needed in new nav

- [x] Platform @Dosant 
- [x] Search @Dosant (@TattdCodeMonkey to review)
- [x] Oblt @justinkambic 
- [x] Security @ashokaditya 

Guidance: 

- Use TypeScript errors to see what needs to be cleaned up:
- All V1 property no longer needed. Please Review. V1 branches no longer
needed
 - V2 properties renamed: iconV2 -> icon; badgeTypeV2 -> badgeType
- Body and Footer no longer need intermediate root nodes! The nav nodes
should go directly under body: [/* nodes */ ], footer: [/* footer */]
- @justinkambic, @ashokaditya, use search trees as an example. I cleaned
it up.

---------

Co-authored-by: Justin Kambic <jk@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Ashokaditya <ashokaditya@elastic.co>
JordanSh pushed a commit to JordanSh/kibana that referenced this pull request Dec 9, 2025
## Summary

Follow up to elastic#241114

This time we cleaning up everything related to the navigation trees
structure that is no longer needed in new nav

- [x] Platform @Dosant 
- [x] Search @Dosant (@TattdCodeMonkey to review)
- [x] Oblt @justinkambic 
- [x] Security @ashokaditya 

Guidance: 

- Use TypeScript errors to see what needs to be cleaned up:
- All V1 property no longer needed. Please Review. V1 branches no longer
needed
 - V2 properties renamed: iconV2 -> icon; badgeTypeV2 -> badgeType
- Body and Footer no longer need intermediate root nodes! The nav nodes
should go directly under body: [/* nodes */ ], footer: [/* footer */]
- @justinkambic, @ashokaditya, use search trees as an example. I cleaned
it up.

---------

Co-authored-by: Justin Kambic <jk@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Ashokaditya <ashokaditya@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting ci:project-deploy-observability Create an Observability project release_note:skip Skip the PR/issue when compiling release notes Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. Team:obs-ux-management Team:SharedUX Platform AppEx-SharedUX (formerly Global Experience) t// v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.