tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit e335f068da4a8db0cac9961e9acbc6359068ab7c
parent 2881e98f06bd41f39e31714fbaa3ee0aedc5feb6
Author: Anna Kulyk <akulyk@mozilla.com>
Date:   Mon,  8 Dec 2025 17:35:26 +0000

Bug 1990962 - Create a Firefox support section for SRD About Firefox page r=fluent-reviewers,mkennedy,bolsson

Differential Revision: https://phabricator.services.mozilla.com/D275291

Diffstat:
Mbrowser/components/preferences/main.inc.xhtml | 3+++
Mbrowser/components/preferences/main.js | 39+++++++++++++++++++++++++++++++++++++++
Mbrowser/locales/en-US/browser/preferences/preferences.ftl | 12++++++++++++
3 files changed, 54 insertions(+), 0 deletions(-)

diff --git a/browser/components/preferences/main.inc.xhtml b/browser/components/preferences/main.inc.xhtml @@ -522,6 +522,9 @@ #endif </groupbox> +<!-- Support --> +<html:setting-group groupid="support" data-category="paneGeneral" hidden="true" /> + <hbox id="performanceCategory" class="subcategory" hidden="true" diff --git a/browser/components/preferences/main.js b/browser/components/preferences/main.js @@ -1255,6 +1255,17 @@ Preferences.addSetting({ }, }); +// Firefox support settings +Preferences.addSetting({ + id: "supportLinksGroup", +}); +Preferences.addSetting({ + id: "supportGetHelp", +}); +Preferences.addSetting({ + id: "supportShareIdeas", +}); + // Performance settings Preferences.addSetting({ id: "contentProcessCount", @@ -2261,6 +2272,33 @@ SettingGroupManager.registerGroups({ }, ], }, + support: { + inProgress: true, + l10nId: "support-application-heading", + headingLevel: 2, + items: [ + { + id: "supportLinksGroup", + control: "moz-box-group", + items: [ + { + id: "supportGetHelp", + l10nId: "support-get-help", + control: "moz-box-link", + supportPage: "preferences", + }, + { + id: "supportShareIdeas", + l10nId: "support-share-ideas", + control: "moz-box-link", + controlAttrs: { + href: "https://connect.mozilla.org/", + }, + }, + ], + }, + ], + }, performance: { items: [ { @@ -3207,6 +3245,7 @@ var gMainPane = { initSettingGroup("drm"); initSettingGroup("browsing"); initSettingGroup("zoom"); + initSettingGroup("support"); initSettingGroup("performance"); initSettingGroup("startup"); initSettingGroup("importBrowserData"); diff --git a/browser/locales/en-US/browser/preferences/preferences.ftl b/browser/locales/en-US/browser/preferences/preferences.ftl @@ -602,6 +602,18 @@ update-in-progress-ok-button = &Discard # method of closing the UI will not discard the update. update-in-progress-cancel-button = &Continue +## Firefox support + +support-application-heading = + .label = { -brand-short-name } support + .description = Troubleshoot issues or share ideas with the community. + +support-get-help = + .label = Get help + +support-share-ideas = + .label = Share ideas and feedback + ## General Section - Performance performance-title = Performance