Closed Bug 1909986 Opened 4 months ago Closed 2 months ago

For sidebar revamp, only show chatbot entrypoints (context menu, shortcuts) when tools include aichat

Categories

(Core :: Machine Learning, enhancement, P1)

enhancement
Points:
2

Tracking

()

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: Mardak, Assigned: Mardak)

References

(Blocks 1 open bug)

Details

(Whiteboard: [genai])

Attachments

(1 file)

Part of the reason for adding aichat as a tool in bug 1900915 was so people can toggle it closed. But it's still possible to open the chatbot with other entrypoints even when it's not a tool. This should also simplify some experimentation configuration of bug 1895932.

See Also: → 1895932

So you're going to remove use of browser.ml.chat.enabled entirely from browser-sidebar.js? And that's not going to break the configuration of the chatbot in fx labs, it sounds like? And then we'll make the change so that default tools are nimbus pref configurable in bug 1895932. I think lets sequence these changes so there isn't any confusion.

This wouldn't touch browser-sidebar.js as this bug is to prevent showing the context menu and shortcuts when revamp doesn't have aichat as a visible tool. I'm thinking something like…

function for showing entrypoint() {
  if (sidebar.revamp && sidebar.main.tools does not includes "aichat") return

Ania says this isn't as needed for 130 as users would need to enable both chatbot and sidebar from labs then customize sidebar to remove chat. This fix should still generally be useful to prevent opening the chatbot if it's not shown in the new sidebar.

No longer blocks: 1905745
Blocks: 1911129
No longer blocks: 1900914
Points: --- → 3
Priority: -- → P1

Convert existing entrypoint checks to getter that also checks sidebar.

Pushed by elee@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a38259f7bf5c For sidebar revamp, only show chatbot entrypoints (context menu, shortcuts) when tools include aichat r=tarek
Points: 3 → 2
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: