Commit Graph

334 Commits

Author SHA1 Message Date
Nick Grato
c28a52e112 Bug 1947209 - show local models used by a web extension linking to model details r=extension-reviewers,desktop-theme-reviewers,fluent-reviewers,rpl,bolsson,emilio,flod
adding feature and extension icons and labels

Differential Revision: https://phabricator.services.mozilla.com/D247805
2025-05-20 21:51:23 +00:00
Rob Wu
11bb0674a4 Bug 1948263 - Add Extensions appmenu item if needed r=willdurand,fluent-reviewers,bolsson,Gijs
By default, this patch does not change any behavior.
Only when the Extensions Button is hidden, then this replaces the
current generic "Add-ons and Themes" option with the "Extensions"
menu, which opens the Extensions Panel.

Differential Revision: https://phabricator.services.mozilla.com/D248161
2025-05-20 09:56:32 +00:00
Rob Wu
1b1787bc0b Bug 1948263 - Show "Moved to menu" notification after hiding r=willdurand,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D248160
2025-05-20 09:56:29 +00:00
Rob Wu
1dda631789 Bug 1948259 - Add menu item to hide/show Extensions Button in Customize mode r=willdurand,fluent-reviewers,bolsson
Bug 1948258 added a way to hide the Extensions Button, but not a way to
show it. This patch makes the following changes:

- always show the Extensions button in Customization mode, even if the
  user wants to hide the button unconditionally.

- add menu item to toggle the visibility of the Extensions Button.

- the new menu item is not shown anywhere except on the Extensions
  Button in Customization mode.

Differential Revision: https://phabricator.services.mozilla.com/D248158
2025-05-20 09:56:21 +00:00
Rob Wu
187993ede6 Bug 1948258 - Unhide button when (browserAction) panel opens r=willdurand
This is the basis for the follow-up patches to unhide the button as
needed. In this patch specifically, the hidden button is shown when a
browserAction panel is opened, and hidden again when the panel closes.

This also includes test coverage for ensuring that the browserAction
panel is shown along with the button when needed.

Differential Revision: https://phabricator.services.mozilla.com/D248157
2025-05-16 12:55:28 +00:00
Rob Wu
4f6f7c1712 Bug 1948258 - Allow Extensions button to be hidden via "Remove from Toolbar" r=willdurand
This adds the ability to hide the Extensions button via the standard
"Remove from Toolbar" menu item. The option is behind a temporary hidden
pref, until the follow-up work completes, as elaborated at
https://bugzilla.mozilla.org/show_bug.cgi?id=1948258#c1

Differential Revision: https://phabricator.services.mozilla.com/D248156
2025-05-16 12:55:25 +00:00
Rob Wu
8bc6e28aa7 Bug 1948258 - Add pref that enables the button to be hidden r=willdurand
This pref will be used as the mechanism to store the users preference
for the desired visibility of the Extensions Button. This initial patch
hides the button based on the pref only, and follow-up patches will
adjust the conditions (show the button independently of the pref) and
add UI to toggle this pref.

Differential Revision: https://phabricator.services.mozilla.com/D248155
2025-05-16 12:55:21 +00:00
William Durand
97ab9b4ec7 Bug 1964764 - Make settings link accessible in the add-on post-install popup. r=rpl,zombie
Differential Revision: https://phabricator.services.mozilla.com/D249261
2025-05-14 21:14:43 +00:00
William Durand
e60fd0cdc7 Bug 1956463 - Move data collection strings out of the preview so that localizers can localize them. r=rpl,bolsson,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D248197
2025-05-08 07:19:24 +00:00
William Durand
43e6a72132 Bug 1964962 - Make sure HTML link is present when needed in the post add-on install prompt. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D248278
2025-05-07 23:30:28 +00:00
William Durand
7ca91393b3 Bug 1956488 - Add sections to the add-on install/update/optional prompts. r=rpl,fluent-reviewers,desktop-theme-reviewers,dao,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D247088
2025-05-06 14:03:24 +00:00
William Durand
0207bbbb0b Bug 1956490 - Update (add-on) post-install prompt. r=rpl,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D246624
2025-05-06 12:45:14 +00:00
William Durand
e480e21ac0 Bug 1957990 - Use moz-checkbox in our add-on prompts. r=rpl,desktop-theme-reviewers,reusable-components-reviewers,hjones
Differential Revision: https://phabricator.services.mozilla.com/D246399
2025-04-29 19:50:09 +00:00
William Durand
9f33c3cd07 Bug 1960831 - Add access key to the T&I checkbox in the prompt. r=bolsson,rpl,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D245697
2025-04-17 07:32:51 +00:00
William Durand
00e4d03cc4 Bug 1959999 - Update string for the private checkbox in the add-on install prompt. r=bolsson,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D245311
2025-04-15 20:51:31 +00:00
William Durand
e3a0c89f6d Bug 1955942 - Show data collection permissions in the install prompt. r=rpl,fluent-reviewers,desktop-theme-reviewers,Itiel,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D242828
2025-04-11 19:14:21 +00:00
Florian Quèze
0bd3b586da Bug 1956726 - Migrate histograms to use Glean APIs for SECURITY_UI, r=chutten.
Differential Revision: https://phabricator.services.mozilla.com/D244199
2025-04-03 21:03:54 +00:00
William Durand
22e82b9c44 Bug 1957087 - Update add-on install/update prompt. r=rpl,desktop-theme-reviewers,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D243455
2025-04-01 11:50:44 +00:00
Luca Greco
e8b9bf0362 Bug 1943031 - Fix addon-webext-permissions-notification preventing onPrivateBrowsingAllowedChanged callback from being garbage collected. r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D235135
2025-01-27 12:34:06 +00:00
Florian Quèze
1ee252004d Bug 1935420 - rewrite JS code storing histograms in local variables to make automatic glean migration easier, r=chutten,fxview-reviewers,sync-reviewers,anti-tracking-reviewers,places-reviewers,markh,nsharpley.
Differential Revision: https://phabricator.services.mozilla.com/D234008
2025-01-24 16:18:32 +00:00
Rob Wu
712b391518 Bug 1931548 - Add double-confirmation for userScripts prompt r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D232637
2024-12-22 21:03:28 +00:00
Tom Schuster
00c657d84c Bug 1934875 - Remove inline event handler from unified extension panel. r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D230928
2024-12-06 13:45:33 +00:00
Luca Greco
38a13671ae Bug 1925291 - Add Extensions Button panel a new per-item messagebar. r=willdurand,fluent-reviewers,desktop-theme-reviewers,dao,flod,devtools-reviewers,ochameau
Depends on D229902

Differential Revision: https://phabricator.services.mozilla.com/D229904
2024-12-04 18:42:21 +00:00
Goloman Adrian
90701c4927 Backed out 3 changesets (bug 1925291) for causing dt failures @browser_aboutdebugging_addons_debug_console.js. CLOSED TREE
Backed out changeset 540773496872 (bug 1925291)
Backed out changeset 46bd418a9e54 (bug 1925291)
Backed out changeset ac2a87182d6a (bug 1925291)
2024-12-04 14:37:29 +02:00
Luca Greco
762933f39d Bug 1925291 - Add Extensions Button panel a new per-item messagebar. r=willdurand,fluent-reviewers,desktop-theme-reviewers,dao,flod
Depends on D229902

Differential Revision: https://phabricator.services.mozilla.com/D229904
2024-12-04 10:43:19 +00:00
Luca Greco
5c78a8cdcd Bug 1931889 - Add a new string for the extensions button tooltip on addons disabled through the add-ons blocklist. r=willdurand,fluent-reviewers
Depends on D229617

Differential Revision: https://phabricator.services.mozilla.com/D229393
2024-11-20 17:03:16 +00:00
Luca Greco
70d20c5caf Bug 1917848 - Show blocklist attention dot and blocklist messagebar message on new hard/soft blocked extensions (Extensions Button frontend changes). r=fluent-reviewers,willdurand,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D228677
2024-11-20 17:03:15 +00:00
Spencer Poor
9e4c37fcd1 Bug 1920145 - [moz-message] Modified moz-message property definitions, fluent set to true. r=hjones,settings-reviewers,credential-management-reviewers,reusable-components-reviewers,translations-reviewers,backup-reviewers,mtigley,fxview-reviewers,sidebar-reviewers,mossop,mconley
Bug 1920145 - [moz-message] Further cleanup of moz-message attribute declarations, edited docs. r=hjones

Bug 1920145 - [moz-message] Edited additional README that mentions relevant header declarations. r=hjones

Bug 1920145 - [moz-message] Fixed linter errors stemming from changes. r=hjones

Bug 1920145 - [moz-message] Reverted accidental removals of necessary data-l10n-attrs references. r=hjones

Bug 1920145 - [moz-message] Further reverted other removals of data-l10n-attrs references in components that aren't moz-message. r=hjones

Bug 1920145 - [moz-message] Cleaned up a couple more references to datal10nAttrs in NotificationMessageBar.mjs. r=hjones

Differential Revision: https://phabricator.services.mozilla.com/D226891
2024-11-15 19:21:06 +00:00
William Durand
2db5ebc4b7 Bug 1923268 - Update soft/hard block strings. r=rpl,fluent-reviewers,android-reviewers,bolsson,delphine,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D225047
2024-10-14 10:00:26 +00:00
Luca Greco
c8860ff468 Bug 1921483 - Add 'See details' link to the alert dialog shown on addon-install-failed on Firefox Desktop. r=willdurand,fluent-reviewers,desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D225107
2024-10-11 16:42:53 +00:00
Luca Greco
ed2fd2f4ac Bug 1911163 - Add full domains list in addon-webext-permissions-notification permissions list. r=desktop-theme-reviewers,fluent-reviewers,willdurand,bolsson,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D218593
2024-10-03 16:36:18 +00:00
Sam Foster
58c1f20705 Bug 1899598 - Hide the horizontal tab strip when vertical tabs are enabled. r=mconley,desktop-theme-reviewers,tabbrowser-reviewers,sidebar-reviewers,emilio,willdurand,sclements
* Remove the #titlebar element, and ensure toolbars that comprise the titlebar get a .browser-titlebar class
* Ensure we call TabBarVisibility.update when initializing with verticalTab=true
* Adjust TabBarVisibility logic so we allow for the vertical tabs case
* Give #navigator-toolbar z-index: var(--browser-area-z-index-toolbox) to ensure the urlbar view doesnt get clipped behind the lower elements

Differential Revision: https://phabricator.services.mozilla.com/D222059
2024-10-02 22:14:13 +00:00
Luca Greco
691632d49c Bug 1917845 - Block and show an install error on new soft-blocked addons versions installs. r=willdurand,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D222101
2024-10-02 17:20:09 +00:00
Sandor Molnar
ae6fa0e167 Backed out changeset bcfd93872dad (bug 1911163) for causing perma bc failures @ browser_permissions_dismiss.js CLOSED TREE 2024-10-02 20:17:52 +03:00
Luca Greco
c43da85082 Bug 1911163 - Add full domains list in addon-webext-permissions-notification permissions list. r=desktop-theme-reviewers,fluent-reviewers,willdurand,bolsson,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D218593
2024-10-02 13:56:31 +00:00
Iulian Moraru
4a9432209c Backed out changeset 98b6ddc6deed (bug 1899598) for causing marionette failures on test_initialize_vertical_tabs.py. CLOSED TREE 2024-10-02 07:49:47 +03:00
Sam Foster
15a36fe751 Bug 1899598 - Hide the horizontal tab strip when vertical tabs are enabled. r=mconley,desktop-theme-reviewers,tabbrowser-reviewers,sidebar-reviewers,emilio,willdurand,sclements
* Remove the #titlebar element, and ensure toolbars that comprise the titlebar get a .browser-titlebar class
* Ensure we call TabBarVisibility.update when initializing with verticalTab=true
* Adjust TabBarVisibility logic so we allow for the vertical tabs case
* Give #navigator-toolbar z-index: var(--browser-area-z-index-toolbox) to ensure the urlbar view doesnt get clipped behind the lower elements

Differential Revision: https://phabricator.services.mozilla.com/D222059
2024-10-01 23:37:37 +00:00
Butkovits Atila
07292bcac1 Backed out changeset a31d48c96789 (bug 1911163) for causing failures at browser_parsable_css.js. CLOSED TREE 2024-10-01 19:07:07 +03:00
Luca Greco
b3c444ad3e Bug 1911163 - Add full domains list in addon-webext-permissions-notification permissions list. r=desktop-theme-reviewers,fluent-reviewers,willdurand,bolsson,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D218593
2024-10-01 12:47:47 +00:00
Stanca Serban
24647acde4 Backed out changeset 0b970f2cd8fd (bug 1899598) for causing devtools failures in browser_aboutdebugging_devtoolstoolbox_tooltip_markupview.js. CLOSED TREE 2024-10-01 01:54:25 +03:00
Sam Foster
ef30ebaf5c Bug 1899598 - Hide the horizontal tab strip when vertical tabs are enabled. r=mconley,desktop-theme-reviewers,tabbrowser-reviewers,sidebar-reviewers,emilio,willdurand,sclements
* Remove the #titlebar element, and ensure toolbars that comprise the titlebar get a .browser-titlebar class
* Ensure we call TabBarVisibility.update when initializing with verticalTab=true
* Adjust TabBarVisibility logic so we allow for the vertical tabs case
* Give #navigator-toolbar z-index: var(--browser-area-z-index-toolbox) to ensure the urlbar view doesnt get clipped behind the lower elements

Differential Revision: https://phabricator.services.mozilla.com/D222059
2024-09-30 18:10:42 +00:00
Luca Greco
4161c2f288 Bug 1915662 - Use the popupnotification learnmore link in webextension permissions dialog. r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D220588
2024-09-05 13:26:41 +00:00
Luca Greco
efffa9aa49 Bug 1915662 - Split addon-webext-permissions-notification custom element render method. r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D218592
2024-09-05 13:26:40 +00:00
Luca Greco
0667275d77 Bug 1915662 - Refactor addon permissions dialog DOM elements manipulations out of ExtensionsUI.sys.mjs. r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D218591
2024-09-05 13:26:40 +00:00
Emilio Cobos Álvarez
77c40caac6 Bug 1910698 - Remove nsIScriptError.sourceLine. r=smaug,devtools-reviewers,webdriver-reviewers,necko-reviewers,nchevobbe,kershaw,jdescottes,credential-management-reviewers,dimi
Afaict the source lines are not exposed anywhere in the UI.

Differential Revision: https://phabricator.services.mozilla.com/D218115
2024-08-01 17:12:48 +00:00
Michael Kaply
babb0c7bdf Bug 1892961 - Add support for addons that can only be installed via policy. r=rpl,fluent-reviewers,bolsson,willdurand
Differential Revision: https://phabricator.services.mozilla.com/D211987
2024-06-13 21:03:46 +00:00
William Durand
39c0de3757 Bug 1893116 - Remove built-in abuse report UI. r=rpl,geckoview-reviewers,desktop-theme-reviewers,emilio,amejiamarmol
This patch removes both the backend and UI code related to the built-in
abuse reporting feature. I kept the ability to disable abuse reporting
with the `extensions.abuseReport.enabled` pref. Other prefs related to
the old abuse reporting feature have been removed.

Some tests have been deleted because they aren't relevant anymore.

On the web API side, both the property and method have been removed
since only AMO consumes these APIs and AMO already supports the absence
of these APIs. That is also why GeckoView has been slightly updated.

We do not collect Telemetry with the new AMO (abuse report) form so
all the Telemetry bits have been removed as well.

Differential Revision: https://phabricator.services.mozilla.com/D208457
2024-04-29 13:56:26 +00:00
Hanna Jones
21849b1def Bug 1803678 - enable lazy loading of ESModule based moz- custom elements r=reusable-components-reviewers,pip-reviewers,credential-management-reviewers,translations-reviewers,kpatenio,issammani,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D207445
2024-04-24 19:16:46 +00:00
Stanca Serban
29d6ee2faf Backed out changeset 58e1e96263b7 (bug 1803678) mochitests failures in test_confirm_delete_dialog.html. CLOSED TREE 2024-04-24 03:14:45 +03:00
Hanna Jones
9413513b0d Bug 1803678 - enable lazy loading of ESModule based moz- custom elements r=reusable-components-reviewers,pip-reviewers,credential-management-reviewers,translations-reviewers,kpatenio,issammani,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D207445
2024-04-23 19:28:47 +00:00