Closed Bug 1955469 Opened 1 month ago Closed 26 days ago

[Spike] Investigate suppressing the Windows set default guidance notification toast via messaging system action

Categories

(Firefox :: Messaging System, defect, P1)

defect
Points:
5

Tracking

()

RESOLVED FIXED
139 Branch
Iteration:
139.1 - Mar 31 - Apr 11
Tracking Status
firefox138 --- fixed
firefox139 --- fixed

People

(Reporter: cgordon, Assigned: mviar)

References

(Blocks 1 open bug)

Details

(Whiteboard: [omc] )

Attachments

(2 files)

MSFT’s 1-click intervention is in progress and as a result we are seeing increasing default failure rates. Our guidance notification is critical to users who want to set Firefox as default but are inhibited by 1-click set to default failures. We would like to test out alternatives to the guidance notification such as including instructions in our message surface and the ability to open the windows setting from the message CTA rather than from a guidance notification. This would reduce the number of clicks for users who want to set Firefox as their default browser.

This spike can be linked to an upcoming guidance notification optimization test (Link: https://mozilla-hub.atlassian.net/browse/FXE-1293)

Severity: -- → S3
Type: task → defect
Iteration: --- → 138.2 - Mar 17 - Mar 28
Points: --- → 5
Priority: -- → P1
Assignee: nobody → mviar

I believe what you're proposing is already the default experience when 1-click set to default is disabled. When the SET_DEFAULT_BROWSER special message action is triggered, the Windows Apps > Default apps > Firefox settings page is automatically opened (currently the guidance notification is also shown).

Should the scope of this bug be to explore conditionally preventing the guidance notification from showing? And/or having targeting like oneClickDefaultEnabled to determine if we need to include guidance in the message or, if 1-click is enabled, show a simpler message without guidance?

Flags: needinfo?(cgordon)

After discussion with Courtney, updating this bug to explore suppressing the guidance notification toast for setting default on Windows for select messaging system messages.

Summary: [Spike] Opening windows setting from a CTA button to set Firefox as default browser → [Spike] Investigate suppressing the Windows set default guidance notification toast via messaging system action
Iteration: 138.2 - Mar 17 - Mar 28 → 139.1 - Mar 31 - Apr 11

For experimentation purposes, we already have the ability to turn off guidance notification globally. However, we may want to suppress the guidance notification for a single set default action from a message that includes built-in guidance.

_maybeShowSetDefaultGuidanceNotification checks the Nimbus feature variable "setDefaultGuidanceNotifications". This variable's fallback pref "browser.shell.setDefaultGuidanceNotifications" can also be set to false to prevent showing set default guidance notifications.

We can use set orderedExecution to true with a MULTI_ACTION that sets the guidance notification pref to false, then triggers set default, then sets the pref back to true:

                  "action": {
                    "type": "MULTI_ACTION",
                    "data": {
                      "orderedExecution": true,
                      "actions": [
                        {
                          "type": "SET_PREF",
                          "data": {
                            "pref": {
                              "name": "browser.shell.setDefaultGuidanceNotifications",
                              "value": false
                            }
                          }
                        },
                        {
                          "type": "SET_DEFAULT_BROWSER"
                        },
                        {
                          "type": "SET_PREF",
                          "data": {
                            "pref": {
                              "name": "browser.shell.setDefaultGuidanceNotifications",
                              "value": true
                            }
                          }
                        }
                      ]
                    }

Only one small on-train change is required: Add "browser.shell.setDefaultGuidanceNotifications" to list of allowed prefs for SET_PREF Special Message Action.

Flags: needinfo?(cgordon)

@Courtney, see proposal above. If you'd like to experiment with this in 138, we could aim to uplift the attached patch (it's one-line and very low risk). Let me know what you think.

Flags: needinfo?(cgordon)
Attachment #9476640 - Attachment is obsolete: true
Attachment #9476640 - Attachment is obsolete: false

(duplicate comment removed)

@meg, yes, uplifting to Fx138 would be great please. Thank you so much for the quick turnaround!

Flags: needinfo?(cgordon)
Attachment #9476640 - Attachment description: Bug 1955469 - Investigate suppressing the Windows set default guidance notification toast via messaging system action → Bug 1955469 - Add Windows guidance notification pref to the SMA allowed prefs list

To facilitate suppressing the Windows set default guidance notification toast via messaging system action

Original Revision: https://phabricator.services.mozilla.com/D244180

Attachment #9476935 - Flags: approval-mozilla-beta?

beta Uplift Approval Request

  • User impact if declined: With the rapid decline of 1-click set to default on Windows, we want to provide better guidance to users when offering the option to set default via Messaging System. Without this patch, we'll be unable to experiment with more intuitive guidance notifications in Fx138 delaying out ability to gain insight into which approaches are most effective.
  • Code covered by automated testing: no
  • Fix verified in Nightly: no
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: n/a
  • Risk associated with taking this patch: Low
  • Explanation of risk level: This patch only adds a pref to the allowed list for special message actions. It does not change behavior for users, but rather allows us to alter this pref in future experiments.
  • String changes made/needed: n/a
  • Is Android affected?: no
Pushed by mviar@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c6e60ef15b49 Add Windows guidance notification pref to the SMA allowed prefs list r=omc-reviewers,negin
Status: NEW → RESOLVED
Closed: 26 days ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch
Attachment #9476935 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: