-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Improve notifications about users joining a game #130
Comments
I had a look at this. The biggest challenge I can see is converting to the game owner's timezone, which we don't have on the server. Would it make sense to pass the actual timestamps in the Not sure how that would fit in with the email part. I haven't found that yet :) I will try and get the app running in a dev environment and give this approach a go. |
Thanks for looking at this! I don't think we need the game owner's timezone - what were you seeing that led you down that path? My thought for these was that the notification should include the session number that the user joined. So something like "H Guy joined That string is built in While here, I think it'd be useful to also go ahead and attach the joiner's user ID to the notification. I want to expand the ability to view other's profiles in the future, so that will set it up to be easy to do so later. It also enables potentially showing the joiner's avatar and other info. That joining user's ID could go into the How does that sound? Feel free to suggest alternatives or other ideas, but that is what I had planned in my head. Lastly, I need to iron out the details on how others can run the project locally and develop, so I'll look into that this weekend and will get back soon! |
I was thinking of adding the date/time to the notification.
Session number could be useful, but as a game creator I would probably need to backport that to a date/time anyway. Especially if I am running two one-shots of the same game on the same day (which could happen). |
Ah, I see! I do like that idea. Very nice and readable which was the goal. So yes, you're original idea is the right one, take the session start_time (which is a unix timestamp) and add that to the I did confirm that local dev should be good to go. Check out the developing doc in |
I got everything working and raised a PR to address this #268 The layout is a bit naff. I messed with it for a bit but you can probably move things around quicker than I can. |
Is your feature request related to a problem? Please describe.
The notifications when someone joins one of your games, it lacks enough detail to understand what session was joined. This can lead to what look like duplicate notifications if someone joins multiple sessions.
Describe the solution you'd like
The notification should include information about the session joined
Describe alternatives you've considered
None
Additional context
Example of two legitimate notifications that look the same, though the user joined two different sessions
The text was updated successfully, but these errors were encountered: