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):
Smartphone (please complete the following information):
Additional context
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.
Device:
Device: IPhone 7 Plus
iOS 13.3.1
Chrome Mobile

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.

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

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. 😁




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.
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. 😁