-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
fix: "data collection for marketing" from PR #9687 #9905
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
@NicolasMassart i know this is still a WIP, but flagging for the "When not checking marketing checkbox" use case we should still send second question, in your examples why is |
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!
add section render test
Yes, noticed this issue too while writing tests, I'm on it. It has been missed on the initial PR.
I wondered that too. It seems to be caused by changes made in MetaMetrics #9411 |
# Conflicts: # app/components/UI/OptinMetrics/__snapshots__/index.test.tsx.snap # app/components/Views/Settings/SecuritySettings/SecuritySettings.tsx
Quality Gate passedIssues Measures |
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.
Left some comments
...ettings/Sections/MetaMetricsAndDataCollectionSection/MetaMetricsAndDataCollectionSection.tsx
Show resolved
Hide resolved
...ettings/Sections/MetaMetricsAndDataCollectionSection/MetaMetricsAndDataCollectionSection.tsx
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.
LGTM
Bitrise✅✅✅ Commit hash: a3b939a Note
|
See #9996 |
Description
Onboarding phase
InteractionManager.runAfterInteractions
as hook doesn't do it by default on traits addition. Move the event too even if handled already to ensure consistency with traits addition.Settings screen
but keep MetaMetrics toggle and marketing toggle together as they have been designed to work together closely.
Note
This is a rework of #9687.
I had to extract the settings section as a component for testing to be possible.
I could have split it further into MetaMEtrics seciton and Marketing data section.
but this would have required more work to make sure both components keep their linked behaviours when toggling switches.
however, this is a possible improvement. I consider we should work on this on a full settings sections refactoring, see issue #9979
Related issues
Fixes: #9862
Manual testing steps
Screenshots/Recordings
Before
Onboaring phase
When not checking marketing checkbox
and Mixpanel view
When checking marketing checkbox
and Mixpanel view:
Settings screen
Missing marketing setting events and user traits:
After
Onboaring phase
When not checking marketing checkbox
and Mixpanel view:
When checking marketing checkbox
and mixpanel view:
Settings screen
and mixpanel view:
Pre-merge author checklist
Pre-merge reviewer checklist