after sort by status, secondary sort by Weeks in queue

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

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
typescript
Domain
backend, web-dev

Research direction

Start by locating the status-sort handler or query and the existing weeks_in_queue field in the repository. Check how status sorting behaves in both ascending and descending directions, then verify that records within each status are ordered by weeks_in_queue descending. Done means both sort directions consistently apply that secondary ordering.

Written by the indexing model from the issue text.

Description

enhancement

An enhancement - After the user clicks to sort by Status, within that sort, it would be nice to automatically order by 'Weeks in queue' descending. This would make it easier to see what documents are oldest within a given status. (Currently it's unclear what the sort is within each status.)

I propose Weeks in state desc no matter whether status is asc or desc, i.e.,
ORDER BY status desc, weeks_in_queue desc
ORDER BY status asc, weeks_in_queue desc

Dominant language
TypeScript
Stars
1
Forks
3
Avg merge
1d 8h
Merged PRs (30d)
8

Contributor guide

Open the contributing guide

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 ietf-tools/queue

All issues in ietf-tools/queue

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.