-
Notifications
You must be signed in to change notification settings - Fork 59
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
Started adding settings not available in MTM but available via _paq #943
base: 5.x-dev
Are you sure you want to change the base?
Conversation
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. I didn't test all of the settings in the JS, but things look good in the UI and store the values as expected.
The only thing that I think that's missing is a new migration using plugins/TagManager/UpdateHelper/NewVariableParameterMigrator.php.
$field->title = Piwik::translate('TagManager_MatomoConfigurationMatomoAddDownloadExtensionsTitle'); | ||
$field->description = Piwik::translate('TagManager_MatomoConfigurationMatomoAddDownloadExtensionsDescription'); | ||
$field->customFieldComponent = self::FIELD_VARIABLE_COMPONENT; | ||
$field->uiControlAttributes['showAdvancedSettings'] = 1; |
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.
This is used to add the settings under Advanced settings as we filter the value based on this property in vue.
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.
Thank you for adding the migration. It ran successfully locally 👍
I just left once question in a comment.
Updates/5.2.1.php
Outdated
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. Would it be safer to name it 5.2.1-b1 in case there's a beta version?
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.
@snake14 Makes sense 👍
Done please check
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. Thank you 👍
Description:
Started adding settings not available in MTM but available via _paq
Fixes: #PG-3907
Added below options under advanced setting in this PR
Review