Issues dashboard filter
acme/console
Where do issues get rendered in the console?
They render in
IssuesDashboard.tsx
, which pulls from
useIssues()
and maps them into
IssueList
. There's no filtering yet — every issue is shown.
Ask anything
Model 2.0
Open
Commit
2 files changed
+12
−1
No files changed
src/
IssuesDashboard.tsx
+6
−1
export function
IssuesDashboard() {
const
issues = useIssues();
const
[status, setStatus] = useState<Status>(
"all"
);
const
visible = issues;
const
visible = status ===
"all"
? issues
: issues.filter((i) => i.status === status);
return
(
<div className=
"dashboard"
>
<StatusFilter value={status} onChange={setStatus} />
<IssueList issues={visible} />
</div>
);
}
src/
IssuesDashboard.test.tsx
+6
−0
test
(
"filters issues by status"
, () => {
render(<IssuesDashboard />);
fireEvent.click(screen.getByText(
"Open"
));
expect(screen.queryByText(
"Closed bug"
)).toBeNull();
expect(screen.getAllByRole(
"row"
)).toHaveLength(3);
});
Ask anything
Model 2.0
Add a status filter to the issues dashboard
#1284
Open
primate
wants to merge
2 commits
into
main
from
add-status-filter
Some checks haven't completed yet
1 in progress check
Primate QA
Started now
— Primate checks running
No conflicts with base branch
Merging can be performed automatically.
Squash and merge
You can also merge this with the command line.
View command line instructions.
Still in progress?
Convert to draft
Review Logs
Review Details
acme-inc/dashboard #1284
10 runs
Summary
a7c777125bfa601fa5aaa2542d6f3a883b4a35a
Completed
Created
Saturday Feb 28, 2026 at 1:56 pm
Completed
Saturday Feb 28, 2026 at 1:57 pm
Duration
1m 0s
/ — desktop (1920 × 1080)
/app/wsp_1EUonYXYE…/logs — tablet (1024 × 768)
Video
Raw Results
Previous runs (9)
Search runs...
Completed
1ff4c8c
Today at 1:54 pm
Completed
00b6721
Today at 1:54 pm
Completed
4554c8c
Last Wednesday at 1:54 pm
Completed
9d12af0
Last Tuesday at 9:21 am