Page MenuHomePhabricator

Clicking Echo icon breaks Echo notification icon display
Closed, ResolvedPublic1 Estimated Story PointsBUG REPORT

Description

This regression has happened several times (see notes). We really should prioritize addressing the technical debt (see more information)

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

What happens?:

Screenshot 2024-05-20 at 4.41.56 PM.png (310×592 px, 44 KB)

Display becomes garbled.

What should have happened instead?:
No repeating icons.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):
The Echo notification icon is very fragile and a more long term solution is described in https://phabricator.wikimedia.org/T343838

Requirement

Ensure that clicking the Echo notification icon does not break the Echo notification icon display.

BDD

gherkin
Feature: Echo Notification Icon Display

  Scenario: Ensure Echo notification icon display is correct when clicked
    Given the user is on a page with the Echo notification icon
    When the user clicks the Echo notification icon
    Then the Echo notification icon display should not break

Test Steps

Test Case 1: Ensure Echo Notification Icon Display is Correct When Clicked

  1. Go to this page.
  2. Click one of the notification icons.
  3. AC1: Confirm that the Echo notification icon display does not break.

QA Results - Beta

ACStatusDetails
1T365409#9840560

QA Results - PROD

ACStatusDetails
1T365409#9857401

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

This is a deploy blocker - as it's highly visible to editors, and they will complain :)

Change #1034200 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/skins/Vector@master] Fixes: Echo icon display when clicked

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

Okay I've tracked this down to https://gerrit.wikimedia.org/r/c/mediawiki/skins/Vector/+/1028371 which removed some styles for T356540 which were apparently also used here.
Reverting that patch seemed riskier to me (and would leave an unclear commented piece of code which could lead to a repeat version of this happening again), so I restored the styles in the skinStyle stylesheet for Echo ^ I would appreciate a review ASAP to unblock the train!

Change #1034200 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Fixes: Echo icon display when clicked

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

Jdlrobson lowered the priority of this task from Unbreak Now! to Medium.May 21 2024, 2:07 AM
ovasileva set the point value for this task to 1.May 21 2024, 4:05 PM
Edtadros subscribed.

Test Result - Beta

Status: ✅ PASS
Environment: Beta
OS: macOS Sonoma
Browser: Chrome
Device: MBA
Emulated Device: NA

Test Artifact(s):

Test Steps

Test Case 1: Ensure Echo Notification Icon Display is Correct When Clicked

  1. Go to this page.
  2. Click one of the notification icons.
  3. AC1: Confirm that the Echo notification icon display does not break.

screenshot 387.png (719×1 px, 253 KB)

screenshot 386.png (719×1 px, 262 KB)

Jdlrobson claimed this task.

Test Result - PROD

Status: ✅ PASS
Environment: PROD
OS: macOS Sonoma 14.5
Browser: Chrome 125
Device: MBA
Emulated Device: NA

Test Artifact(s):

Test Steps

Test Case 1: Ensure Echo Notification Icon Display is Correct When Clicked

  1. Go to this page.
  2. Click one of the notification icons.
  3. AC1: Confirm that the Echo notification icon display does not break.

2024-06-03_14-47-26.png (806×2 px, 446 KB)

2024-06-03_14-47-55.png (724×2 px, 383 KB)