-
-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Referrals graph reporting referral before my account existed #1044
Comments
This is a side effect of ffa86ab which allows (knowingly) referrals to get attributed on login/auth linking. We plan to change referrals to be even more dynamic than this. Meaning, your active referrer will be the the last referral link you clicked regardless of whether you had a previous referrer or not. This was a weird eureka we had over the weekend observing the effect of ffa86ab. It'll incentivize both external *and internal link sharing (ie evergreeness). |
Ah, so basically someone who joined back in 10/21 (according to my graph screenshot) followed a referral link of mine at some point? Anyway, thanks for providing the context! |
Exactly! |
Just to follow up here, I think what brought my attention to the referrals chart today is that I've received 3 push notifications indicating that someone joined SN using one of my referral links, which is a rarity for me. Am I seeing these push notifications more often due to the aforementioned commit? If so, we might want another ticket tracking updating the wording on the push notification, since it doesn't really mean a new user joined, but rather I became a user's most recent referrer (wording is hard 😅 ) Also, while I did receive push notifications, I did not see anything at |
Makes sense to me
Sounds like a bug to me, too |
Bug happens because we assume that the referral was created at the time the user was created. So you don't see a notification in /notifications because it's considered to be a very old notification: stacker.news/api/resolvers/notifications.js Lines 238 to 259 in c7d926d
One way to fix this would be to store a separate timestamp for referrals. |
Description
The referrals page indicates that I have a referral from year 2021, before my account even existed (created in 2023).
Steps to Reproduce
Expected behavior
Only expect to see actual referrals?
Screenshots
Logs
N/A
Environment:
N/A
Additional context
I verified this data is included in the API response, so I don't think it's a UI bug.
The text was updated successfully, but these errors were encountered: