-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 AdminNavigationProvider to cleanup AdminMenu #16674
Conversation
Can we hold this after |
I am hoping for 2.0.0 because we did lots of enhancements to the AdminMenu including introducing the |
I understand but I have many things to do before I suggest organizing the release period every time giving some time for test and integrating the newly added functionality and rejecting any modification in the preview unless it's critical. FYI I already saw such thing in many OSS including ASP.NET Core itself |
Nothing related to translation was changed here. So it should not impact anything you have done. But I understand your concern. My concern is to reduce the amount of work needed that is going to be needed during upgrade. In this case, I think this PR is fair and will make things easy. Maybe instead of debating, checkout the PR and test it out? |
src/OrchardCore/OrchardCore.Navigation.Core/NavigationProviderBase.cs
Outdated
Show resolved
Hide resolved
To be honest I have many things in PO Extractor Tool & Orchard Core Contrib. I told you PRs in the release time need time for testing & integration |
OK with me on these conditions, and it's fine if you can find someone else to OK it without my conditions, you pick which approval you need ;)
|
I already something quite similar to Seb suggestion in Orchard Core Contrib long time ago, I will check the PR very soon, but we need to fix the build issue first |
src/OrchardCore/OrchardCore.Navigation.Core/AdminMenuNavigationProvider.cs
Outdated
Show resolved
Hide resolved
Why the functional tests are skipped? |
@hishamco they are triggered after approval. |
I like this 💯 |
Instead of the
NavigationHelper.IsAdminMenu
helper that was introduced in this version,AdminNavigationProvider
allows us to cleanup our code and build the navigation with less and cleaner code.Since we already introduced a breaking change in 2.0.0 for
INavigationProvider
, I think this PR should be part of 2.0.0 this way people can modify their Admin Menu once and address all the improvements at once.