cribeiro84 / azure-devops-pull-request-hub

Azure DevOps Pull Request Manager Hub
MIT License
60 stars 35 forks source link

Sorting enhancements: creation/completion/abandon dates #239

Open Xerillio opened 1 year ago

Xerillio commented 1 year ago

I have a request for some enhancements sort of related to #167.

Tab "Active"

The "When" column is (to me at least) a confusing label and the sorting order is opposite of the date; the sorting follows the age of the PR but it's the date that is highlighted/catches the most attention in the rows and not the age.

Suggestion 1.a

Rename "When" to "Created" and invert the sorting so that ascending order means oldest PRs come first.

Suggestion 1.b

An alternative to suggestion 1.a: rename "When" to "Age" and keep the sorting as is. Consider showing the age above the date in the rows and use the clear (non-faded) text color for the age instead in order to draw attention to the logical value being sorted by.

Tab "Recently Completed"

Like mentioned in #167 I also find that I'm more interested in knowing when a PR was completed rather than when it was created while looking through the list in the "Recently Completed" tab.

Suggestion 2

Add a column "Completed" containing the date (and age like the "When" column) for when the PR was completed. Make it sortable in the same way as suggestion 1.a.

Tab "Recently Abandoned"

Similar to the "Recently Completed" tab I here find that I'm more interested in knowing when a PR was abandoned.

Suggestion 3

Like in suggestion 2, add a column "Abandoned" containing the date (and age like the "When" column) for when the PR was completed. Make it sortable in the same way as suggestion 1.a.

Xerillio commented 1 year ago

I might be able to help out with a PR for this issue if I can get the project running and the suggestions are approved.