Open Bug 1943208 Opened 15 days ago Updated 15 days ago

Allow callout primary CTA to flip multiple prefs and open the chatbot panel

Categories

(Core :: Machine Learning, task)

Firefox 136
task

Tracking

()

People

(Reporter: asafko, Unassigned)

References

Details

(Whiteboard: [genai])

For the contextual chatbot recommendation experiment, we would like to be able to:

  • flip the sidebar.revamp to true,
  • flip browser.ml.chat.enabled to true
  • open sidebar panel on the provider choice screen,
  • optionally expand a box with the detailed description of a specific provider.
Version: unspecified → Firefox 136
Summary: Allow callout primary CTA to flip multiple prefs → Allow callout primary CTA to flip multiple prefs and open the chatbot panel

there's a specific sidebar race condition where changing sidebar.revamp bug 1920806 hides any open sidebar panels bug 1906140, so a multi_action opening the chatbot bug 1919867 ends up getting closed

https://searchfox.org/mozilla-central/rev/4f5426084651871759f5346eb0ded2e9ac5326fd/browser/components/sidebar/browser-sidebar.js#709

"action": {
  "data": { 
    "actions": [
      {     
        "type": "SET_PREF",
        "data": {
          "pref": { 
            "name": "sidebar.revamp",
            "value": true
          }         
        }       
      },    
      {     
        "type": "OPEN_SIDEBAR",
        "data": "viewGenaiChatSidebar"
      }     
    ]   
  },
  "type": "MULTI_ACTION",
  "navigate": true
}
Depends on: 1920806, 1919867, 1906140
Whiteboard: [genai]
You need to log in before you can comment on or make changes to this bug.