Skip to content
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

Add frontend extension point to wrap/augment the NavigationBar children #4362

Open
pcdavid opened this issue Jan 3, 2025 · 0 comments · May be fixed by #4448
Open

Add frontend extension point to wrap/augment the NavigationBar children #4362

pcdavid opened this issue Jan 3, 2025 · 0 comments · May be fixed by #4448

Comments

@pcdavid
Copy link
Member

pcdavid commented Jan 3, 2025

The NavigationBar component already supports several extension points.

navigationBarLeftContributionExtensionPoint (resp. navigationBarRightContributionExtensionPoint), but elements added to this are "packed" to the left side (resp. right side) of the header.

editProjectNavbarSubtitleExtensionPoint (used only in EditProjectNavbar) adds support for a subtitle displayed below the project name:

Capture d’écran du 2025-01-02 18-05-26

There is no way to add elements around the project name at the center, to replace it or add some context (for example to be used in custom ProjectContextMenuItem elements).

It should be possible to support all of these use cases, and more, by adding a single extension point around the <div>{children}</div> part of NavigationBar.

@pcdavid pcdavid added this to the 2025.2.0 milestone Jan 3, 2025
@pcdavid pcdavid self-assigned this Jan 3, 2025
pcdavid added a commit that referenced this issue Jan 21, 2025
pcdavid added a commit that referenced this issue Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant