Skip to content

Conversation

@josetduarte
Copy link

This pull request adds milestone filtering support to both repository and organization project boards. Users can now filter project issues by milestone, similar to how they filter by label or assignee. The implementation includes backend changes to fetch and filter milestones, as well as frontend updates to display a milestone filter dropdown in the project board UI.

Milestone filtering support:

  • Added support for filtering project board issues by milestone in both repository and organization contexts, including handling for "no milestone" and "all milestones" options. (routers/web/repo/projects.go [1] [2]; routers/web/org/projects.go [3] [4]
  • Updated the project board template to include a milestone filter dropdown, displaying open and closed milestones and integrating with the query string for filtering. (templates/projects/view.tmpl [1] [2]

Solves Issue #35224

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Jan 7, 2026
@github-actions github-actions bot added modifies/go Pull requests that update Go code modifies/templates This PR modifies the template files labels Jan 7, 2026
@josetduarte
Copy link
Author

@lunny @wxiaoguang can you guys give a quick review to this please, this would be really helpful, thanks!

@lunny
Copy link
Member

lunny commented Jan 8, 2026

Could you have a screenshot and it's better to have a test.

@lunny lunny added this to the 1.26.0 milestone Jan 8, 2026
@josetduarte
Copy link
Author

Could you have a screenshot and it's better to have a test.

image image image image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. modifies/go Pull requests that update Go code modifies/templates This PR modifies the template files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants