Page MenuHomePhabricator

Regression: Link tooltips overlap previews
Closed, ResolvedPublic

Description

popup link label clash.gif (426×580 px, 998 KB)

Expected: The title attribute should never show when hovering over a page preview.

Developer notes

It looks like this regression occurring during the implementation of T277639 cc @Lena_WMDE @WMDE-Fisch

The issue is happening because of the line commented here: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Popups/+/677512/comment/306e0417_be9ecf7c/

One potential solution is:

		const previewType = newState.preview.previewType || 'page';

		if ( !newState.preview.enabled[ previewType ] ) {
			return;
		}

We should add a unit test case to cover this.

QA Results - Beta

ACStatusDetails
1T287119#7307039

QA Results - Prod

ACStatusDetails
1T287119#7307045

Event Timeline

image.png (426×580 px, 95 KB)

I guess this should be a video? I neither see a preview nor a title on this screenshot. But I get the issue though and could reproduce it.

In T287119#7229850, @WMDE-Fisch wrote:
I guess this should be a video? I neither see a preview nor a title on this screenshot. But I get the issue though and could reproduce it.

@WMDE-Fisch replaced with a GIF

Jdlrobson updated the task description. (Show Details)

Change 678220 had a related patch set uploaded (by Jdlrobson; author: Thiemo Kreuz (WMDE)):

[mediawiki/extensions/Popups@master] Rewrite linkTitle change listener for clarity/easier expansion

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

Change 678220 merged by jenkins-bot:

[mediawiki/extensions/Popups@master] Rewrite linkTitle change listener for clarity/easier expansion

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

Test Result - Beta

Status: ✅ PASS
Environment: beta
OS: macOS Big Sur
Browser: Chrome
Device: MBP
Emulated Device: NA

Test Artifact(s):

QA Steps

✅ AC1: The title attribute should never show when hovering over a page preview

Screen Recording 2021-08-24 at 6.16.55 PM.mov.gif (698×1 px, 592 KB)

Edtadros subscribed.

Test Result - Prod

Status: ✅ PASS
Environment: enwiki
OS: macOS Big Sur
Browser: Chrome
Device: MBP
Emulated Device: NA

Test Artifact(s):

QA Steps

✅ AC1: The title attribute should never show when hovering over a page preview

Screen Recording 2021-08-24 at 6.21.19 PM.mov.gif (698×1 px, 543 KB)