You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Push notifications (get the server to to trigger a "Hello World" notification - don't care whether it's Push or Pull)
Add checked_in_at and on_break_at fields to the User object. These should be some sort of date-time type (obviously going to be datetime in Python, don't know what it is for SQLAlchemy / Postgres. These fields are also nullable (they can be assigned None`)
Add Check In and On Break buttons OR checkboxes on the Who's Free page, that POST to a /status endpoint. (Try and simulate how /settings works with the state sync exchange)
{ "atUni": True}
"Hey, I'm actually at uni!" The backend logs the day they logged in at, so the backend knows not to say that they're at uni the following day. This should override incognito mode.
{ "atUni": False}
"Remove the logged date from the database. I don't want to explicitly say that I'm really at uni, but my timetable will say that I am."
{ "onBreak": True }
"Put me at the top of the "Who's Free" list. Send a push notification to all my friends saying "X is on a break!"
The text was updated successfully, but these errors were encountered:
checked_in_at
andon_break_at
fields to theUser
object. These should be some sort of date-time type (obviously going to bedatetime
in Python, don't know what it is for SQLAlchemy / Postgres. These fields are also nullable (they can be assigned
None`)Check In
andOn Break
buttons OR checkboxes on theWho's Free
page, thatPOST
to a/status
endpoint. (Try and simulate how/settings
works with the state sync exchange)"Hey, I'm actually at uni!" The backend logs the day they logged in at, so the backend knows not to say that they're at uni the following day. This should override incognito mode.
"Remove the logged date from the database. I don't want to explicitly say that I'm really at uni, but my timetable will say that I am."
"Put me at the top of the "Who's Free" list. Send a push notification to all my friends saying "X is on a break!"
The text was updated successfully, but these errors were encountered: