Commit Graph

249 Commits

Author SHA1 Message Date
William Durand
ee885114f8 Bug 1801266 - Handle the case where an extension widget is not visible and not in the extensions panel. r=mconley,rpl
Differential Revision: https://phabricator.services.mozilla.com/D168532
2023-04-19 07:42:16 +00:00
Bobby Holley
c934412517 Bug 1808431 — Reword first WebMIDI prompt. r=rpl,flod
Differential Revision: https://phabricator.services.mozilla.com/D174813
2023-04-06 17:07:14 +00:00
Tim Giles
fb12c56560 Bug 1813077 - Make addon-install-blocked learn more link use Fluent. r=mstriemer,fluent-reviewers,extension-reviewers,Gijs,flod
The previous way of setting textContent via string from the
browser.properties file does not work with the moz-support-link widget
since it has a Fluent ID by default. Instead we migrate the existing
string from the browser.properties file to the browser.ftl file.

Differential Revision: https://phabricator.services.mozilla.com/D170255
2023-03-23 14:07:42 +00:00
Tim Giles
3bc1de1d4d Bug 1813077 - Add import of moz-support-link for use in popup-notification via ensureCustomElements. r=mstriemer,extension-reviewers
Since we can't synchronously load ESModules yet, we use a new
abstraction of ensureCustomElements to ensure we have access to the
moz-support-link widget in popup-notifications.inc. The previous pattern
of loading the widget via module script does not work in this case due
to browser.xhtml, as we do not want to block on this path.

Differential Revision: https://phabricator.services.mozilla.com/D170254
2023-03-23 14:07:41 +00:00
William Durand
a4e3ec09cc Bug 1820743 - Allow to move unified extensions button on the navbar. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D171845
2023-03-21 16:55:11 +00:00
Cristina Horotan
3afab63217 Backed out changeset 56de7c6ac457 (bug 1820743) for causing bc failures at browser_toolbarKeyNav.js CLOSED TREE 2023-03-21 16:16:47 +02:00
William Durand
7b68de7353 Bug 1820743 - Allow to move unified extensions button on the navbar. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D171845
2023-03-21 13:10:08 +00:00
William Durand
53fa5ffd91 Bug 1820124 - Remove addonManager.action/link/view Telemetry events. r=rpl,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D171541
2023-03-20 20:11:15 +00:00
William Durand
3efdf5595f Bug 1821288 - Remove "addon-install-complete" event. r=rpl
This is not used anymore.

Differential Revision: https://phabricator.services.mozilla.com/D172102
2023-03-15 17:37:42 +00:00
William Durand
9a9c666058 Bug 1800417 - Fix the use of both toolbarbutton-1 and subviewbutton CSS classes in extension widgets. r=Itiel,mconley,dao,rpl
Depends on D169810

Differential Revision: https://phabricator.services.mozilla.com/D162712
2023-02-16 12:03:07 +00:00
Cristian Tuns
011493bc1c Backed out changeset e391918bb558 (bug 1800417) for causing mochitest failures in /browser_unified_extensions_overflowable_toolbar.js CLOSED TREE 2023-02-14 17:21:09 -05:00
William Durand
5993be7f69 Bug 1800417 - Fix the use of both toolbarbutton-1 and subviewbutton CSS classes in extension widgets. r=Itiel,mconley,dao,rpl
Depends on D169810

Differential Revision: https://phabricator.services.mozilla.com/D162712
2023-02-14 20:51:53 +00:00
Malte Jürgens
51c2bf31f4 Bug 1808459 - Take extensions.getAddons.showPane into consideration when clicking on empty unified extensions button r=extension-reviewers,robwu
In case the user does not have any active extensions listed, if `extensions.getAddons.showPane` is set to true (default), clicking on the unified extensions button will lead to the recommendations section in about:addons. If it is set to false, clicking the button will now lead to the extension list instead of the, disabled by the user, recommendations section.

