Disable in-product messaging for Firefox users
Background / User story
Mozilla rejected our opt-out approach for data we collect as part of our in-product messaging feature (see #1416 (closed)). Unfortunately, developing a new approach based on their feedback will take some time, so in the meantime, we should disable the in-product messaging feature altogether to at least be able to bring the latest updates to Firefox users.
Proposed solution
Presumably, we should be able to achieve this by simply changing the default preference value that we use for the data collection opt-out, as well as hide the UI where users can opt-in to it. However, we'd have to check how the extension reacts to that default preference value change, so that no user preferences are being lost in the process.
Alternatively, we could completely disable the in-product messaging feature by either (a) removing the feature from the extension builds or (b) add an explicit check to not initialize the feature for Firefox users.
What to change
- Design: N/A
- Research: N/A
- Spec: N/A
- Legal: TBD
-
Development:
- Ensure that "data_collection_opt_out" is always
true
for Firefox users. - Hide data collection opt-out section in desktop settings page for Firefox users.
- Ensure that "data_collection_opt_out" is always
Hints for testers
- Firefox users who previously already opted-out of the data collection should continue to have the "data_collection_opt_out" preference value explicitly set to
true
when retrieving it withawait browser.storage.local.get(null)
. - No data collection should ever be active for Firefox users (i.e. IPM, ML telemetry from #1617 (closed)), and there should be no way for them to enable it.
- The data collection opt-out section in the desktop settings page should be hidden for Firefox users (in addition to already being hidden for all other users).
Hints for translators
N/A