-
Notifications
You must be signed in to change notification settings - Fork 1
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 the ability to override the TopMenu component on the MainLayout via IOC #472
Add the ability to override the TopMenu component on the MainLayout via IOC #472
Conversation
My other idea would be to move the components that we load on the body of the TopMenu (ApplicationMenu, ModelMenu, SessionMenu) to the RegisteredAuthorizedMenuEntries that we register on the IOC. This would make it so anything that depends on this app will not have these loaded by default on the top header. What do you think @antoineatrhea ? Edit: waiting on feedback before fixing up the code coverage. |
@Robbware fine for me |
Revert "Add the ability to override the TopMenu component on the MainLayout" This reverts commit 46c3043. Use IOC to load all Items within the TopMenu
46c3043
to
742e1f4
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information The version of Java (11.0.20.1) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. |
@@ -59,5 +59,7 @@ public interface IRegistrationService | |||
/// Gets the <see cref="Type" /> to use as MainLayout for the application | |||
/// </summary> | |||
Type MainLayoutType { get; } | |||
|
|||
Type TopMenuType { get; } |
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.
Missing documentation
Prerequisites
Description
This will allow us to override the TopMenu component that is rendered on the MainLayout.