Closed Bug 2012536 Opened 4 months ago Closed 3 months ago

Implement Tab switching state mgmt for chat sessions (full/sidebar)

Categories

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

task

Tracking

()

VERIFIED FIXED
149 Branch
Tracking Status
firefox149 --- verified

People

(Reporter: omarg, Assigned: omarg)

References

(Blocks 1 open bug)

Details

(Whiteboard: [genai] [chat])

Attachments

(1 file)

Implement state management for switching tabs to update the sidebar/fullwindow state of the chat session

  • switching tabs should render the correct conversation (or not display a conversation) in both full/sidebar states
  • switching tabs should keep state on the chat input
Severity: -- → N/A
Priority: -- → P1
Whiteboard: [genai][chat] → [genai] [chat]
Blocks: 2013657

bug 2011266 is adding some sidebar context watching for location change

See Also: → 2011266
Blocks: 2014929
Blocks: 2014936
Pushed by elee@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/d1a3dc6a1022 https://hg.mozilla.org/integration/autoland/rev/f9a78df0164a Implement tab switching for smart window sidebar state mgmt r=Mardak,ai-frontend-reviewers
Pushed by smolnar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/3bdcfec24d20 https://hg.mozilla.org/integration/autoland/rev/26a3129fc6d3 Revert "Bug 2012536 - Implement tab switching for smart window sidebar state mgmt r=Mardak,ai-frontend-reviewers" for causing multiple failures @ browser_open_in_lazy_tab.js / browser_bug_1387976_restore_lazy_tab_browser_muted_state.js / browser_restore_container_tabs_oa.js / browser_ext_tabs_discard_reversed.js
See Also: → 2015134

I made changes that fix the failures for browser_open_in_lazy_tab.js / browser_bug_1387976_restore_lazy_tab_browser_muted_state.js / browser_restore_container_tabs_oa.js.

The failures in browser_ext_tabs_discard_reversed.js I was able to replicate in the main branch, where it failed most of the time but did pass twice, but I tried several times to clobber my build, and re-run tests and I kept getting failures for the tests in this file on main.

Flags: needinfo?(ogonzalez)
Pushed by ogonzalez@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/a14cdfa84f30 https://hg.mozilla.org/integration/autoland/rev/b13467d44dbd Implement tab switching for smart window sidebar state mgmt r=Mardak,ai-frontend-reviewers
Pushed by abutkovits@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/b1264e3cfde3 https://hg.mozilla.org/integration/autoland/rev/a9445a878f80 Revert "Bug 2012536 - Implement tab switching for smart window sidebar state mgmt r=Mardak,ai-frontend-reviewers" for causing failures at browser_chats_firefoxview.js
Blocks: 2015576
Attachment #9542992 - Attachment description: Bug 2012536 - Implement tab switching for smart window sidebar state mgmt r=Mardak → Bug 2012536 - Implement tab switching for smart window sidebar state mgmt r=Mardak,ai-frontend-reviewers
Pushed by ogonzalez@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/f281139eec62 https://hg.mozilla.org/integration/autoland/rev/9eb6ce1b0fdf Implement tab switching for smart window sidebar state mgmt r=Mardak,ai-frontend-reviewers
Pushed by agoloman@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/902d6641cc26 https://hg.mozilla.org/integration/autoland/rev/665550b1988f Revert "Bug 2012536 - Implement tab switching for smart window sidebar state mgmt r=Mardak,ai-frontend-reviewers" for causing bc failures @browser_smartwindow_tab_switching.js.

Backed out for causing bc failures @browser_smartwindow_tab_switching.js.

Fixed the leaky tabs/window in browser_smartwindow_tab_switching.js.

Flags: needinfo?(ogonzalez)
Pushed by ogonzalez@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/9036102bc1f5 https://hg.mozilla.org/integration/autoland/rev/78ab81c0aeff Implement tab switching for smart window sidebar state mgmt r=Mardak,ai-frontend-reviewers
Pushed by agoloman@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/2d196e0537b5 https://hg.mozilla.org/integration/autoland/rev/e8b50b04ec37 Revert "Bug 2012536 - Implement tab switching for smart window sidebar state mgmt r=Mardak,ai-frontend-reviewers" for causing bc failures @browser_smartwindow_tab_switching.js.

Backed out for causing bc failures @browser_smartwindow_tab_switching.js.

Flags: needinfo?(ogonzalez)
Pushed by ogonzalez@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/7e2d7168d252 https://hg.mozilla.org/integration/autoland/rev/e6e90dd83317 Implement tab switching for smart window sidebar state mgmt r=Mardak,ai-frontend-reviewers
Flags: needinfo?(ogonzalez)
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
Blocks: 2015921
Blocks: 2014053
Blocks: 2018977

Verified as fixed in our latest Beta 149.0b1

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triage-done-c150/b149] [qa-ver-done-c150/b49]
QA Contact: rdoghi
Blocks: 2022050
Blocks: 2022457
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: