mirror of
https://github.com/zen-browser/desktop.git
synced 2026-03-29 03:41:51 +00:00
feat: Hide AI controls from settings as we never have them enabled, b=no-bug, c=no-component
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -503,6 +503,7 @@ groupbox h2 {
|
||||
#web-appearance-manage-themes-link,
|
||||
#setting-control-sidebarChatbotFieldset,
|
||||
#aiControlsDescription,
|
||||
#category-ai-features,
|
||||
.mission-message {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user