Differential Revision: https://phabricator.services.mozilla.com/D169570
2023-02-14 13:07:22 +00:00
Marian-Vasile Laza
f298aadd15 Backed out changeset d26e7747cf69 (bug 1800417) for bc failures on browser_unified_extensions_overflowable_toolbar.js. CLOSED TREE 2023-02-13 22:14:44 +02:00
William Durand
e23737e755 Bug 1800417 - Fix the use of both toolbarbutton-1 and subviewbutton CSS classes in extension widgets. r=Itiel,mconley,dao,rpl
Differential Revision: https://phabricator.services.mozilla.com/D162712
2023-02-13 16:52:18 +00:00
Sandor Molnar
d82f8e0057 Backed out changeset 549ce0549c2e (bug 1800417) for causing bc failures in browser/components/extensions/test/browser/browser_unified_extensions_overflowable_toolbar.js CLOSED TREE 2023-02-08 14:23:39 +02:00
William Durand
6f77c2b373 Bug 1800417 - Fix the use of both toolbarbutton-1 and subviewbutton CSS classes in extension widgets. r=Itiel,mconley,dao,rpl
Depends on D169088

Differential Revision: https://phabricator.services.mozilla.com/D162712
2023-02-08 10:25:02 +00:00
Sandor Molnar
a0241439d5 Backed out changeset 6dbcf3dd30c4 (bug 1800417) for causing bc failures in browser/components/extensions/test/browser/browser_unified_extensions_overflowable_toolbar.js CLOSED TREE 2023-02-08 13:54:33 +02:00
William Durand
4cf5bc48b2 Bug 1800417 - Fix the use of both toolbarbutton-1 and subviewbutton CSS classes in extension widgets. r=Itiel,mconley,dao,rpl
Depends on D169088

Differential Revision: https://phabricator.services.mozilla.com/D162712
2023-02-08 10:25:02 +00:00
Butkovits Atila
af64ca6493 Backed out changeset ab00cf793f29 (bug 1800417) for causing failures at browser_unified_extensions_overflowable_toolbar.js. 2023-01-30 17:34:14 +02:00
William Durand
fd0ded3d7b Bug 1800417 - Fix the use of both toolbarbutton-1 and subviewbutton CSS classes in extension widgets. r=Itiel,mconley,dao,rpl
Differential Revision: https://phabricator.services.mozilla.com/D162712
2023-01-30 13:36:07 +00:00
Tomislav Jovanovic
d378ab25a4 Bug 1805523 - Implement temporary access state and attention, r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D165490
2023-01-24 00:47:13 +00:00
William Durand
4b65e0a0cb Bug 1799009 - Remove gUnifiedExtensions.isEnabled. r=rpl,mconley
Depends on D166923

Differential Revision: https://phabricator.services.mozilla.com/D166934
2023-01-23 10:39:29 +00:00
William Durand
7761eccedb Bug 1799009 - Remove unified extensions pref and non-unified extensions variants from test suite. r=rpl,mconley,fluent-reviewers,desktop-theme-reviewers,Itiel
This patch removes the use of the "unified extensions" pref and adjust
the existing tests. More clean-ups will be done in follow-ups, e.g. the
removal of `gUnifiedExtensions.isEnabled` and some test-only changes to
no longer create a new window in each test file.

Differential Revision: https://phabricator.services.mozilla.com/D166908
2023-01-19 10:59:25 +00:00
Marian-Vasile Laza
3f9e8980c7 Backed out changeset 1c135e14142e (bug 1805523) for causing bc failures on browser_ext_windows_create_tabId.js. 2023-01-02 16:34:38 +02:00
Tomislav Jovanovic
6716f18a49 Bug 1805523 - Implement temporary access state and attention, r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D165490
2023-01-01 21:46:00 +00:00
Bobby Holley
fd1ec254e0 Bug 1807852 - Don't omit the "extra" field for suspicious site telemetry. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D165632
2022-12-28 20:07:25 +00:00
Bobby Holley
6bd00864a6 Bug 1806056 — Enable users to report suspicious site permission add-on prompts. r=rpl,flod
Differential Revision: https://phabricator.services.mozilla.com/D164876
2022-12-28 00:25:07 +00:00
Tomislav Jovanovic
02c5082e6b Bug 1798695 - Use WebExtensionPolicy to get list of active extensions r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D162570
2022-12-14 17:56:29 +00:00
William Durand
ccab553cb5 Bug 1801456 - Lazy-load context menu strings when we lazy-load the panel. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D163589
2022-12-05 16:43:12 +00:00
William Durand
d55bdd31af Bug 1802925 - Update attention dot when (un)pinning extensions. r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D163580
2022-12-05 14:55:51 +00:00
Mike Conley
dda8b11101 Bug 1801514 - Make sure addons panel hides when entering customize mode. r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D163013
2022-11-28 16:24:09 +00:00
William Durand
80f9f71d60 Bug 1799694 - Avoid flickering when messages have different lengths. r=rpl,mconley,desktop-theme-reviewers,Itiel
This is a completely redesign based on mconley's idea to use `deck`.
That removes a lot of code and makes things a lot better.

Depends on D163077

Differential Revision: https://phabricator.services.mozilla.com/D162390
2022-11-27 17:07:44 +00:00
William Durand
b505ba8d95 Bug 1802374 - Open unified extensions panel with keyboard navigation. r=rpl
It looks like this used to be possible by chance when we didn't check
the event in `togglePanel()`. Now that we do this (to prevent
context-click to open the panel for example), we need to check the event
type and which button or key is clicked/pressed.

Differential Revision: https://phabricator.services.mozilla.com/D163076
2022-11-25 18:03:58 +00:00
Tomislav Jovanovic
ce9d450436 Bug 1801136 - Update tooltips when extensions require attention for permissions, r=willdurand,flod
Differential Revision: https://phabricator.services.mozilla.com/D162894
2022-11-24 14:16:30 +00:00
William Durand
700e42f801 Bug 1801471 - Add test case (+ clean-ups). r=robwu
Depends on D162541

Differential Revision: https://phabricator.services.mozilla.com/D162732
2022-11-22 18:57:58 +00:00
William Durand
fbc4f35adc Bug 1801471 - Handle Private Browsing mode in unified extensions panel. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D162541
2022-11-22 18:57:58 +00:00
Csoregi Natalia
425e1d6567 Backed out changeset a05954545cff (bug 1801471) as requested. CLOSED TREE 2022-11-22 17:40:51 +02:00
William Durand
0bdb53a03c Bug 1801471 - Handle Private Browsing mode in unified extensions panel. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D162541
2022-11-22 12:26:23 +00:00
Noemi Erli
83bd7d5ae9 Backed out changeset 6d541e7aaa50 (bug 1801471) for causing failures in browser_unified_extensions.js 2022-11-22 02:58:42 +02:00
William Durand
dcbd751150 Bug 1801318 - Close context menu on command. r=mconley
This will force the panel to close when we click an item in the context
menu, without having to handle each menu item separately.

Differential Revision: https://phabricator.services.mozilla.com/D162424
2022-11-21 18:59:50 +00:00
William Durand
53323bd553 Bug 1801471 - Handle Private Browsing mode in unified extensions panel. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D162541
2022-11-21 15:01:11 +00:00
William Durand
05cabee1df Bug 1801321 - Hide panel when pinning an extension to the toolbar. r=mconley
Similar to the Manage/Remove/Report actions in the (context) menu, we
close the unified extensions panel when clicking "Pin to toolbar". This
will also prevent the panel to be empty when there is only one extension
listed and we decide to pin it to the toolbar.

Differential Revision: https://phabricator.services.mozilla.com/D162414
2022-11-18 19:25:12 +00:00
William Durand
8821d0456a Bug 1794385 - Move unified-extensions-item custom element to its own file. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D162288
2022-11-17 20:52:40 +00:00
William Durand
fb79430769 Bug 1799846 - Filter out extensions that have a browser action in the non-CUI list in the unified extensions panel. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D161686
2022-11-17 09:45:27 +00:00
Bobby Holley
694ba07342 Bug 1800576 — Site permission consent flow should describe the nature of the add-on in the first panel. r=rpl,flod
Differential Revision: https://phabricator.services.mozilla.com/D162069
2022-11-15 19:15:28 +00:00
Mike Conley
d4d3af9877 Bug 1782203 - Add context menu items for pinning and unpinning addon buttons to the toolbar. r=willdurand,extension-reviewers,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D161200
2022-11-15 16:37:23 +00:00
Stanca Serban
7abed322ee Backed out 3 changesets (bug 1782203) for causing lint failures on browser_unified_extensions_overflowable_toolbar.js. CLOSED TREE
Backed out changeset 50e57afebed3 (bug 1782203)
Backed out changeset d17ea376ed45 (bug 1782203)
Backed out changeset e91d51f1ce90 (bug 1782203)
2022-11-15 17:42:22 +02:00
Mike Conley
55af77e9ed Bug 1782203 - Add context menu items for pinning and unpinning addon buttons to the toolbar. r=willdurand,extension-reviewers,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D161200
2022-11-15 15:02:08 +00:00
William Durand
307f9a8b0e Bug 1777484 - Enhance extension widgets in the unified extensions panel. r=rpl,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D161168
2022-11-15 12:59:34 +00:00