Skip to content

"Dormant" maintenance filter has no effect β€” pushed: null is ignoredΒ #25

Description

@AditthyaSS

In src/components/FilterChips.jsx, the Dormant maintenance filter sets pushed: null:

js

{ key: 'dormant', label: 'πŸ”΄ Dormant', pushed: null }
In src/api/github.js, the pushed filter is applied as:

js

if (filters.pushed) {
q += pushed:>${filters.pushed};
}
Since null is falsy, clicking "Dormant" adds no filter β€” it behaves identically to "All repos".

Expected: Dormant should filter for repos that haven't been pushed to in a long time (e.g., pushed:<YYYY-MM-DD for 6+ months ago).

Suggested fix: Handle dormant as a pushed:DATE.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions