-
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 ContainedStereotypes BagPartSettings to allow a user to include content-types by steryotype #11978
Add ContainedStereotypes BagPartSettings to allow a user to include content-types by steryotype #11978
Conversation
This PR is also related to PR #11978 |
src/OrchardCore.Modules/OrchardCore.Flows/Drivers/BagPartDisplayDriver.cs
Outdated
Show resolved
Hide resolved
src/OrchardCore.Modules/OrchardCore.Flows/Drivers/BagPartDisplayDriver.cs
Outdated
Show resolved
Hide resolved
src/OrchardCore.Modules/OrchardCore.Flows/Settings/BagPartSettingsDisplayDriver.cs
Show resolved
Hide resolved
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.
Looks good, except few comments
src/OrchardCore.Modules/OrchardCore.Flows/Views/BagPartSettings.Edit.cshtml
Outdated
Show resolved
Hide resolved
...hardCore/OrchardCore.ContentManagement.Abstractions/Metadata/Models/ContentTypeExtensions.cs
Show resolved
Hide resolved
...hardCore/OrchardCore.ContentManagement.Abstractions/Metadata/Models/ContentTypeExtensions.cs
Show resolved
Hide resolved
src/OrchardCore.Modules/OrchardCore.Flows/Views/BagPartSettings.Edit.cshtml
Show resolved
Hide resolved
src/OrchardCore.Modules/OrchardCore.Flows/Views/BagPartSettings.Edit.cshtml
Show resolved
Hide resolved
src/OrchardCore.Modules/OrchardCore.Flows/Views/BagPartSettings.Edit.cshtml
Show resolved
Hide resolved
src/OrchardCore.Modules/OrchardCore.Flows/Views/BagPartSettings.Edit.cshtml
Show resolved
Hide resolved
Let's try to not use jQuery anymore when not necessary since BS5 is not using it. And remove it piece by piece. |
src/OrchardCore.Modules/OrchardCore.Flows/Views/BagPartSettings.Edit.cshtml
Show resolved
Hide resolved
Is this mean we will remove the jQuery dependency from everywhere? |
Yes, at some point. But we are not there yet. We don't encourage using it in the meantime. |
I never mind, but we could introduce a helper function to reduce of amount code needed for basic stuff |
That would be equivalent to using JQuery right? I have no issue with JQuery but JQueryUI is what we need to get rid of. And at the same time, I don't see any issue using plain javascript. |
Right
Me too except a lot of code to do a small thing ;) |
Fix #11977
Here is a visual of how the edit view of the bag part.