[about:addons] Create in-tree discopane to replace the remotely hosted discopane
Categories
(Toolkit :: Add-ons Manager, enhancement, P1)
Tracking
()
People
(Reporter: robwu, Assigned: robwu)
References
Details
(Whiteboard: [feature-scope])
Attachments
(9 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
2.94 KB,
text/plain
|
chutten
:
data-review+
|
Details |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
718.08 KB,
image/gif
|
Details |
First step of bug 1540173 is to create the discopane in the HTML-based about:addons
page in m-c.
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 2•6 years ago
|
||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
The <message-bar>
custom element used in this patch will be
introduced by https://phabricator.services.mozilla.com/D27547
The notice text and SUMO link target were taken from
https://github.com/mozilla/addons-frontend/blob/6d2de7e52a2ff8d50d4ab1181974c39a3a7f1d8f/src/disco/pages/DiscoPane/index.js#L211-L213
Assignee | ||
Comment 5•6 years ago
|
||
Require extensions.htmlaboutaddons.discover.enabled
to be enabled
before the HTML-based discopane is shown. This allows the feature
to be turned on and/or off independent of the other HTML views.
Assignee | ||
Comment 6•6 years ago
|
||
Comment 7•6 years ago
|
||
Assignee | ||
Comment 8•6 years ago
|
||
The client_id part of browser_html_discover_view_clientid.js was failing
on TV because of a pre-existing, test-specific issue in Telemetry.
Fixing this is not trivial, so just check that the ID was set instead of
checking its exact value.
See the comment for more details; the fix will be part of bug 1537933
Assignee | ||
Comment 9•6 years ago
|
||
Green try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=b7f88d2790160d6b318c164a92a0a9258a008992
Now pushing to integration.
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
backed out for not having a proper review peer.
Push that got backed out : https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=b3f31aa87d0d11690a169368e39c8f07edf4ea88
Backout: https://hg.mozilla.org/integration/autoland/rev/2f3479842f9101fe2466775eaf777c728c289839
@Rob: since you landed multiple bugs in the same push, i backed out all of them.
Assignee | ||
Comment 12•6 years ago
|
||
:jaws is a peer and delegated review to :mstriemer
https://phabricator.services.mozilla.com/D28436#873618
https://phabricator.services.mozilla.com/D29477#873632
https://phabricator.services.mozilla.com/D29478#873634
https://phabricator.services.mozilla.com/D29479#873636
https://phabricator.services.mozilla.com/D29480#873638
https://phabricator.services.mozilla.com/D29481#873644
https://phabricator.services.mozilla.com/D29482#873646
Can the patches land again, or I need to ask another peer to rubberstamp r+ every patch in Phabricator?
Assignee | ||
Comment 13•6 years ago
|
||
Question was answered in #sheriffs . Landing those patches should have been fine.
Comment 14•6 years ago
|
||
Is there something I need to do here?
Assignee | ||
Comment 15•6 years ago
|
||
Hi Andreaa, thanks for keeping an eye on the bug.
Since soft freeze has been delayed, I will add another patch (telemetry) before landing them all. Likely within a day.
Assignee | ||
Comment 17•6 years ago
|
||
Try is green: https://treeherder.mozilla.org/#/jobs?repo=try&revision=c873d2cb4d2f321c833dd2441f300b9ead2246e8
I'll already land the existing patches so Mark can already rebase his patches on top of mine, and I'll add the telemetry patch later today.
Comment 18•6 years ago
|
||
Assignee | ||
Comment 19•6 years ago
|
||
This adds telemetry with new actions and link values to uniquely
identify interactions with the discovery pane and recommended add-on
cards.
The names are unique, because recommended add-on cards may also appear
in other views (bug 1523406).
Unrelated to this change, the documentation of "homepage" at Events.yaml
has been updated to clarify that it can also be a URL outside of AMO,
because that is the reality.
Comment 20•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1971986d9cd6
https://hg.mozilla.org/mozilla-central/rev/23d7d4098ba3
https://hg.mozilla.org/mozilla-central/rev/76eb966c5aa7
https://hg.mozilla.org/mozilla-central/rev/53535f2ceb4c
https://hg.mozilla.org/mozilla-central/rev/077dec75c81a
https://hg.mozilla.org/mozilla-central/rev/912b44cef0bc
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Updated•6 years ago
|
Comment 22•6 years ago
|
||
Comment 23•6 years ago
|
||
bugherder |
Comment hidden (Intermittent Failures Robot) |
Comment 25•6 years ago
|
||
This issue is verified as fixed on Firefox 69.0a1 (20190523044159) and Firefox 68.0b3 (20190521110747) under Win 7 64-bit and Mac OS X 10.14.1.
-
The preference extensions.htmlaboutaddons.discover.enabled is set to false by default.
When the preference is set to false, the HTML-based discovery panel from about:addons is not enabled. -
"Get Add-ons" has been changed to "Recommendations"
-
The links from the cards in the old and the new discopane work as expected.
-
The notice from discopane is visible only when TAAR is enabled.
-
In about:telemetry the events are:
-
Install from "Recommendations"
{"action": "installFromRecommendation", "view": "discover", "addonId": "jid1-93WyvpgvxzGATw@jetpack", "type": "extension"} -
Click on the “Manage” button
{"action": "manage", "view": "discover", "addonId": "treestyletab@piro.sakura.ne.jp", "type": "extension"} -
discohome (goes to AMO via a recommended add-on card)
addonsManager link aboutAddons discohome {"view": "discover"} -
discomore (goes to AMO via discover)
addonsManager link aboutAddons discomore {"view": "discover"} -
disconotice (goes to SUMO via discover)
addonsManager link aboutAddons disconotice {"view": "discover"}
-
Please see the attached video.
Description
•