#866 Set user as Busy in GitHub when status in Mattermost is OOO
Summary
Adds a feature to automatically sync a user's Mattermost "Out of Office" status to their GitHub status.
When a user sets their status to "Out of Office" in Mattermost, their GitHub status will be set to "Busy" with the message "Out of office". When the user's status is no longer "Out of Office", their original GitHub status will be restored.
This is implemented using the UserStatusHasChanged hook in the Mattermost plugin API and the changeUserStatus GraphQL mutation in the GitHub API. The user's original GitHub status is stored in the plugin's key-value store.
Ticket Link
https://github.com/mattermost/mattermost-plugin-github/issues/866
Hello @akshat-khosya,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.
Per the Mattermost Contribution Guide, we need to add you to the list of approved contributors for the Mattermost project.
Please help complete the Mattermost contribution license agreement?
Once you have signed the CLA, please comment with /check-cla and confirm that the CLA check is green.
This is a standard procedure for many open source projects.
Please let us know if you have any questions.
We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.
/check-cla
As a user I would absolutely NOT want this behavior. If this gets merged I hope it will be configurable and off by default.
@akshat-khosya one other consideration. Can this be opted in for users? Not everyone will want their statuses sync'd.
As a user I would absolutely NOT want this behavior. If this gets merged I hope it will be configurable and off by default.
Thanks for the feedback @ThiefMaster. I agree, this will be opt-in.
/check-cla
This PR has been automatically labelled "stale" because it hasn't had recent activity. A core team member will check in on the status of the PR to help with questions. Thank you for your contribution!