feat: add label filter to issues and pulls list views #85
Reference in New Issue
Block a user
Delete Branch "feature/label-filter-82"
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?
Summary
labelsquery parameter for server-side filteringhx-includeattributes on existing org and state filters to forward the label paramCloses #82
Changed files
internal/gitea/client.go-- Addedlabelparameter toListAllIssuesandListAllPullRequestsinternal/handlers/handlers.go-- Readlabelquery param inListIssuesandListPulls, pass to clientinternal/templates/issues.html-- Added label input, updated hx-include and scroll sentinelinternal/templates/pulls.html-- Same changes as issues templateTest plan
Generated with Claude Code
Review: APPROVED
The label filter correctly passes through to the Gitea API, cache keys are updated, and HTMX hx-include attributes properly cross-reference all filter inputs. The debounced input trigger (delay:400ms) is a nice UX touch.
Note: this will conflict with PR #86 (repo filter) since both modify ListAllIssues/ListAllPullRequests signatures. Merging this after #84.