Closed Bug 2044164 Opened 1 month ago Closed 29 days ago

Add smooth transition for Assistant sidebar open/close

Categories

(Core :: Machine Learning: Frontend, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
154 Branch
Tracking Status
firefox154 --- fixed

People

(Reporter: jlevinsohn, Assigned: jlewis)

References

(Blocks 1 open bug, Regressed 1 open bug)

Details

(Whiteboard: [aife])

Attachments

(1 file)

Add a smooth transition when the Assistant sidebar opens and closes.

  • Assistant sidebar animates in when opened
  • Assistant sidebar animates out when closed
  • Transition feels smooth and does not appear instant or jarring
  • Animation is consistent with existing Firefox sidebar behavior where appropriate
  • Reuse classic sidebar animation pattern if feasible
Assignee: nobody → jlewis
Status: NEW → ASSIGNED
Attachment #9592356 - Attachment description: Bug 2044164 - Add smooth transition for Assistant sidebar open/close r=#ai-frontend-reviewers → WIP: Bug 2044164 - Add smooth transition for Assistant sidebar open/close r=#ai-frontend-reviewers
Attachment #9592356 - Attachment description: WIP: Bug 2044164 - Add smooth transition for Assistant sidebar open/close r=#ai-frontend-reviewers → Bug 2044164 - Add smooth transition for Assistant sidebar open/close r=#ai-frontend-reviewers
Duplicate of this bug: 2033594
Blocks: 2049479

Here is the follow-up to move towards the View Transition API: https://bugzilla.mozilla.org/show_bug.cgi?id=2049479

Pushed by jlewis@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/d59d7e218cdd https://hg.mozilla.org/integration/autoland/rev/b6f99e60828b Add smooth transition for Assistant sidebar open/close r=desktop-theme-reviewers,tabbrowser-reviewers,ngrato,sthompson,emilio
Pushed by smolnar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/6fd7369be42c https://hg.mozilla.org/integration/autoland/rev/a74e7d925809 Revert "Bug 2044164 - Add smooth transition for Assistant sidebar open/close r=desktop-theme-reviewers,tabbrowser-reviewers,ngrato,sthompson,emilio" for causing bc failures @ browser_aiwindow_ask_button.js
Flags: needinfo?(jlewis)

Thanks, had to update a test to accommodate state transition (200ms)

Flags: needinfo?(jlewis)
Pushed by jlewis@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/3a008d964d93 https://hg.mozilla.org/integration/autoland/rev/21d12fbc5eb3 Add smooth transition for Assistant sidebar open/close r=desktop-theme-reviewers,tabbrowser-reviewers,ngrato,sthompson,emilio
Pushed by pstanciu@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/548f896dfb87 https://hg.mozilla.org/integration/autoland/rev/401f809adde8 Revert "Bug 2044164 - Add smooth transition for Assistant sidebar open/close r=desktop-theme-reviewers,tabbrowser-reviewers,ngrato,sthompson,emilio" for causing bc failures @ browser_aiwindow_urlbar_chat.js
Flags: needinfo?(jlewis)

Fixed some flaky tests that were passing locally but were pushed over the edge here. Apologies and thanks!

Flags: needinfo?(jlewis)
Pushed by jlewis@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/496443502c0f https://hg.mozilla.org/integration/autoland/rev/6a52cd94fc04 Add smooth transition for Assistant sidebar open/close r=desktop-theme-reviewers,tabbrowser-reviewers,ngrato,sthompson,emilio
Regressions: 2049556
Status: ASSIGNED → RESOLVED
Closed: 29 days ago
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: