Skip to content
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

Check-ins #53

Open
3 tasks
MaxwellBo opened this issue May 22, 2017 · 1 comment
Open
3 tasks

Check-ins #53

MaxwellBo opened this issue May 22, 2017 · 1 comment
Assignees

Comments

@MaxwellBo
Copy link
Owner

MaxwellBo commented May 22, 2017

  • 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!"

@MaxwellBo
Copy link
Owner Author

#67

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants