-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Validation to prevent using DWC within DWC #14744
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
Validation to prevent using DWC within DWC #14744
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 7.x #14744 +/- ##
============================================
+ Coverage 64.75% 64.77% +0.02%
- Complexity 34823 34831 +8
============================================
Files 2283 2289 +6
Lines 103933 103954 +21
============================================
+ Hits 67297 67340 +43
+ Misses 36636 36614 -22
🚀 New features to boost your workflow:
|
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.
Thanks @fedys
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.
@fedys, the coverage needs some attention.
The code looks good to me.
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.
Description
This PR adds a new validation that prevents putting a dynamic web content token into another dynamic web content. It also renames the menu item from Dynamic Content to Dynamic Web Content.
📋 Steps to test this PR:
/s/dwc/new
.{dwc=some}
into theContent
field.Save
button.Content
field.Dynamic Content
. It should be renamed toDynamic Web Content
.