rokwire / illinois-app

Source code repository of "Illinois" App - the official mobile app of the University of Illinois.
https://app.illinois.edu/
Apache License 2.0
21 stars 20 forks source link

[BUG] Notification number remains at "1" even though "Mark all as read" is tapped #4215

Open knguyenjahiel opened 2 weeks ago

knguyenjahiel commented 2 weeks ago

Describe the bug Notification number remains at "1" even though "Mark all as read" is tapped in "Unread Notifications" and "No messages" confirmation is displayed.

To Reproduce Steps to reproduce the behavior:

  1. Tap on "Notification bell"
  2. In "Unread Notifications", tap "Mark all as read"
  3. Note message "No messages" is displayed
  4. Close Notification card
  5. See "1" by Notification Bell

Expected behavior Number in Notification Bell should be 0 after "Mark all as read."

Smartphone (please complete the following information):

mihail-varbanov commented 2 weeks ago

I was not able to recreate the problem neither on production nor on dev.

Most probably this is a problem in Notifications BB that appears for your account specifically. I created an issue for it in Notifications BB repo, so that the guys from the backend team to hunt what went wrong.

@knguyenjahiel, you could help us if you play a little with unread notifications from your account:

1. Do you always see "1" as an unread count even if you open notifications panel and "Unread Notifications" states "No messages".

2. If you get a new notification (you can send notifications to yourself from the Admin app but you need some rights for this) that you did not read yet, does the red badge show unread count equal to unread messages cards from the notifications panel + 1?

3. Could you please check what's going on dev?

vburgett commented 2 weeks ago
  1. The users with this issue do still see the 1 even after opening the notifications panel and the "unread notifications" state "no messages."

  2. Kathryn had the 1 notification problem on prod. She received a second notification. The number still said one. After reading and clearing that new notification, she still had the problematic 1 number.

  3. On dev, one tester had the notification of 1. Under unread notifications, he tapped "Show all as read. The 1 did not go away. He then chose Show Muted and and Mark all as read and the 1 did disappear.

vburgett commented 18 hours ago

@mihail-varbanov this is an issue for me now on prod 6.0.27 (iPhone).