d2jsp
Log InRegister
d2jsp Forums > d2jsp > General Help > Site Suggestions > Little Visual Bug
Add Reply New Topic New Poll
Member
Posts: 2,903
Joined: Aug 25 2009
Gold: 170.00
Apr 10 2019 04:32am
If you open forums.d2jsp.org, and you have the notification you got single pm, you clearly see the counter of pms indicating you got a new pm

In my case it says
38 / 50 (1) :icon:
Indicating i have a single new message.

If i click the notification, it opens the pm and marks it as "seen".

However within view of the new PM, it still states;
38 / 50 (1)

Once i refresh it, it been marked as read.
This is confusing, because i gives me the feeling there is still (an other) unread pm.

@njaguar, im pretty sure that if you move the update of a pm being read up in the code, the view renders it automaticlly correct.
Member
Posts: 2,903
Joined: Aug 25 2009
Gold: 170.00
Apr 17 2019 02:06am
....
Member
Posts: 2,903
Joined: Aug 25 2009
Gold: 170.00
Apr 24 2019 06:38am
Quote (FreeUsername @ 17 Apr 2019 10:06)
....


...
Member
Posts: 13,794
Joined: Aug 7 2011
Gold: 1,065.75
Apr 24 2019 12:59pm
Just my POV but the point point of this forum is more about selling fgs and having content provided by the users than looking good.
And business wise it's not a bad choice since the user base is used to this look.
This forum still looks the same as 10 years ago.
Trade Moderator
Posts: 21,404
Joined: Jul 26 2006
Gold: 2,739.00
Trader: Mediator
Apr 24 2019 03:33pm
Quote (Faros75 @ Apr 24 2019 11:59am)
Just my POV but the point point of this forum is more about selling fgs and having content provided by the users than looking good.
And business wise it's not a bad choice since the user base is used to this look.
This forum still looks the same as 10 years ago.



Yeah but this notification system was implemented under a year ago and despite the purpose of the website it’s always important to have all things on the front/back end running smooth.

Quote (FreeUsername @ Apr 10 2019 03:32am)
If you open forums.d2jsp.org, and you have the notification you got single pm, you clearly see the counter of pms indicating you got a new pm

In my case it says
38 / 50 (1) :icon:
Indicating i have a single new message.

If i click the notification, it opens the pm and marks it as "seen".

However within view of the new PM, it still states;
38 / 50 (1)

Once i refresh it, it been marked as read.
This is confusing, because i gives me the feeling there is still (an other) unread pm.

@njaguar, im pretty sure that if you move the update of a pm being read up in the code, the view renders it automaticlly correct.



What browser do you use? I haven’t experienced this yet with Chrome but when I mobile browse on safari I don’t even get the notifications sometimes.
Member
Posts: 2,903
Joined: Aug 25 2009
Gold: 170.00
Apr 25 2019 12:14am
Quote (Sn0 @ 24 Apr 2019 23:33)
Yeah but this notification system was implemented under a year ago and despite the purpose of the website it’s always important to have all things on the front/back end running smooth.




What browser do you use? I haven’t experienced this yet with Chrome but when I mobile browse on safari I don’t even get the notifications sometimes.


It isn't about the notification, its about the "unread / total (icon)" next to your fg on the page =)

I have this issue in firefox btw.
Member
Posts: 20,223
Joined: Apr 30 2008
Gold: 5,169.82
Apr 25 2019 12:45am
This is not a visual bug, it's just a result of in which order the backend processes information. In this case, the forum fetches your number of (unread) messages before marking the opened message as read. As a result, the opened message still shows up as unread.

This is a very common quirk in websites, because a lot of reads and writes (often regarding the same info) happen during one single page load. I really don't think this will be corrected by njaguar, since it would require complete restructuring of the backend for a purely cosmetic change.

Edit: FYI, this "bug" happens regardless of what browser you use.

This post was edited by Leevee on Apr 25 2019 12:47am
Member
Posts: 2,903
Joined: Aug 25 2009
Gold: 170.00
Apr 25 2019 01:21am
Quote (Leevee @ 25 Apr 2019 08:45)
This is not a visual bug, it's just a result of in which order the backend processes information. In this case, the forum fetches your number of (unread) messages before marking the opened message as read. As a result, the opened message still shows up as unread.

This is a very common quirk in websites, because a lot of reads and writes (often regarding the same info) happen during one single page load. I really don't think this will be corrected by njaguar, since it would require complete restructuring of the backend for a purely cosmetic change.

Edit: FYI, this "bug" happens regardless of what browser you use.


This is what i said in my first post =) at least tried to ^^.

I dont think it would require a complete restructuring trough. Basically it should update earlier the "readed" flag. That's it, specially if you think about the fact this site is made in 2001-2002, and i assume there is allot of functional code, as it is based on php4
Member
Posts: 20,223
Joined: Apr 30 2008
Gold: 5,169.82
Apr 25 2019 05:44am
Quote (FreeUsername @ Apr 25 2019 09:21am)
This is what i said in my first post =) at least tried to ^^.

I dont think it would require a complete restructuring trough. Basically it should update earlier the "readed" flag. That's it, specially if you think about the fact this site is made in 2001-2002, and i assume there is allot of functional code, as it is based on php4


I'm afraid it's not really as simple as that, but I suppose you are free to keep bumping this thread until njaguar gives his point of view. :)
Member
Posts: 2,903
Joined: Aug 25 2009
Gold: 170.00
May 22 2019 02:35am
Singular bump
Go Back To Site Suggestions Topic List
Add Reply New Topic New Poll