Closed Bug 1840517 Opened 1 year ago Closed 1 year ago

Build Addons picker screen for about:welcome

Categories

(Firefox :: Messaging System, enhancement, P1)

enhancement

Tracking

()

VERIFIED FIXED
117 Branch
Iteration:
117.2 - July 17 - July 28
Tracking Status
firefox117 --- verified

People

(Reporter: emcminn, Assigned: emcminn)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Add a screen that has a selection of add-ons that can be installed directly from the screen.

This first version will allow us to experiment with including addons in new user onboarding, and as an MVP will

  • Render an addons screen in about:welcome
  • Render addon information directly from screen JSON (a later version can fetch from RTAMO)
  • Allow the addons to be installed from the about:welcome screen.

Based on in progress Figma

Iteration: --- → 117.1 - July 3 - July 14
Priority: -- → P1
Target Milestone: 116 Branch → ---
Pushed by emcminn@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1ae88f81ac4a Render addons screen & tiles, and allow addons to be intalled from addonspicker component r=desktop-theme-reviewers,omc-reviewers,dao,aminomancer

Backed out for causing newtab failures.
LATER EDIT: also please take a look at this TV failures before re-landing this.

[task 2023-07-12T20:18:45.098Z] TEST-START | bundles
[task 2023-07-12T20:18:53.220Z] Browserslist: caniuse-lite is outdated. Please run:
[task 2023-07-12T20:18:53.220Z]   npx browserslist@latest --update-db
[task 2023-07-12T20:18:53.220Z]   Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
[task 2023-07-12T20:18:53.220Z] Browserslist: caniuse-lite is outdated. Please run:
[task 2023-07-12T20:18:53.220Z]   npx browserslist@latest --update-db
[task 2023-07-12T20:18:53.220Z]   Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
[task 2023-07-12T20:18:53.227Z] TEST-UNEXPECTED-FAIL | bundles | About:welcome bundle out of date
[task 2023-07-12T20:18:53.227Z] TEST-START | karma
[task 2023-07-12T20:19:45.278Z] webpack was not included as a framework in karma configuration, setting this automatically...
[task 2023-07-12T20:19:45.278Z] Browserslist: caniuse-lite is outdated. Please run:
[task 2023-07-12T20:19:45.278Z]   npx browserslist@latest --update-db
[task 2023-07-12T20:19:45.278Z]   Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
[task 2023-07-12T20:19:45.292Z] TEST-UNEXPECTED-FAIL | karma | Coverage for statements (7.14%) in file /builds/worker/checkouts/gecko/browser/components/newtab/content-src/aboutwelcome/components/AddonsPicker.jsx does not meet per file threshold (62%)
[task 2023-07-12T20:19:45.292Z] TEST-UNEXPECTED-FAIL | karma | Coverage for lines (7.14%) in file /builds/worker/checkouts/gecko/browser/components/newtab/content-src/aboutwelcome/components/AddonsPicker.jsx does not meet per file threshold (60%)
[task 2023-07-12T20:19:45.292Z] TEST-UNEXPECTED-FAIL | karma | Coverage for branches (0%) in file /builds/worker/checkouts/gecko/browser/components/newtab/content-src/aboutwelcome/components/AddonsPicker.jsx does not meet per file threshold (50%)
[task 2023-07-12T20:19:45.292Z] TEST-UNEXPECTED-FAIL | karma | Coverage for functions (0%) in file /builds/worker/checkouts/gecko/browser/components/newtab/content-src/aboutwelcome/components/AddonsPicker.jsx does not meet per file threshold (50%)
[task 2023-07-12T20:19:45.292Z] -----karma stdout below this line---
[task 2023-07-12T20:19:45.293Z] 
[task 2023-07-12T20:19:45.293Z] > activity-streams@1.14.3 testmc:unit
[task 2023-07-12T20:19:45.293Z] > karma start karma.mc.config.js
[task 2023-07-12T20:19:45.293Z] 
[task 2023-07-12T20:19:45.293Z] 
[task 2023-07-12T20:19:45.293Z] START:
<...>
Flags: needinfo?(emcminn)

Ahh shoot, I'll look at the coverage. Thanks!

Flags: needinfo?(emcminn)
Pushed by emcminn@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/949ab6d791cd Render addons screen & tiles, and allow addons to be intalled from addonspicker component r=desktop-theme-reviewers,omc-reviewers,dao,aminomancer
Iteration: 117.1 - July 3 - July 14 → 117.2 - July 17 - July 28
Pushed by emcminn@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/018a47c67bab Render addons screen & tiles, and allow addons to be intalled from addonspicker component r=desktop-theme-reviewers,omc-reviewers,dao,aminomancer
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch

Intermittent fixed, and re-landed

Flags: needinfo?(emcminn)
Blocks: 1845334

I have verified this enhancement using the steps provided in the Test Plan and I can confirm the following:

  • The add-ons screen is successfully rendered on the "about:welcome" page.
  • The add-on information is successfully displayed.
  • The add-ons can be installed directly from the "about:welcome" screen.

Verified using the latest Firefox Beta 117.0b6 (Build ID: 20230810181819) installed on Windows 10 x64, macOS 13.4.1, and Linux Mint 21.1.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: