-
Notifications
You must be signed in to change notification settings - Fork 224
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
Closes #6152: Add license type to what is reported to Mixpanel #6189
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.
Good job @Miraeld in ur first PR.
I didn't fully review it yet but I noticed this important point.
Also plz run the command
composer phpcs:fix
to automatically fix most of those reported coding standard issues.
8f1b652
to
20067c0
Compare
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.
The code needs to be updated to follow our coding standards (errors are available in the CS GH action)
143ae1e
to
ab8ea04
Compare
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.
Minor adjustments
ab8ea04
to
9917482
Compare
@Miraeld Thank you for the PR! @wp-media/productrocket The new info that will be collected is not listed here: Also, the CTA (Activate Rocket Analytics) is displayed even when Rocket Analytics is enabled. Please confirm (or not) that:
|
Yes, it should show.
No, there is no need to redisplay it if the consent is already given. |
7c4f3d3
to
bdaf22b
Compare
Adds the license type to data sent to Mixpanel.
ccec829
to
041cc58
Compare
@Miraeld Thank you for the fixes. The CTA button is not displayed but with that, the following text is hidden as well: Since that's a disclaimer notice it should stay in place. Also, and this is a late notice on my part, there is inconsistency in how various info is displayed as far as the used fonts go: This has to do with some of it being wrapped in Unless there is a specific reason to have some part in @DahmaniAdame What's your take on this? |
@vmanthos yes, uniformizing it is the way to go. |
f9f59de
to
d03608a
Compare
@vmanthos I've corrected the cta, now only the button is not displayed once rocket analytics is enabled. @vmanthos @DahmaniAdame I've taken off the |
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 the fixes, @Miraeld !
This is working as expected. 👍
Description
This will help see how representative is the current sample from opted-in users vs our current users and how reliable data collected from them to help with product decisions.
A new function has been created that returns the type of license. As this functionality is used in different files, it has been modified to use the newly created function.
Fixes #6152
Type of change
Is the solution different from the one proposed during the grooming?
Yes
Checklists
Generic development checklist
Test summary