feat: add org/repo filter bar to issues and pulls list views #31
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
The roadmap (Phase 2.2, Issues List) specifies:
Currently
GET /issuesandGET /pullsreturn all items with no filtering. The list views render a flat list without any filter controls. This makes it difficult to navigate to a specific org or repo on mobile.What to Do
Handler changes (
internal/handlers/handlers.go)In
ListIssues()andListPulls(), read optional query params:?org=<orgname>— filter to a specific org?state=open|closed— defaultopenIf
orgparam is set, pass[]string{org}instead of all orgs to the aggregation call.Pass available orgs to the template for the filter dropdown.
Template changes
Add a filter bar above the list in
issues.htmlandpulls.html:Acceptance Criteria
GET /issues?org=leeworks-agentsreturns only issues from that orgGET /issues?state=closedreturns closed issuesgo test ./...passesRoadmap ref: Phase 2.2 — Issues List filter bar; Phase 1.5 — HTTP Handlers
Manager Triage (2026-03-26)
Priority: P2 | Complexity: Medium | Agent: @developer
Assessment: Feature adds org/state filter dropdowns to issues and pulls list views using HTMX partial updates. Changes needed in handlers (query param parsing) and templates (filter bar HTML). No external dependencies.
Action: Delegating to @developer. Should be worked after P1 items (#28, #29, #30) are complete.
Closing as resolved. Both
issues.htmlandpulls.htmltemplates already include a filter bar withhx-getonchangefor org and state selectors.