Commit Graph

4533 Commits

Author SHA1 Message Date
Reem H
356ecc376d Bug 1956388 - Add finalized strings for report ads/content and remove temporary fluent file. r=home-newtab-reviewers,fluent-reviewers,settings-reviewers,npypchenko,bolsson,Gijs,thecount
Differential Revision: https://phabricator.services.mozilla.com/D245011
2025-04-15 02:47:15 +00:00
smolnar
fd80679cf5 Backed out changeset 26c6f7c34aa3 (bug 1956388) for causing node newtab & bc failures @ browser_html_list_view.js failures. CLOSED TREE 2025-04-15 02:24:59 +03:00
Reem H
87e44fda04 Bug 1956388 - Add finalized strings for report ads/content and remove temporary fluent file. r=home-newtab-reviewers,fluent-reviewers,settings-reviewers,npypchenko,bolsson,Gijs,thecount
Differential Revision: https://phabricator.services.mozilla.com/D245011
2025-04-14 22:34:12 +00:00
Iulian Moraru
0dae2e4ec5 Backed out 4 changesets (bug 1959298) for causing bc failures on browser_Manifest_install.js. CLOSED TREE
Backed out changeset ef842ad5ff0c (bug 1959298)
Backed out changeset 37d6a257d32b (bug 1959298)
Backed out changeset cb96c92ac472 (bug 1959298)
Backed out changeset d9c8211f83fe (bug 1959298)
2025-04-14 21:55:09 +03:00
Gijs Kruitbosch
1e644c254c Bug 1959298 - improve sync entrypoint handling, r=markh
Differential Revision: https://phabricator.services.mozilla.com/D245039
2025-04-14 16:16:06 +00:00
Emilio Cobos Álvarez
d8d91503bb Bug 1959540 - Simplify XUL menu structure. r=Gijs,desktop-theme-reviewers,settings-reviewers,urlbar-reviewers,dao
We don't need so many wrappers and so on. Similarly we don't need
.menu-right, we can use ::after to draw the arrow.

This makes reasoning about menus a lot easier.

Differential Revision: https://phabricator.services.mozilla.com/D245000
2025-04-14 12:59:53 +00:00
reach
7f36d3ea63 Bug 1855839 - [Translations] Update offline translation language list display on locale change. r=nordzilla,settings-reviewers,translations-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D243690
2025-04-11 21:43:26 +00:00
Dan Ballard
221f492e4a Bug 1959305 - DoH pane undefined error in Privacy and Security when ParentalControlsServices disabled. r=settings-reviewers,Gijs
From: Sarah Jamie Lewis <sarah@openprivacy.ca>

When the parental controls service is disabled in a build, the DoH
settings now display the correct stauts when Increased or Max Protection
is enabled.

Previously, selecting either of these options would cause DoH to be
enabled, but the "Status" and "Provider" fields would not be properly
populated, due to a check on the gParentalControlsService causing an
error.

This check is now identical to the same check in DownloadIntegration.sys.mjs

Apply 1 suggestion(s) to 1 file(s)

Co-authored-by: ma1 <giorgio@maone.net>

Differential Revision: https://phabricator.services.mozilla.com/D244850
2025-04-10 16:22:39 +00:00
Drew Willcoxon
843fe01a85 Bug 1959330 - Formalize restoring of dismissed Suggest suggestions. r=daisuke,settings-reviewers
Please see the bug for the motivation.

This adds a new `SuggestFeature.primaryUserControlledPreference` getter that
returns the feature-specific pref that lets the user toggle on/off the feature.

That way we can add `QuickSuggest.clearDismissedSuggestions()`, which goes
through each feature and clears that pref, and `canClearDismissedSuggestions()`,
which goes through and checks whether there are any prefs that can be cleared.

I also added a couple of notification topics for dismissals that the settings UI
uses to update the disabled state of its Restore button.

All of this will let us more easily move to the Suggest Rust component's
dismissal API too, which we should sooner or later.

Depends on D244865

Differential Revision: https://phabricator.services.mozilla.com/D244866
2025-04-10 02:24:19 +00:00
zombie
fbfa9e170a Bug 1957606 - Remove dead code and references to long deleted lazy modules r=Standard8,settings-reviewers,devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D243815
2025-04-07 17:46:30 +00:00
Gijs Kruitbosch
2ea90278d8 Bug 1956215 - fix data-subcategory for cfrfeatures and other setting groups, r=settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D244375
2025-04-03 21:57:43 +00:00
Narcis Beleuzu
cc33cd20bb Backed out 4 changesets (bug 1955579) for causing XPC failures on test_TRRRacer.js
Backed out changeset 820d70c9c0a3 (bug 1955579)
Backed out changeset b3c4ae7bc073 (bug 1955579)
Backed out changeset 7a78799b24a0 (bug 1955579)
Backed out changeset b3ec267e42e0 (bug 1955579)
2025-04-03 20:35:53 +03:00
Valentin Gosu
cffebc7146 Bug 1955579 - move browser/components/doh to toolkit/components/doh to be used on Android r=necko-reviewers,settings-reviewers,firefox-desktop-core-reviewers ,Gijs,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D242531
2025-04-03 16:17:45 +00:00
Yazan Al Macki
a5536418e1 Bug 1954589 - Remove -moz-crisp-edges from favicons. r=desktop-theme-reviewers,settings-reviewers,tabbrowser-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D243711
2025-04-02 13:54:15 +00:00
Moritz Beier
d03a158ad0 Bug 1956460 - Restore sinon spy. r=settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D243767
2025-04-02 09:50:13 +00:00
William Wen
63dd1f440d Bug 1956556 - Add consent manager prefs to ETP strict settings. r=timhuang,settings-reviewers,firefox-desktop-core-reviewers ,mossop
Differential Revision: https://phabricator.services.mozilla.com/D243127
2025-04-01 20:02:42 +00:00
Francesco Lodolo (:flod)
09b596616a Bug 1956164 - Refactor WebRTC and pref code to use explicit Fluent IDs, remove more unused strings, r=settings-reviewers,emz,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D242883
2025-04-01 19:16:18 +00:00
Reem H
c721be7a1a Bug 1954653 - Build reporting UI. r=home-newtab-reviewers,fluent-reviewers,frontend-codestyle-reviewers,mossop,nbarrett,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D242283
2025-03-28 11:21:18 +00:00
Cristian Tuns
6ede561ece Backed out changeset 331377959f1d (bug 1954653) for causing newtab failures in activity-stream.html CLOSED TREE 2025-03-27 19:47:55 -04:00
Reem H
659db0e7ba Bug 1954653 - Build reporting UI. r=home-newtab-reviewers,fluent-reviewers,frontend-codestyle-reviewers,mossop,nbarrett,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D242283
2025-03-27 21:21:47 +00:00
Jared Hirsch
e33e0b5fd5 Bug 1956105 - Propagate data upload pref changes between profiles in a group. r=profiles-reviewers,settings-reviewers,mossop
Add a pref that we overlooked in the original patch (bug 1933264).

Differential Revision: https://phabricator.services.mozilla.com/D242863
2025-03-26 23:25:15 +00:00
Cosmin Sabou
ec8d589c40 Backed out changeset 31637ac2869d (bug 1954653) for causing newtab failures. CLOSED TREE 2025-03-27 03:09:33 +02:00
Reem H
ab77b09940 Bug 1954653 - Build reporting UI. r=home-newtab-reviewers,fluent-reviewers,frontend-codestyle-reviewers,mossop,nbarrett,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D242283
2025-03-26 19:37:24 +00:00
Cosmin Sabou
c0283b2ae1 Backed out changeset 4f577328f67e (bug 1956105) for causing bc failures on browser_privacy_uploadEnabled. CLOSED TREE 2025-03-27 00:54:44 +02:00
Jared Hirsch
1f15c60a14 Bug 1956105 - Propagate data upload pref changes between profiles in a group. r=profiles-reviewers,settings-reviewers,mossop
Add a pref that we overlooked in the original patch (bug 1933264).

Differential Revision: https://phabricator.services.mozilla.com/D242863
2025-03-26 16:05:08 +00:00
Moritz Beier
20da07a5f8 Bug 1954707 - Add tests for renaming search engines using the tree in settings. r=search-reviewers,settings-reviewers,mossop,scunnane
Differential Revision: https://phabricator.services.mozilla.com/D242129
2025-03-26 08:50:43 +00:00
Moritz Beier
fae72e406a Bug 1944070 - Add tests for the "Add search engine" dialog. r=Standard8,settings-reviewers,mossop
Differential Revision: https://phabricator.services.mozilla.com/D242001
2025-03-26 08:50:42 +00:00
Moritz Beier
a53fc7dc78 Bug 1949719 - Part 2: Allow editing custom search engines using the dialog. r=Standard8,fluent-reviewers,settings-reviewers,desktop-theme-reviewers,urlbar-reviewers,bolsson,mossop,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D240846
2025-03-26 08:50:42 +00:00
Sandor Molnar
cd43879b4e Backed out changeset ff8b03537040 (bug 1954653) for causing node newtab failures CLOSED TREE 2025-03-26 06:13:17 +02:00
Reem H
d74b688611 Bug 1954653 - Build reporting UI. r=home-newtab-reviewers,fluent-reviewers,frontend-codestyle-reviewers,mossop,nbarrett,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D242283
2025-03-26 02:50:35 +00:00
Javier Rueda
e5c50eb4dc Bug 1822665 - Remove references to no longer supported MozDialog Help button. r=settings-reviewers,Gijs@mozilla.com
Differential Revision: https://phabricator.services.mozilla.com/D242618
2025-03-25 10:35:31 +00:00
Rolf Rando
6457c1eed4 Bug 1954648 - Smart Tab Group settings in Preferences->Tabs r=ngrato,fluent-reviewers,settings-reviewers,tabbrowser-reviewers,dwalker,flod
Differential Revision: https://phabricator.services.mozilla.com/D241922
2025-03-23 04:03:31 +00:00
Francesco Lodolo (:flod)
a691382ad2 Bug 1954994 - Remove unused strings in browser, avoid run-time ID generation r=fluent-reviewers,bolsson,settings-reviewers,Gijs,mossop
Differential Revision: https://phabricator.services.mozilla.com/D242147
2025-03-22 11:08:01 +00:00
Moritz Beier
5a24af2433 Bug 1949719 - Part 1: Allow editing the names of custom search engines via the table in preferences. r=Standard8,settings-reviewers,mossop,fluent-reviewers,urlbar-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D240845
2025-03-21 11:42:31 +00:00
Jared Hirsch
a78e75d919 Bug 1933264 - Copy data preferences between profiles in a group. r=profiles-reviewers,fluent-reviewers,settings-reviewers,mossop,bolsson
Also add an explanatory note to preferences.

Differential Revision: https://phabricator.services.mozilla.com/D241902
2025-03-20 17:17:57 +00:00
Sandor Molnar
53925bf70d Backed out changeset 272d0dd8b6a7 (bug 1954648) for causing bc failures @ browser_experimental_features.js 2025-03-19 23:36:30 +02:00
Rolf Rando
07417b054d Bug 1954648 - Smart Tab Group settings in Preferences->Tabs r=ngrato,fluent-reviewers,settings-reviewers,tabbrowser-reviewers,dwalker,flod
Differential Revision: https://phabricator.services.mozilla.com/D241922
2025-03-19 17:14:19 +00:00
Gijs Kruitbosch
afe72e45e7 Bug 1953531 - update crash reporter and technical plus interaction data links, r=settings-reviewers,mossop
Differential Revision: https://phabricator.services.mozilla.com/D241245
2025-03-18 13:04:10 +00:00
Gijs Kruitbosch
b3fbe6b83e Bug 1954078 - addendum: scroll into the middle instead of the top (to help avoid sticky header overlap issues), r=settings-reviewers,mossop
Without this, in my testing with the previous patch, the scroll alignment on
the initial load of the settings page is incorrect, with the top of the
section being cut off. As this is the situation we care about (first load after
a browser update), fixing it seemed important.

I spent some time trying to work out why layout is changing - presumably
items above the "Browser Layout" section are either appearing or disappearing
in a way that races with the scroll. I could never reproduce on any loads other
than the first one. But then I realized the code here was overly complex and
that it would probably be nicer for items to appear in the middle of the view
rather than the top anyway. Yes, this means that sometimes the relevant header
is _still_ not _exactly_ in the middle, but that seems much less important.

Differential Revision: https://phabricator.services.mozilla.com/D241628
2025-03-17 22:24:53 +00:00
Gijs Kruitbosch
d97bc7a6c3 Bug 1954078 - add subcategory to 'Browser Layout' group, r=settings-reviewers,mossop
Differential Revision: https://phabricator.services.mozilla.com/D241627
2025-03-17 22:24:53 +00:00
Mark Striemer
89873fdff1 Bug 1951831 - Part 2: Stories for setting-{group,control} r=reusable-components-reviewers,settings-reviewers,mossop,hjones
Refactor the setting-group and setting-control a little to support
passing in the Preferences.getSetting function rather pulling it off of
window.

Add basic Storybook stories for setting-group and setting-control.

Differential Revision: https://phabricator.services.mozilla.com/D241130
2025-03-13 01:42:34 +00:00
Mark Striemer
d4c3ae74b5 Bug 1951831 - Part 1: Create setting-control to render a config based setting r=reusable-components-reviewers,mconley,hjones
This adds an initial setting-control web component that can render a
moz-checkbox based setting. This will be controlled by a pref to reduce
any churn on the Settings page while we make changes related to Settings
Redesign 2025.

Differential Revision: https://phabricator.services.mozilla.com/D240402
2025-03-13 01:42:34 +00:00
Mark Striemer
efcc38c52b Bug 1951141 - Convert Browsing section in Settings to config r=reusable-components-reviewers,desktop-theme-reviewers,mconley,hjones
This is the first change to start moving our settings to a config
approach. These settings are all checkboxes so only checkbox support is
added at this time.

In the future, these settings will be regrouped with other settings in
the Settings Redesign 2025 project. Moving the settings will involve
creating a new config with a different grouping of id/l10n/supportPage
values. It should not require moving any code or markup to move the
settings or convert them to using moz-checkbox rather than XUL checkbox.

Differential Revision: https://phabricator.services.mozilla.com/D240400
2025-03-13 01:42:33 +00:00
Beth Rennie
cf27fc4c61 Bug 1942694 - Move featuregates/ fluent files to firefoxlabs/ r=fluent-reviewers,bolsson,settings-reviewers,Gijs
Feature Gates are being removed so it makes sense to move these under a
Firefox Labs component.

Differential Revision: https://phabricator.services.mozilla.com/D239671
2025-03-11 18:16:49 +00:00
Eitan Isaacson
cf6484047a Bug 1898096 - Replace color settings with "contrast control". r=emilio,fluent-reviewers,settings-reviewers,accessibility-frontend-reviewers,morgan,bolsson,masayuki,mossop,pdfjs-reviewers,calixte
This patch changes the backing prefs by relying on the tristate offered
by browser.display.document_color_use instead of
browser.display.use_system_colors. This simplifies the color
decision tree, and offers a simplified UI.

The tristate preference offered to the user is as follows:
 1. "Use platform's contrast settings" (document_color_use=0)
 2. "Off" - never use HCM, regardless of platform setting (document_color_use=1)
 3. "On" - always use HCM, regardless of platform setting (document_color_use=2)

Option 3 also reveals a colors UI for the user to choose the palette the
browser HCM will use (bg/text/link/visited).

There are three color palettes to choose from in light of the preference
above they are:
 1. WIDGET_COLORS: The OS's configured colors used by its theme.
 2. HARDCODED_COLORS: Colors deemed as standard and are hard coded into
    Firefox (eg. white on black text, blue and purple links).
 3. PREFERENCE_COLORS: Colors that are stored in preferences and are
    configurable from the colors UI (eg. browser.visited_color and
    browser.display.background_color)

The decision over which palette to use is as follows:
 * If we are styling browser UI -> WIDGET_COLORS
 * else, if resist fingerprinting is enabled -> HARDCODED_COLORS
 * else, if document_color_use==0 AND OS HCM is on -> WIDGET_COLORS
 * else, if document_color_use==2 -> PREFERENCE_COLORS
 * else -> HARDCODED_COLORS

Differential Revision: https://phabricator.services.mozilla.com/D211115
2025-03-05 19:18:08 +00:00
Beth Rennie
e8677f7bfc Bug 1951311 - Remove GenAI about:preferences integration r=Mardak,settings-reviewers,firefox-ai-ml-reviewers,mossop
Differential Revision: https://phabricator.services.mozilla.com/D240373
2025-03-05 15:04:32 +00:00
Mark Banner
878a5d5415 Bug 1951652 - Convert browser/components/search/ modules to use moz-src uris. r=search-reviewers,scunnane
Differential Revision: https://phabricator.services.mozilla.com/D240333
2025-03-05 09:24:37 +00:00
Alexandru Marc
78ef84ae14 Backed out changeset f4d5303f5472 (bug 1898096) for causing ba failures @ browser_attributed_text.js 2025-03-05 03:27:02 +02:00
Eitan Isaacson
e55fdd6ce8 Bug 1898096 - Replace color settings with "contrast control". r=emilio,fluent-reviewers,settings-reviewers,accessibility-frontend-reviewers,morgan,bolsson,masayuki,mossop,pdfjs-reviewers,calixte
This patch changes the backing prefs by relying on the tristate offered
by browser.display.document_color_use instead of
browser.display.use_system_colors. This simplifies the color
decision tree, and offers a simplified UI.

The tristate preference offered to the user is as follows:
 1. "Use platform's contrast settings" (document_color_use=0)
 2. "Off" - never use HCM, regardless of platform setting (document_color_use=1)
 3. "On" - always use HCM, regardless of platform setting (document_color_use=2)

Option 3 also reveals a colors UI for the user to choose the palette the
browser HCM will use (bg/text/link/visited).

There are three color palettes to choose from in light of the preference
above they are:
 1. WIDGET_COLORS: The OS's configured colors used by its theme.
 2. HARDCODED_COLORS: Colors deemed as standard and are hard coded into
    Firefox (eg. white on black text, blue and purple links).
 3. PREFERENCE_COLORS: Colors that are stored in preferences and are
    configurable from the colors UI (eg. browser.visited_color and
    browser.display.background_color)

The decision over which palette to use is as follows:
 * If we are styling browser UI -> WIDGET_COLORS
 * else, if resist fingerprinting is enabled -> HARDCODED_COLORS
 * else, if document_color_use==0 AND OS HCM is on -> WIDGET_COLORS
 * else, if document_color_use==2 -> PREFERENCE_COLORS
 * else -> HARDCODED_COLORS

Differential Revision: https://phabricator.services.mozilla.com/D211115
2025-03-05 00:27:44 +00:00
Moritz Beier
0b21fd50d4 Bug 1948326 - Part 1: Move addEngine dialog from preferences to search component. r=Standard8,fluent-reviewers,settings-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D238276
2025-03-04 17:18:21 +00:00