-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[4.0] Split the rules field to 2 layouts #19507
Conversation
Removed ACL tooltips due to remove in base branch. |
Thanks! |
@wilsonge Thanks :) |
Why was that Jlayout placed into |
@Bakual yeah, you are right. |
Thanks. I'll move it then in my PR 😄 |
@Bakual Thanks |
* @var boolean $hasValue Has this field a value assigned? | ||
* @var array $options Options available for this field. | ||
* | ||
* Calendar Specific |
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.
Please make a PR to correct the variables used here
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.
should I remove JLayout variables which were not used in this file?
* Name of the layout being used to render the field | ||
* | ||
* @var string | ||
* @since 3.5 |
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.
since not 3.5 but __DEPLOY_VERSION__
* | ||
* @return array | ||
* | ||
* @since 3.5 |
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.
since not 3.5 but __DEPLOY_VERSION__
'assetRules' => $this->assetRules, | ||
'isGlobalConfig' => $this->isGlobalConfig, | ||
'parentAssetId' => $this->parentAssetId, | ||
); |
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.
All these variables need to be explained in the doc block of the JLayout
@Anu1601CS Please check my comments here and please make a PR to correct the doc blocks. Thanks |
@dgt41 Thanks for review PR coming soon. |
Summary of Changes
Splits the HTML part (JLayout) into two files.
Reasons:
1: less code per file
2: more efficient caching (less allocate memory, etc)
Testing Instructions
1: Apply patch
2: Go to Admin->Global Configuration
3: Check Permissions working as before
Expected result
This is code improvement
Actual result
Same as before
Documentation Changes Required
Yes