Closed Bug 1707749 Opened 2 months ago Closed 1 month ago

New user onboarding 'Import screen' primary button label to use download source as string

Categories

(Firefox :: Messaging System, enhancement, P1)

enhancement

Tracking

()

VERIFIED FIXED
90 Branch
Iteration:
90.1 - Apr 19 - May 2
Tracking Status
firefox89 --- verified
firefox90 --- verified

People

(Reporter: pdahiya, Assigned: pdahiya)

References

(Blocks 1 open bug)

Details

(Whiteboard: [proton-onboarding] [proton-uplift])

Attachments

(1 file)

Bug 1703327, use user agent attribution to pre-select browser in import wizard triggered from new user onboarding Import screen. Scope of this bug is to

a) Update 'Import screen' primary button label to use useragent attribution string e.g. 'Import from Chrome'
b) user agent string should be localized using ftl strings from migration.ftl
c) move await doesAppNeedPin related dynamic changes from AboutWelcomeDefaults.jsm getDefaults call into prepareContentForReact so that dynamic rules are evaluated for both default and experiment data

https://searchfox.org/mozilla-central/source/browser/components/newtab/aboutwelcome/lib/AboutWelcomeDefaults.jsm#441

Whiteboard: [proton-onboarding]
Priority: -- → P1
Assignee: nobody → pdahiya
Severity: -- → S3
Iteration: --- → 90.1 - Apr 19 - May 2
Depends on: 1703327
Pushed by pdahiya@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/77dc7ca6680f
New user onboarding Import primary button label to use download source r=Mardak
Pushed by pdahiya@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9025bf80854d
New user onboarding Import primary button label to use download source r=Mardak

Relanded patch after fixing test, thanks!

Flags: needinfo?(pdahiya)
Blocks: 1705825
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch

Test Steps:

  1. Open about:newtab#devtools after setting pref browser.newtabpage.activity-stream.asrouter.devtoolsEnabled as true
  2. Go to Targeting -> Attribution parameter, Empty all prefilled attribution values.
  3. Enter User Agent value as 'chrome' and click Force Attribution
  4. Open about:welcome and navigate to Import screen. Import button should display 'Import From Chrome'
  5. Click of Import From Chrome should open import wizard with 'chrome' browser pre-selected
  6. Import button label should be localized for non-en locales

Comment on attachment 9219125 [details]
Bug 1707749 - New user onboarding Import primary button label to use download source

Beta/Release Uplift Approval Request

  • User impact if declined: Import button label will stay static and not include browser name from which Firefox was downloaded
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: https://bugzilla.mozilla.org/show_bug.cgi?id=1707749#c7
  • List of other uplifts needed: none
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Fixes done as part of proton onboarding MR1 release covered extensively by QA testing
  • String changes made/needed: none
Attachment #9219125 - Flags: approval-mozilla-beta?
Flags: qe-verify+
Whiteboard: [proton-onboarding] → [proton-onboarding] [proton-uplift]

Comment on attachment 9219125 [details]
Bug 1707749 - New user onboarding Import primary button label to use download source

Low risk proton uplift, approved for 89 beta 8, thanks.

Attachment #9219125 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]

I have verified this enhancement and I can confirm that the following:

  • The "Import from Google Chrome" label is displayed on the primary button from the "Import" screen of the "about:welcome" page if the Firefox browser was downloaded using Chrome
  • The "Import from Microsoft Edge" label is displayed if the browser was downloaded using Edge.

Verified using the latest Firefox Nightly (90.0a1 Build ID - 20210504092024) installed on Windows 10 x64, Windows 8.1 x64, and Windows 7 x64.

Status: RESOLVED → VERIFIED

I have verified this enhancement and I can confirm that the following:

  • The "Import from Google Chrome" label is displayed on the primary button from the "Import" screen of the "about:welcome" page if the Firefox browser was downloaded using Chrome
  • The "Import from Microsoft Edge" label is displayed if the browser was downloaded using Edge.

Verified using the latest Firefox Beta (89.0b8 Build ID - 20210504185920) installed on Windows 10 x64, Windows 8.1 x64, and Windows 7 x64.

Flags: qe-verify+
Blocks: 1711700
You need to log in before you can comment on or make changes to this bug.