Web: You received a new kudos from owocki' from about 6 hours

Created on 7 Mar 2020  ·  7Comments  ·  Source: gitcoinco/web

Describe the bug

Seen a notification of Owocki sending a kudos and the user being unable to see any transaction.

To Reproduce

@walidmujahid

Expected behavior

Screenshots

Desktop (please complete the following information):

  • OS:
  • Browser:
  • Browser Version:

Smartphone (please complete the following information):

  • Device:
  • OS:
  • Browser:
  • Version:

Additional context

Most helpful comment

Guys. I am happy to say that I have figured out exactly how to reproduce the error. I believe it’s actually quite simple. The phantom notifications that suddenly appear where there is no corresponding transaction, are actually just old notifications of transactions that have already been completed. The notification seems to be associated with the “Like” button whereas if someone taps the ❤️ Icon on a tip status showing that @owocki sent me a 0.01 ETH tip dated two weeks ago, this “Like” action in the current time will trigger a new notification which may cause me to believe that @owocki has just sent me a ‘new’ 0.01 tip at this moment. But in truth it’s just a UI error and No new transactions have been initiated. This same error can occur for tip status’ and most likely for the kudos transfer status transactions as well. This will
Need to be confirmed but in all likelihood it’s the same error caused by the same “LIKE” action. I reproduced it on video but I will include screenshots for instead. 😁

840C66D8-6736-4D3A-85E9-2A728D36449D
BE7C4885-27B9-4A73-8562-641A5B82AE77
1E725B13-0B0D-4ED5-AE49-AD4F27C7645F
B3866C78-F670-4FDE-B423-4B3B634A3FD4

All 7 comments

Phantom Notification - User received phantom notification of ‘New Tip’ (from @owocki) but no transaction can be located in the activity feed nor in the transaction history. In addition, the notifications come in pairs. Two or more duplicates of the same notification.

Reproduction:

Device:
Device: IPhone 7 Plus
iOS 13.3.1
Chrome Mobile

C4967121-610A-448A-963E-526ABFECD466

I should have taken screenshots and written down my observations the moment I noticed them, now I do not have screenshots. About a ago, and similarly a few days ago, two separate instances, I recieved a notification 'You received a new kudos from owocki' and I went to check and I saw nothing in the transactions feed.

Both times I think had gone through a quest, but I already recieved kudos from gitcoinbot, but I am uncertain if this is related.

For @Blockchayne's issue, the problem might be that a tip notification is sent even though it canceled in MetaMask. I am not sure. If it is, then this PR https://github.com/gitcoinco/web/pull/6115 might solve that as well, but I would have to figure out if the empty tip notifications are indeed a result of cancelation and optimistic UI.

@walidmujahid that is an excellent assessment of the issue I experienced. I also experienced the problem with the cancelled transaction/ optimistic UI. Usually I would be in agreement that this was likely the cause, however, I believe these two phantom tips are actually replayed from the previous day when i received two tips from @owocki of similar amounts. My suspicion is that something re-triggered the notifications from the previous day. The best way to determine this is likely to consult with @owocki and see if he recalls any such cancellations.

6D863368-2339-4EF1-B0CE-7A0D62CF9162

Oh yeah. It seems I realize today there was also a notification for a suppose Kudos he sent one but it was on February

l

Guys. I am happy to say that I have figured out exactly how to reproduce the error. I believe it’s actually quite simple. The phantom notifications that suddenly appear where there is no corresponding transaction, are actually just old notifications of transactions that have already been completed. The notification seems to be associated with the “Like” button whereas if someone taps the ❤️ Icon on a tip status showing that @owocki sent me a 0.01 ETH tip dated two weeks ago, this “Like” action in the current time will trigger a new notification which may cause me to believe that @owocki has just sent me a ‘new’ 0.01 tip at this moment. But in truth it’s just a UI error and No new transactions have been initiated. This same error can occur for tip status’ and most likely for the kudos transfer status transactions as well. This will
Need to be confirmed but in all likelihood it’s the same error caused by the same “LIKE” action. I reproduced it on video but I will include screenshots for instead. 😁

840C66D8-6736-4D3A-85E9-2A728D36449D
BE7C4885-27B9-4A73-8562-641A5B82AE77
1E725B13-0B0D-4ED5-AE49-AD4F27C7645F
B3866C78-F670-4FDE-B423-4B3B634A3FD4

Wow. Amazing effort in reproducing this. It feels like a post_save signal is causing this somewhere. Perhaps the post_save activity signal that is invoked when referesh_activity happens?

I do not know. I am about to start working with notifications more on another issue, so I will keep an eye out for anything relevant to this issue.

The same case with email notifications. Everytime I tap Like on a post or a comment, I'd get a repeat email notifications that someone replied even though I have already seen it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sethmcleod picture sethmcleod  ·  4Comments

abitrolly picture abitrolly  ·  4Comments

kuhnchris picture kuhnchris  ·  4Comments

uluhonolulu picture uluhonolulu  ·  3Comments

NukeManDan picture NukeManDan  ·  3Comments