when switching to a new tab ( not the New Tab ) but a new tab, sidebar and new converstation not initiated
Categories
(Core :: Machine Learning: Frontend, defect, P1)
Tracking
()
People
(Reporter: ngrato, Assigned: ngrato)
References
Details
(Whiteboard: [genai][chat])
Attachments
(2 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
when a user navigates to another url, for example opens a link from browser history and or favorite the side bar is not open and a new chat is not initiated.
This might have to do with "should keep open" not be initialized correctly on the tab state. Look into ontabselected as well to see if we are setting the side bar to close to forcefully.
Updated•4 months ago
|
Updated•4 months ago
|
Comment 4•4 months ago
|
||
Backed out for causing bc failures at browser_aiwindow_urlbar_chat.js
Backout Link
Push with failures
Failure Log
Failure line TEST-UNEXPECTED-FAIL | browser/components/aiwindow/ui/test/browser/browser_aiwindow_urlbar_chat.js | test_chat_intent_in_aiwindow - Uncaught exception in test - TypeError: can't access property "length", telemetries is null
Silaghi Andreea, do you know why the links do not work from about.. the backout, failure etc? I ran "browser_aiwindow_urlbar_chat.js" locally and it worked so a little in the dark on actual error.
oh odd it is trying to open the links like "https://bugzilla.mozilla.org/%5Burl%5D(https://treeherder.mozilla.org/logviewer?job_id=554265072&repo=autoland&task=VupFnHSjSACD2GQ0TY_jGA.0&lineNumber=4689)"
Comment 10•4 months ago
|
||
Reverted this because it was causing mochitests failures in browser_smartwindow_leak.js.
- Revert link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | browser/components/aiwindow/ui/test/browser/browser_smartwindow_leak.js | Shutdown - leaked window until shutdown [url = chrome://browser/content/aiwindow/aiWindow.html]
Comment 11•4 months ago
|
||
Comment 12•4 months ago
|
||
Comment 13•4 months ago
|
||
Revert for causing bc failures on browser_smartwindow_leak.js.
Updated•4 months ago
|
Comment 14•4 months ago
|
||
backout pushed, changes should reflect when hg-git sync is working again
Comment 15•4 months ago
|
||
Comment 16•4 months ago
|
||
Comment 17•4 months ago
|
||
Comment 18•4 months ago
|
||
Backed out for causing bc failures at browser_smartwindow_leak.js
Backout link
Push with failures
Failure log(s)
Updated•4 months ago
|
Updated•4 months ago
|
Comment 19•4 months ago
|
||
Authored by https://github.com/nickgrato
https://github.com/mozilla/enterprise-firefox/commit/6b56cfb4904e045a7e6b6fc0557ec8b89bbcc227
[enterprise-main] Bug 2023284 - when switching to a new tab ( not the New Tab ) but a new tab, sidebar and new converstation not initiated r=omarg,ai-frontend-reviewers
Authored by https://github.com/sstanca-cell
https://github.com/mozilla/enterprise-firefox/commit/e8fcb681a4416c208a76a9e3b95cd23ee4d0d459
[enterprise-main] Revert "Bug 2023284 - when switching to a new tab ( not the New Tab ) but a new tab, sidebar and new converstation not initiated r=omarg,ai-frontend-reviewers" for causing mochitests failures in browser_smartwindow_leak.js.
Authored by https://github.com/nickgrato
https://github.com/mozilla/enterprise-firefox/commit/ae51b552a099501eb9396c97b92eb21f2f5e9edf
[enterprise-main] Bug 2023284 - when switching to a new tab ( not the New Tab ) but a new tab, sidebar and new converstation not initiated r=omarg,ai-frontend-reviewers
Authored by https://github.com/IulianMoraru
https://github.com/mozilla/enterprise-firefox/commit/881a9b31c67ed0d679fc8978085583ac6a200a8b
[enterprise-main] Revert "Bug 2023284 - when switching to a new tab ( not the New Tab ) but a new tab, sidebar and new converstation not initiated r=omarg,ai-frontend-reviewers" for causing bc failures on browser_smartwindow_leak.js.
Authored by https://github.com/nickgrato
https://github.com/mozilla/enterprise-firefox/commit/36dc14db579d9eab56421d2391ecab3917fecf18
[enterprise-main] Bug 2023284 - when switching to a new tab ( not the New Tab ) but a new tab, sidebar and new converstation not initiated r=omarg,ai-frontend-reviewers
Authored by https://github.com/amarc-mozilla
https://github.com/mozilla/enterprise-firefox/commit/69f97dfcf8e59d311b7c199ca5ee301f08403b80
[enterprise-main] Revert "Bug 2023284 - when switching to a new tab ( not the New Tab ) but a new tab, sidebar and new converstation not initiated r=omarg,ai-frontend-reviewers" by dev request
Updated•4 months ago
|
Comment 20•4 months ago
|
||
Comment 21•4 months ago
|
||
| bugherder | ||
Comment 22•4 months ago
|
||
[Tracking Requested - why for this release]:
Required for Smart Window Feature Fx150 MVP launch. Part of uplift fixes tracked here https://bugzilla.mozilla.org/show_bug.cgi?id=2024028
Comment 23•4 months ago
|
||
NI @rdoghi to help QA in Nightly Fx151 before uplifting to beta thanks!
Comment 24•4 months ago
|
||
This issue is verified as fixed in our latest Nightly build 151.0a1 (2026-03-25), The Ask Sidebar is correctly saving its state for each specific tab.
Comment 25•4 months ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: Opening a new URL will not open the side bar with a fresh smart-window side bar as intended.
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: yes
- Steps to reproduce for manual QE testing: - Sign into Smart Window
- Click Fx view
- from here you can either click a recently closed tab or open in new tab from the history in the side bar. The idea is to have a new url window open to see that the sidebar also opens with a fresh chat.
- Risk associated with taking this patch: low
- Explanation of risk level: (maybe a little higher than low) This handles tab state and tab initiation. I think with the amount of test it should be accurate. Also if this does break the user would be left with out the initial side bar on new url pages. Not ideal, but the user could toggle the ask button. So it's a little subjective on risk level.
- String changes made/needed?: no
- Is Android affected?: no
| Assignee | ||
Comment 26•4 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D288075
Updated•4 months ago
|
Updated•4 months ago
|
Updated•4 months ago
|
Comment 27•4 months ago
|
||
| uplift | ||
Comment 28•4 months ago
|
||
Verified as fixed in our latest Beta 150.0b2
Description
•