Page MenuHomePhabricator

[production] minor: 'Mark as read' cross-wiki alerts displays blank flyout
Closed, ResolvedPublic

Description

Found in production and betalabs.

When only cross-wiki alerts are present in Alerts, mark them as read - the blank Alert flyout will be displayed.
After refreshing the page, Alerts display proper 'There are no notifications' message.
It's easy to reproduce the issue with creating a new user.

  1. On enwiki create a new user account.
  2. Sign in to another wiki and enable cross-wiki notification on that wiki.
  3. The new user will immediately see Alerts displaying one new notfication.
  4. Click to expand it and view the Alert notification from enwiki (Welcome a new user msg).
  5. Mark it as read - the Alerts flyout becomes blank.

Screen Shot 2016-04-08 at 10.40.49 AM.png (234×917 px, 54 KB)

Screen Shot 2016-04-08 at 11.01.20 AM.png (233×634 px, 25 KB)

Event Timeline

Etonkovidova renamed this task from [production] 'Mark as read' cross-wiki alerts displays blank flyout to [production] minor: 'Mark as read' cross-wiki alerts displays blank flyout .Apr 27 2016, 9:32 PM
Etonkovidova updated the task description. (Show Details)

Change 296437 had a related patch set uploaded (by Sbisson):
Show placeholder widget when there is no notifications

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

Change 296437 merged by jenkins-bot:
Show placeholder widget when there are no notifications

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

Checked in betalabs - 1.28.0-alpha (0124c6c) - after all cross-wiki Alerts are marked as read, "There are no notifications." message is displayed.