Closed Bug 1921483 Opened 4 months ago Closed 4 months ago

Add "see details" link to the alert dialog shown on addon-install-failed on Firefox Desktop builds

Categories

(WebExtensions :: Frontend, enhancement, P2)

enhancement

Tracking

(firefox133 fixed)

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: rpl, Assigned: rpl)

References

Details

(Whiteboard: [addons-jira])

Attachments

(3 files)

Per soft-blocks UX specs, we'd like to show a "See details" link in the install-addon-failed-notification dialog shown on Firefox Desktop when an add-on install has failed because the addon is softblocked (same as Bug 1921417 but for Firefox Desktop builds).

To introduce a new link into the install-addon-failed-notification dialog we will likely:

  • add an explicit popupnotification with id install-addon-failed-notification in browser/base/content/popup-notifications.inc with the link element initially hidden by default
  • then on the browser/base/content/browser-addons.js side, additional logic to populate the link url in the link element and show/hide the link element based on the error for which we are showing the install-addon-failed-notification dialog

In addition to that we will then need to tweak accordingly the related mochitests covering the install-addon-failed-notification (e.g. the following test files: toolkit/mozapps/extensions/test/xpinstall/browser_doorhanger_installs.js, toolkit/mozapps/extensions/test/browser/browser_local_install.js, toolkit/mozapps/extensions/test/browser/browser_webapi_install.js)

Assignee: nobody → lgreco
Status: NEW → ASSIGNED
Pushed by luca.greco@alcacoop.it: https://hg.mozilla.org/integration/autoland/rev/bd8952bbc14d Add 'See details' link to the alert dialog shown on addon-install-failed on Firefox Desktop. r=willdurand,fluent-reviewers,desktop-theme-reviewers,dao
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
Pushed by luca.greco@alcacoop.it: https://hg.mozilla.org/integration/autoland/rev/9f82cc33da0b Explicitly cover expected behavior on clicking the blocklist info url in the install failure dialog. r=willdurand
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: