feat: Hide AI controls from settings as we never have them enabled, b=no-bug, c=no-component

This commit is contained in:
mr. m
2026-02-26 14:52:56 +01:00
parent b563e06527
commit c9cad08ae7
2 changed files with 18 additions and 2 deletions

View File

@@ -1,8 +1,8 @@
diff --git a/browser/components/preferences/config/aiFeatures.mjs b/browser/components/preferences/config/aiFeatures.mjs
index f00c1e20a8ca06108fc41c97badd234167430aee..b3a6c0db7f0f8be50ed80be227ba9cabd714f7fd 100644
index f00c1e20a8ca06108fc41c97badd234167430aee..f7d553cc10492f9447c7b0f801f36b2d66b95d43 100644
--- a/browser/components/preferences/config/aiFeatures.mjs
+++ b/browser/components/preferences/config/aiFeatures.mjs
@@ -649,37 +649,6 @@ SettingGroupManager.registerGroups({
@@ -634,52 +634,6 @@ SettingGroupManager.registerGroups({
},
],
},
@@ -10,6 +10,21 @@ index f00c1e20a8ca06108fc41c97badd234167430aee..b3a6c0db7f0f8be50ed80be227ba9cab
- control: "moz-box-item",
- items: [
- {
- id: "aiControlPdfjsAltTextSelect",
- l10nId: "preferences-ai-controls-pdfjs-control",
- control: "moz-select",
- controlAttrs: {
- inputlayout: "inline-end",
- },
- supportPage: "pdf-alt-text",
- options: [...AI_CONTROL_OPTIONS],
- },
- ],
- },
- {
- control: "moz-box-item",
- items: [
- {
- id: "aiControlSmartTabGroupsSelect",
- l10nId:
- "preferences-ai-controls-tab-group-suggestions-control",

View File

@@ -503,6 +503,7 @@ groupbox h2 {
#web-appearance-manage-themes-link,
#setting-control-sidebarChatbotFieldset,
#aiControlsDescription,
#category-ai-features,
.mission-message {
display: none !important;
}