Re-enable smart cursor and integrate with Smart Window
Categories
(Core :: Machine Learning: Frontend, task)
Tracking
()
People
(Reporter: jlevinsohn, Assigned: echa)
References
(Blocks 3 open bugs)
Details
(Whiteboard: [aiasst])
Attachments
(3 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-release+
|
Details | Review |
Re-enable smart cursor and ensure it works within Smart Window using the native sidebar and chat experience.
- Smart cursor is enabled under pref
browser.ml.chat.shortcuts - Highlighting text on a webpage surfaces the smart cursor affordance
- Right-click "Ask AI" entry triggers the same Smart Window flow
- Behavior matches Classic implementation, adapted to Smart Window UI
Flow 1: Assistant closed
- Triggering smart cursor opens the Smart Window sidebar
- Selected text is passed into the assistant
- User is prompted with actions (e.g. Summarize, Explain this, Quiz me)
- Selecting an action creates a prompt in the Smart Window chat
Flow 2: Assistant open
- Triggering smart cursor does not reopen sidebar
- Selected text is added to the existing Smart Window chat
- Suggested actions (Summarize, Explain, etc.) are shown inline
- Selecting an action appends to the current conversation
- Smart cursor interaction takes priority over natural language request input when triggered
- Selected text is accurately captured and passed to the assistant
- Interaction works consistently across:
- inline shortcut
- right-click menu
Flow 3: Right click
-
Trigger
Askmenu/submenu -
No regression to existing Smart Window chat behavior
-
No regression to Classic smart cursor behavior outside Smart Window
Figma Specs
Updated•2 months ago
|
Updated•2 months ago
|
- Enable Smart Cursor actions in Smart Window behind
browser.ml.chat.shortcuts.smartwindowand route selected text to the sidebar chat - Update Smart Window context menus/shortcuts to use Smart Window-specific UI and remove unsupported options
Updated•1 month ago
|
Comment 5•27 days ago
|
||
Backed out for causing bc failures at browser_genai_actors.js
Backout Link
Push with failures
Failure Log
Failure line TEST-UNEXPECTED-FAIL | browser/components/genai/tests/browser/browser_genai_actors.js | test_actor_disabled - Missing expected exception. Actor disabled
Comment 7•26 days ago
|
||
| bugherder | ||
Comment 8•25 days ago
|
||
Verified as fixed in our latest Nightly 154.0a1 (2026-06-19), however it seems that the Ask AI submenus from when we right click inside a page or from when we Right click a Tab are missing from Smart Window, we do have them in Classic Firefox.
Are these being implemented with a different bug ? should I log a seperate one ?
Hi Rares, as discussed on Slack the right click inside a page (without highlighted text) is not in scope for this iteration. thanks!
Updated•19 days ago
|
Comment 10•18 days ago
|
||
Updating the main status flag.
Updated•18 days ago
|
| Assignee | ||
Comment 11•5 days ago
|
||
- Enable Smart Cursor actions in Smart Window behind
browser.ml.chat.shortcuts.smartwindowand route selected text to the sidebar chat - Update Smart Window context menus/shortcuts to use Smart Window-specific UI and remove unsupported options
Original Revision: https://phabricator.services.mozilla.com/D306022
Updated•5 days ago
|
Comment 12•5 days ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: This patch enables Smart Cursor actions (e.g. Summarize, Explain this, Proofread) in Smart Window by routing them to the built-in assistant.
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: yes
- Steps to reproduce for manual QE testing: Open a Smart Window.
Set prefsbrowser.ml.chat.shortcutsandbrowser.ml.chat.shortcuts.smartwindowtotrue
Navigate to a page with selectable text.
Select text and verify the Smart Cursor shortcut appears.
Choose an action (e.g. Summarize).
Verify the prompt is submitted to the Smart Window sidebar assistant.
Verify Classic Window Smart Cursor behavior remains unchanged. - Risk associated with taking this patch: low
- Explanation of risk level: The feature is isolated to Smart Window and is backed by existing Smart Cursor functionality.
- String changes made/needed?: Yes
- Is Android affected?: unknown
| Assignee | ||
Comment 13•5 days ago
|
||
- Enable Smart Cursor actions in Smart Window behind
browser.ml.chat.shortcuts.smartwindowand route selected text to the sidebar chat - Update Smart Window context menus/shortcuts to use Smart Window-specific UI and remove unsupported options
Original Revision: https://phabricator.services.mozilla.com/D306022
Updated•5 days ago
|
Comment 14•5 days ago
|
||
firefox-release Uplift Approval Request
- User impact if declined/Reason for urgency: This patch enables Smart Cursor actions (e.g. Summarize, Explain this, Proofread) in Smart Window by routing them to the built-in assistant.
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: yes
- Steps to reproduce for manual QE testing: Open a Smart Window.
Set prefsbrowser.ml.chat.shortcutsandbrowser.ml.chat.shortcuts.smartwindowtotrue
Navigate to a page with selectable text.
Select text and verify the Smart Cursor shortcut appears.
Choose an action (e.g. Summarize).
Verify the prompt is submitted to the Smart Window sidebar assistant.
Verify Classic Window Smart Cursor behavior remains unchanged. - Risk associated with taking this patch: low
- Explanation of risk level: The feature is isolated to Smart Window and is backed by existing Smart Cursor functionality.
- String changes made/needed?: Yes
- Is Android affected?: unknown
Updated•4 days ago
|
Updated•2 days ago
|
Updated•2 days ago
|
Updated•2 days ago
|
Comment 15•2 days ago
|
||
| uplift | ||
Comment 16•1 day ago
|
||
Verified as fixed in our latest Beta 153.0b12
Updated•1 day ago
|
Updated•1 day ago
|
Comment 17•1 day ago
|
||
| uplift | ||
Comment 18•1 day ago
•
|
||
Release Note Request (optional, but appreciated)
[Why is this notable]: new smart window assistant interaction
[Affects Firefox for Android]: no
[Suggested wording]: Enabled Smart Cursor in Smart Window, allowing users to select text on a page to summarize, explain, or take other actions in the built-in assistant.
Select text on a page and get quick access to summarize, explain, and more using the built-in assistant.
[Links (documentation, blog post, etc)]: https://www.firefox.com/smart-window is needed to activate the feature and it's region restricted, so we should probably show the "progressive roll out" indicator
Comment 20•20 hours ago
|
||
Verified as fixed in our latest Release 152.0.6
Description
•