[Maintenance] - Sort Ovedue Packages by Oldest on Home Page

Open Beginner friendly
#4,500 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
88/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript
Domain
frontend

Research direction

Start in OverdueWorkPackageView.tsx and inspect the existing daysOverdue function and workPackages data. Sort the displayed work packages by days overdue, then verify on the home page that the dates decrease from most overdue to least overdue as shown in the acceptance criteria.

Written by the indexing model from the issue text.

Description

maintenance
Description

Self explanatory. Work Packages are currently not sorted as most overdue in main Home Page.

Acceptance Criteria
  • Sort by most overdue
  • Check that all dates are decreasing in days overdue:
Image
Proposed Solution
  • Use daysOverduefunction

  • Sort workPackages in OverdueWorkPackageView.tsx by whichever is bigger from daysOverdue.

Mocks

No response

Dominant language
TypeScript
Stars
36
Forks
9
Avg merge
4d 11h
Merged PRs (30d)
14

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Northeastern-Electric-Racing/FinishLine

All issues in Northeastern-Electric-Racing/FinishLine

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.