Closed Bug 2037072 Opened 2 months ago Closed 2 months ago

Don't show the review prompt if the continuous onboarding has not been completed

Categories

(Firefox for Android :: Onboarding, task)

All
Android
task

Tracking

()

VERIFIED FIXED
152 Branch
Tracking Status
firefox150 --- verified
firefox151 --- verified
firefox152 --- verified

People

(Reporter: towhite, Assigned: towhite)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid][group2])

Attachments

(4 files)

Both ratings and notifications prompts from day 2 onboarding can trigger at the same time.

ReviewPromptMiddlewareTest are NOT updated here as this requires uplift, and ReviewPromptMiddlewareTest was updated in https://bugzilla.mozilla.org/show_bug.cgi?id=2030917 which will require a large and potentially complicated number of additional uplifts.

ReviewPromptMiddlewareTest is not updated here because this change requires uplift. The test file was updated in https://bugzilla.mozilla.org/show_bug.cgi?id=2030917 (which added the kotlin test lib and updated a number of other test files), and including that update would require a large, potentially complicated set of additional uplifts.

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

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

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: Users could be spammed by dialogs during continuous onboarding, resulting in negative reviews when propmted for a review
  • Code covered by automated testing?: no
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: yes
  • Steps to reproduce for manual QE testing: See bug details
  • Risk associated with taking this patch: low
  • Explanation of risk level: No user risk, this only affects the custom review prompt show logic - which will be delayed until the continuous onboarding is complete
  • String changes made/needed?: -
  • Is Android affected?: yes
Flags: qe-verify+

ReviewPromptMiddlewareTest is not updated here because this change requires uplift. The test file was updated in https://bugzilla.mozilla.org/show_bug.cgi?id=2030917 (which added the kotlin test lib and updated a number of other test files), and including that update would require a large, potentially complicated set of additional uplifts.

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

Attachment #9583598 - Flags: approval-mozilla-release?

firefox-release Uplift Approval Request

  • User impact if declined/Reason for urgency: Users could be spammed by dialogs during continuous onboarding, resulting in negative reviews when propmted for a review
  • Code covered by automated testing?: no
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: yes
  • Steps to reproduce for manual QE testing: See bug details
  • Risk associated with taking this patch: low
  • Explanation of risk level: No user risk, this only affects the custom review prompt show logic - which will be delayed until the continuous onboarding is complete
  • String changes made/needed?: -
  • Is Android affected?: yes
Pushed by icedicedcoffee@proton.me: https://github.com/mozilla-firefox/firefox/commit/cdc15e38376b https://hg.mozilla.org/integration/autoland/rev/9892d87df727 Don't show the review prompt if the continuous onboarding has not been completed. r=android-reviewers,rebecatudor273
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
Attachment #9583597 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Verified on the latest Firefox for Android Nightly 152.0a1 from 5/7, and on Beta 151.0b7, using a Samsung Galaxy Tab S9 Ultra (Android 16), and on Google Pixel 6 (Android 17).
The review prompt is not displayed while the continuous onboarding cards are displayed.

However, the review prompt was not displayed at all after this scenarios:

  1. Day 1: accept ToU, set as default.
  2. Day 2: don't allow Notifications.
  3. Day 7: allow Notifications.
  4. Browse a few pages.
  5. Day 14: don't sign in.

OR:

  1. Day 1: accept ToU, set as default.
  2. Day 2: allow Notifications & browse a few pages.
  3. Day 7: sign in.

Tom, can I trigger the review prompt with a different scenario?

Flags: needinfo?(towhite)
Attachment #9583598 - Flags: approval-mozilla-release? → approval-mozilla-release+

Mira, thanks for the heads up! The current logic is:

  • User has not been prompted in the last 4 months
  • Firefox is set as the default browser
  • Firefox has been opened at least 5 times

Does that align with the above testing?

Flags: needinfo?(towhite) → needinfo?(mlobontiuroman)
QA Whiteboard: [qa-triage-done-c152/b151]

Hi Tom,
I've retested with the current logic, and the review prompt was displayed correctly, after the continuous onboarding was finished. Tested on Firefox for Android Beta 151.0b9, and on Firefox for Android 150.0.3.

Tested with a Samsung Galaxy S24 (Android 16).

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triage-done-c152/b151]
Flags: needinfo?(mlobontiuroman)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: