Page MenuHomePhabricator

IP masking: Temp account tooltip styles appear above other elements, button styles arent correct
Closed, ResolvedPublic1 Estimated Story PointsBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Become a temp users in Minerva
  • Open an overlay

What happens?:
The black outline from the tooltip shows above the overlay
https://phabricator.wikimedia.org/F37152477

What should have happened instead?:
The overlay should go on top of the tooltip, and the tooltip button shouldnt have any outline

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Developer notes

The 2 issues are both because of CSS thats applied to .mw-temp-user-banner-tooltip. These styles apply color: black, but actually messes up the codex button styles, and z-index, which also causes the button to go over overlays. both styles probably should be applied to the tooltip body rather than the container

QA steps

https://phabricator.wikimedia.org/T342935#9078074

QA Results - PatchDemo

ACStatusDetails
1Login Status
2Tooltip Button on Gray Bar
3Outline Check
4Overlay Interaction

Details

Event Timeline

Jdlrobson renamed this task from Temp account tooltip styles appear above other elements, button styles arent correct to IP masking: Temp account tooltip styles appear above other elements, button styles arent correct.Jul 28 2023, 7:05 PM
Jdlrobson added a project: Temporary accounts.
Jdlrobson added a subscriber: ovasileva.

Change 944324 had a related patch set uploaded (by Kimberly Sarabia; author: Kimberly Sarabia):

[mediawiki/core@master] Tooltip fix

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

Change 944324 merged by jenkins-bot:

[mediawiki/core@master] Tooltip fix

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

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

QA Instructions

Go to Patch Demo
Go to Patch Demo
Login Status:

  1. Start by confirming that you are not logged into any user account on Mediawiki
  2. Navigate to a page on the web application where anonymous editing is allowed.
  3. Attempt to edit the page without logging in. Verify that the edits are allowed and saved successfully.
  4. After editing, check if a gray bar appears at the top of the page, spanning the full width.
  5. The gray bar should display the message "You are using a temporary account."

Tooltip Button on Gray Bar:

  1. Locate the tooltip button on the gray bar, often denoted by an "i" icon or similar.
  2. Click the tooltip button and observe the behavior.
  3. Confirm that the tooltip box content is accurate and easily readable.

Outline Check:

  1. While the gray bar tooltip is open, check for the presence of an outline around the tooltip box.
  2. There should be no visible outline around the tooltip box.

Overlay Interaction:

  1. Click on a UI element that would trigger an overlay, such as the search bar.
  2. Confirm that the overlay renders on top of the gray bar, without any visual glitches or misplacements.
  3. While the overlay is active, inspect for any outlines or borders appearing within the overlay.

Hey @Mhurd adding you since @Edtadros is winding down. Feel free to reassign to George if they'll be handling QA.

Test wiki on Patch demo by KSarabia-WMF using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/c2bbf7a871/w/

Status: ✅ PASS
Environment: Patch Demo
OS: macOS Ventura
Browser: Chrome
Device: MBP
Emulated Device:NA
Test Links:
https://patchdemo.wmflabs.org/wikis/0a1cc370e2/wiki/Main_Page
To test Search Bar: https://patchdemo.wmflabs.org/wikis/0a1cc370e2/wiki/index.php?useskin=minerva

✅AC1: Login Status- Edits are saved, Grey bar is full width and displays "You are using a temporary account."

T342935_IPMasking_TempAcct_Tooltip.png (889×2 px, 208 KB)

✅AC2: ✅AC3: Tooltip Button on Gray Bar & Outline Check- 'i" icon or light bulb (Arabic) works as designed. No visible outline around the tooltip box.

EnglishSpanishHebrewArabic
T342935_IPMasking_TempAcct_Tooltip1.png (362×642 px, 40 KB)
T342935_IPMasking_TempAcct_Tooltip2.png (305×677 px, 42 KB)
T342935_IPMasking_TempAcct_Tooltip3.png (359×656 px, 35 KB)
T342935_IPMasking_TempAcct_Tooltip4.png (285×538 px, 39 KB)

✅AC4: Overlay Interaction- Overlay renders over the gray bar with no glitches or misplacements

EnglishSpanishHebrewArabic
T342935_IPMasking_TempAcct_Tooltip5.png (457×3 px, 70 KB)
T342935_IPMasking_TempAcct_Tooltip6.png (199×3 px, 18 KB)
T342935_IPMasking_TempAcct_Tooltip7.png (307×3 px, 25 KB)
T342935_IPMasking_TempAcct_Tooltip8.png (239×3 px, 59 KB)

Looks good, resolving.