Northeastern-Electric-Racing / Northeastern-Electric-Racing/FinishLine

[Maintenance] - Tasks Sort by Priority/Due Date

Open
#4,359 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description

We should be able to filter by priority on the task searching AND also by due date (ie a toggle to list from high to low priority and from overdue to plenty of time) 

Acceptance Criteria
  • On the global tasks page, users can choose to sort the global tasks board by priority or by due date, and choose direction (ascending/descending)
Proposed Solution
  • The sorting logic already exists in statuses.ts, we want to update this so its not hardcoded, and the user can choose how they want to sort it.
  • Look at where getTasksByStatus is called, and wire up a parameter to be sent through it
Mocks

No response

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.

Research direction

Start in statuses.ts and trace every call to getTasksByStatus from the global tasks page. Identify how the existing priority and due-date sorting is selected, then follow the parameter through the task board. Done means users can choose priority or due-date sorting and ascending or descending direction on the global tasks page.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.