Add settings toggle for Fenix DAU ping
Categories
(Firefox for Android :: Settings, enhancement, P1)
Tracking
()
People
(Reporter: Gijs, Assigned: zmckenney)
References
(Blocks 1 open bug)
Details
Attachments
(6 files)
For the additional DAU ping we will want a separate settings toggle that controls whether it is uploaded.
When we add this, we must make sure that for any users that have already disabled telemetry, the new ping is also disabled.
Content design for this work has not been finalized so this is not actionable as yet.
| Reporter | ||
Updated•1 year ago
|
Comment 1•1 year ago
|
||
Adding a link to a Jira clone of this bug simply for task tracking purposes. The majority of conversation should happen here in Bugzilla.
Comment 2•1 year ago
|
||
The severity field is not set for this bug.
:royang, could you have a look please?
For more information, please visit BugBot documentation.
Comment 3•1 year ago
|
||
:gijs, this issue seems to be a task. Is this issue a defect? Thanks
| Reporter | ||
Comment 4•1 year ago
|
||
(In reply to Roger Yang [:royang] from comment #3)
:gijs, this issue seems to be a task. Is this issue a defect? Thanks
It's either a defect or enhancement, as the end result is user-visible (unlike tasks). 302 to Polly on her preferences for how to grade this.
Updated•1 year ago
|
Comment 5•1 year ago
|
||
:D nice 302-ing!
i think it's probably an enhancement, but will not fight anyone who disagrees
Updated•1 year ago
|
Updated•1 year ago
|
Comment 6•1 year ago
•
|
||
Jan-Erik has suggested a way forward for this. In summary:
Client apps will need to generate and store a new dau_id for the lifetime of the app.
Steps:
- add a new
usage:profile_idmetric tofenix/app/metrics.yaml("the dau id") - on first launch of the app when Glean is initialised, call
Dau.id.generateAndSet()and save the returned usage profile id string in aPreference - on subsequent launches of the app:
-- if upload is enabled, retrieve the usage profile id value from the preference and callDau.id.set(dauId)
-- if upload is disabled, unset the usage profile id
When the daily usage ping switch is toggled:
- ON: generate and set the usage profile id & store in preference
- OFF: unset the usage profile id
NB unsetting the usage profile id is achieved by setting the UUID to a canary value: Dau.id.set('beefbeef-beef-beef-beef-beeefbeefbee')
Comment 7•1 year ago
•
|
||
more detailed description here: https://docs.google.com/document/d/1leZN_CUREyfpT3xzI9-6vU5hw52bOkN0Y4Zr67hjXAE/edit?tab=t.0#heading=h.hk6l07cjhhu
link to desktop version of this logic: https://phabricator.services.mozilla.com/D226766#change-LA3ck9LOHpzu
Comment 8•1 year ago
•
|
||
link to new ui designs for settings page now signed off by legal! :tada:
NB the ui designs don't show the "Automatically submit crash reports" switch, which was added recently, but it is intended to be on the screen above the "Studies" link.
Updated•1 year ago
|
Comment 9•1 year ago
|
||
WIP
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 10•1 year ago
|
||
Comment 11•1 year ago
|
||
| bugherder | ||
Comment 12•1 year ago
|
||
reopening because the ping is in but the switch part still needs doing
Updated•1 year ago
|
Comment 13•1 year ago
|
||
NB the daily usage ping switch and "learn more" link should follow the style of the existing settings on the page. We are adding content, not changing any existing settings styles (some early designs show these somewhat differently to the current ones).
Please see attached mock up.
Comment 14•1 year ago
|
||
Comment 15•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 16•1 year ago
|
||
Updated•1 year ago
|
Comment 17•1 year ago
|
||
Comment 18•1 year ago
|
||
Comment 19•1 year ago
|
||
Comment 20•1 year ago
|
||
Comment 21•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/3c5eeacc3778
https://hg.mozilla.org/mozilla-central/rev/f363ed147d13
https://hg.mozilla.org/mozilla-central/rev/c6a0b0495b40
Comment 23•1 year ago
|
||
no, i don't think this should go to beta - it's going through QA rn and i think the plan is for a bunch of related stuff to land in 136.
thanks for checking though :)
Updated•1 year ago
|
Description
•