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

HRIS-360 Implement Slack notification if user is not yet Logged In #299

Merged
merged 3 commits into from
Jun 18, 2024

Conversation

mdv-sunasterisk
Copy link
Contributor

@mdv-sunasterisk mdv-sunasterisk commented Jun 14, 2024

Issue Link

https://framgiaph.backlog.com/view/HRIS-360

Definition of Done

  • Integrate slack with the HRIS.
  • Users must receive notifications twice, one before their shift, and the other one on or after their shift start time.
  • In the same message there should be and action button that allows user to log in.
  • Once the login button is clicked, the time in functionality in the HRIS will be triggered automatically, and the user will be reverted with feedback of success or fail.

Notes

  • Once set for actual deployment, we'll have to coordinate with the admin of Sun*'s slack for additional setup.
  • Checkers for notification sending are set every twenty minutes, while being equipped with caching to ensure efficient performance.
  • Slack's rate limiting tiers have been taken into considered into crafting the api integrations.

Pre-condition

  • Create a new user with an email of "[email protected]". This is a must.
  • Slack app must be configured.
  • Once for staging deployment, the nestjs and redis servers must be up

Expected Output

  • All items marked as complete in the definition of done section must be working.

Screenshots/Recordings

Notes

  • The screen recording is a bit long since i was waiting for the notification sending to be triggered (time based)
  • The starting time elapsed at the end seems to be a local environment issue since it does not occur in staging. I would like to it get tested in staging as well.
Screen.Recording.2024-06-14.at.6.28.38.PM.mov

@mdv-sunasterisk mdv-sunasterisk merged commit 48ba02d into develop Jun 18, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants