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

#2808: Added work package util function to get overdue WPs #2842

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

Jalen1
Copy link

@Jalen1 Jalen1 commented Sep 19, 2024

Changes

  • Added a function in work-package.utils.ts that takes in an array of work packages and returns an array of overdue work packages.

Notes

  • Function consists of a loop that pushes each work package is not complete and has a due date prior to current date to return array.

Checklist

It can be helpful to check the Checks and Files changed tabs.
Please review the contributor guide and reach out to your Tech Lead if anything is unclear.
Please request reviewers and ping on slack only after you've gone through this whole checklist.

  • All commits are tagged with the ticket number
  • No linting errors / newline at end of file warnings
  • All code follows repository-configured prettier formatting
  • No merge conflicts
  • All checks passing
  • Screenshots of UI changes (see Screenshots section)
  • Remove any non-applicable sections of this template
  • Assign the PR to yourself
  • No yarn.lock changes (unless dependencies have changed)
  • Request reviewers & ping on Slack
  • PR is linked to the ticket (fill in the closes line below)

Closes #2808

@Jalen1 Jalen1 requested a review from vsp05 September 19, 2024 04:10
@Jalen1 Jalen1 self-assigned this Sep 19, 2024
Copy link
Contributor

@Aaryan1203 Aaryan1203 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a small comment but great start!

src/frontend/src/utils/work-package.utils.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@Aaryan1203 Aaryan1203 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome great work! lgtm

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

Successfully merging this pull request may close these issues.

[Home Page] - Create getOverdueWorkPackages Util
2 participants