Closed Bug 2069150 Opened 3 months ago Closed 2 months ago

Show the selection menu without a configured chatbot provider

Categories

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

task

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: scunnane, Assigned: scunnane)

References

(Blocks 1 open bug)

Details

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

Attachments

(1 external file)

Three gates currently stop the menu appearing for users who have not set up a chatbot: the actor only registers when a browser.ml.chat.* pref is set (DesktopActorRegistry), handleShortcutsMessage returns early unless chatShortcuts and canShowChatEntrypoint are both true, and canShowChatEntrypoint requires a configured provider, which defaults to empty.

Gate the panel on browser.highlightToSearch.featureGate and browser.highlightToSearch.enabled instead, plus at least one enabled action.

For the AI item, split canShowChatEntrypoint into a canOfferChatbot getter that drops the provider clause, so the item still shows when no provider is configured. Per the flow diagram in the engineering tab of the Highlight to Search spec, clicking it should then open the sidebar provider list, which handleAskChat already handles.

Blocks: 2069156
Severity: -- → N/A
Summary: Show the selection menu without requiring an AI chatbot → Show the selection menu without a configured chatbot provider
Attachment #9643614 - Attachment description: WIP: Bug 2069150 - Show the selection menu without requiring an AI chatbot r?#ai-frontend-reviewers → WIP: Bug 2069150 - Show the selection menu without a configured chatbot provider r?#ai-frontend-reviewers
Attachment #9643614 - Attachment description: WIP: Bug 2069150 - Show the selection menu without a configured chatbot provider r?#ai-frontend-reviewers → Bug 2069150 - Show the selection menu without a configured chatbot provider r?#ai-frontend-reviewers!
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
QA Whiteboard: [qa-triage-done-c159/b158]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: