Closed Bug 2069156 Opened 3 months ago Closed 1 month ago

Remove the Hide chatbot shortcut item from the AI submenu when browser.highlightToSearch.featureGate is true

Categories

(Core :: Machine Learning: Frontend, task, P1)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: scunnane, Assigned: scunnane)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sng][highlight-to-search])

Attachments

(1 external file)

With the Highlight to Search feature gate turned on, the three-dot menu replaces this item: hiding the AI action becomes a checkbox there, and hiding the whole menu becomes its own "Hide menu" entry. Remove the genai-shortcuts-hide item from the AI submenu along with its Fluent string.

browser.ml.chat.shortcuts keeps its meaning of "show the AI action", so users who already hid the shortcut stay hidden and no migration is needed.

Severity: -- → N/A
Severity: N/A → S2
Summary: Remove the Hide chatbot shortcut item from the AI submenu → Remove the Hide chatbot shortcut item from the AI submenu when browser.highlightToSearch.featureGate is true

For background on the Highlight to Search project, here is [[ https://docs.google.com/document/d/1lpprhnIKYbXSNnVE-OSmVcE1Vpm9_vBBIKIOjW8_0lE/edit?tab=t.os3nbc21wjhe | the current spec ]].

With the browser.highlightToSearch.featureGate pref on, the "Hide chatbot shortcut" item no longer appears in the AI submenu, since the menu is turned off from Settings. It stays when the gate is off, so existing users keep a way to hide the shortcut. Also adds a selection_menu.enabled state metric reporting whether the actions menu is turned on.

To test manually, select some text on a page, open the AI action's submenu, and confirm the hide item is listed with the gate off and gone with it on.

Attachment #9661482 - Attachment description: WIP: Bug 2069156 - Hide the hide chatbot shortcut item once Highlight to Search is on. r?#ai-frontend-reviewers! → Bug 2069156 - Hide the hide chatbot shortcut item once Highlight to Search is on. r?#ai-frontend-reviewers!
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
QA Whiteboard: [qa-triage-done-c161/b160]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: