-
Notifications
You must be signed in to change notification settings - Fork 1.3k
For #26551 - Add telemetry for MR Onboarding welcome and sync dialogs. #26596
Conversation
Request for data collection review formAll questions are mandatory. You must receive review from a data steward peer on your responses to these questions before shipping new data collection.
|
This pull request has conflicts when rebasing. Could you fix it @Alexandru2909? 🙏 |
…d sync dialogs.
IconButton( | ||
onClick = { | ||
if (onboardingState == OnboardingState.Welcome) { | ||
OnboardingMetrics.welcomeCloseClicked.record(NoExtras()) |
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.
I'm shocked that the Glean metrics don't break the Compose previews lol. I feel the metrics could live within HomeOnboardingDialogFragment
though. @gabrielluong, do you have a strong opinion on this?
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.
I think this is fine for now. I would want to look at refactoring some of this and make use of an Interactor so that we can test this, but that can be a followup after this lands.
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.
Code looks good to me, but we'll need a data review
Data Review
Yes, through the metrics.yaml file and the Glean Dictionary.
Yes, through the "Send Usage Data" preference in the application settings.
N/A, collection to end by version 119
Category 2, Interaction data
Default-on
No
Yes
No Resultdata-review+ |
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.
data-review+
Added telemetry for MR onboarding welcome and sync dialogs.
Pull Request checklist
QA
To download an APK when reviewing a PR (after all CI tasks finished running):
Checks
at the top of the PR page.firefoxci-taskcluster
group on the left to expand all tasks.build-debug
task.View task in Taskcluster
in the newDETAILS
section.GitHub Automation
Fixes #26551