Page MenuHomePhabricator

Reload needed to see additional cross-wiki notifications after "Mark as read" is clicked
Open, Needs TriagePublic

Description

The issue is a follow-up on T318007: User notifications remain visible even if they are marked as read

Steps to reproduce

  1. Log as a user who have >25 cross-wiki notifications (or go to Special:Notifications page and mark as unread some notifications, so the Echo badge notification count will be >25)
Screen Shot 2022-09-23 at 11.37.00 AM.png (850×1 px, 274 KB)
Screen Shot 2022-09-23 at 11.37.18 AM.png (1×1 px, 367 KB)
  1. Click on the Echo notification badge and click on Mark as read for the cross-wiki notification.

Screen Shot 2022-09-23 at 11.37.34 AM.png (1×1 px, 348 KB)

What happened:

  • The counter won't change which might be correct since only 25 notifications were discarded.

Screen Shot 2022-09-23 at 11.38.26 AM.png (1×1 px, 345 KB)

  • the cross-wiki notifications disappear entirely which is incorrect since only 25 should be discarded
  • Reload the page - the counter remains 99+ and the cross-wiki notifications reappear with the initial count of 100.
  • Repeat the step 2 - the counter changes the count to 80 and the cross-wiki notifications disappear again.

Screen Shot 2022-09-23 at 11.48.24 AM.png (1×1 px, 411 KB)

  1. Reload the page - the cross-wiki notifications are displayed again. After that each click on Mark as read will subtract 25 from the count (as it should be).

The main issue here - the cross-wiki notifications disappear from the Echo drop-down. That, along with users not knowing that Mark as read removes (marks as read) only 25 notifications from the drop-down, creates confusion whether the Mark as read action worked at all and what status cross-wiki notifications have.

Notes