2
Ticket #12866
Status: Accepted
Opened by Bertiecrafter
Type:
Bug Report
Views:
235
Access:
Public
Opened:
2/8/21 11:19 am 2/8/21 11:19 am
Updated:
2/8/21 1:08 pm 2/8/21 1:08 pm
Assigned:

Notifications are marked as read when visiting the account/notifications page.

- When I refresh the PMC home page, the notification counter does not change. So just viewing the homepage does not mark as read.
- Refreshing the account notifications page will show new notifications with a green flare as well.
- However, opening the home page and then using the URL bar to directly navigate to the notification page will show all notifications as read.

Sometimes I like to navigate directly to the page, so that I can see all notifications (since the notifications dropdown combines similar notifications).

Create an account or sign in to comment.

1
07/02/2021 2:43 pm
Level 70 : Legendary Engineer
Bertiecrafter
Bertiecrafter's Avatar
This is still happening, could it be that the notifications page (/account/notifications) relies on the user clicking the notification popup to mark notifications as to-be-unread or something?
1
02/08/2021 3:05 pm
Level 70 : Legendary Engineer
Bertiecrafter
Bertiecrafter's Avatar
Just refreshed the page, not active on my phone and made a recording of it happening:
1
02/08/2021 2:54 pm
Level 70 : Legendary Engineer
Bertiecrafter
Bertiecrafter's Avatar
Is there some kind of live update going on? Perhaps mobile device had the page open, causing the desktop to mark notifications as read. Doesn't explain why I would still see the notification counter on the home page though.
1
02/08/2021 1:08 pm
Level 71 : Legendary Cyborg
Cyprezz
Cyprezz's Avatar
set status to Accepted, assigned Cyprezz.
Just stepped through code and I don't see how this is happening.

There's only two cases where notifications are marked as read.

1) When you open notifications via clicking the upper right notifications icon.
2) When you view the /account/notifications/ page BUT that method gets notification data, marks as read in database THEN passes the "stale" unread notifications data to render for display.

Will try to reproduce on live when I get notifications before looking further into.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome