Page MenuHomePhabricator

Drawer overlay mask doesn't transition
Closed, ResolvedPublic2 Estimated Story Points

Description

The overlay mask shown when a drawers are shown is supposed to transition in (it has transition: opacity... set), but doesn't.

This can be verified by slowing down animations in the Chrome debugger.

QA Results - Beta

ACStatusDetails
1T360889#10004396

Event Timeline

Change #1014012 had a related patch set uploaded (by Esanders; author: Esanders):

[mediawiki/extensions/MobileFrontend@master] Fix drawer mask transitions

https://gerrit.wikimedia.org/r/1014012

Test wiki created on Patch demo by ESanders (WMF) using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/e443cf90ce/w

The code that probably caused the regression was introduced to fix T242784. I've verified the above doesn't cause an regression with that issue:

https://patchdemo.wmflabs.org/wikis/e443cf90ce/w/index.php?title=Douglas_Adams&mobileaction=toggle_view_mobile

Jdlrobson subscribed.

Adding to sprint 2 for consideration as there is a patch open from Ed.

Jdlrobson set the point value for this task to 2.May 21 2024, 4:17 PM

Change #1014012 merged by jenkins-bot:

[mediawiki/extensions/MobileFrontend@master] Fix drawer mask transitions

https://gerrit.wikimedia.org/r/1014012

@Jdlrobson Can you please review my gif? What exactly am I looking for to complete this test?

Test Result - Beta

Status: ❓NMI
Environment: Beta
OS: macOS Sonoma 14.5
Browser: Chrome 126
Device: MBA
Emulated Device: NA

Test Artifact(s):

Test Steps
  1. Go to Developer Tools
  2. Click on the 3 dots on the right which is between the setting gear and "X"
  3. Hover on More tools
  4. Click on Animations
  5. Switch percentage from 100% to 10%
  6. Click on citation "1" to bring up the Drawer.

This can be verified by slowing down animations in the Chrome debugger.

GifScreenshot
2024-07-22_08-30-39.mp4.gif (874×1 px, 2 MB)
2024-07-22_08-33-14.png (1×3 px, 541 KB)
Jdlrobson added a subscriber: GMikesell-WMF.

Can you provide some QA steps on this one? Thanks in advance!

@Jdlrobson please see the updated steps with gif on the whole process and a screenshot on T360889#9997415

@GMikesell-WMF the gif you provided (attached below with size=full to show animation) actually demonstrates the transition with opacity successfully (the reference toast fades in). Looks like a pass to me 👍

2024-07-22_08-30-39.mp4.gif (874×1 px, 2 MB)

Jdlrobson claimed this task.