RealDevSquad / RealDevSquad/website-backend
Allow users to be able to mark themselves as `idle`, `OOO` or `active`
@ASHWINIAJIT is already working on this.
Since Apr 21, 2021.
- Dominant language
- JavaScript
- Stars
- 74
- Forks
- 276
- Avg merge
- 1d 26m
- Merged PRs (30d)
- 14
Description
Issue for the frontend part is here: https://github.com/Real-Dev-Squad/website-my/issues/65
We need backend for this functionality. We already have an API which can update the user's self data. The API is PATCH users/self. API contract for the API here (Make sure to check the user object at the top of the API contract, it'll need to be modified as well)
We are having going to need a new object/map called status which will contain various fields like ooo, active, idle etc which would be boolean:

These are the fields which we will be updating for this feature.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.