-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
feature to be able to filter project boards by milestones #36321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
silverwind
merged 19 commits into
go-gitea:main
from
josetduarte:feature/projects-filter-milestones
Feb 12, 2026
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
02759af
feature to be able to filter project boards by milestones
8ca1010
fixing a small bug on the view and a bug on the filter
ab7cfb0
Merge branch 'main' into feature/projects-filter-milestones
josetduarte c025439
Update routers/web/repo/projects.go
josetduarte aa791f4
fixing copilot issues
afbb7e4
Merge branch 'main' into feature/projects-filter-milestones
josetduarte 1d8e335
Merge branch 'main' into feature/projects-filter-milestones
josetduarte c6e8938
fixing issues found by copilot
7ae8bad
Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
548f659
Merge branch 'main' into feature/projects-filter-milestones
josetduarte 07b931d
Merge remote-tracking branch 'upstream/main' into feature/projects-fi…
6531b31
fixing tests
0369470
Merge branch 'main' into feature/projects-filter-milestones
josetduarte 16d4cc4
Merge branch 'main' into feature/projects-filter-milestones
josetduarte ba2b009
fixing last copilot review
e9694a0
consistency requested by copilot
8183f74
anonymous-view branch
dffb16c
Merge branch 'main' into feature/projects-filter-milestones
GiteaBot 6846400
Merge branch 'main' into feature/projects-filter-milestones
GiteaBot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| {{/* Milestone filter dropdown partial | ||
| * QueryLink: the base query link for building filter URLs | ||
| * MilestoneID: the currently selected milestone ID (0=all, -1=none, >0=specific) | ||
| * OpenMilestones: list of open milestones | ||
| * ClosedMilestones: list of closed milestones | ||
| */}} | ||
| {{$queryLink := .QueryLink}} | ||
| <div class="item ui dropdown jump {{if not (or .OpenMilestones .ClosedMilestones)}}disabled{{end}}"> | ||
| <span class="text"> | ||
| {{ctx.Locale.Tr "repo.issues.filter_milestone"}} | ||
| </span> | ||
| {{svg "octicon-triangle-down" 14 "dropdown icon"}} | ||
| <div class="menu"> | ||
| <div class="ui icon search input"> | ||
| <i class="icon">{{svg "octicon-search" 16}}</i> | ||
| <input type="text" placeholder="{{ctx.Locale.Tr "repo.issues.filter_milestone"}}"> | ||
| </div> | ||
| <div class="divider"></div> | ||
| <a class="{{if not .MilestoneID}}active selected {{end}}item" href="{{QueryBuild $queryLink "milestone" NIL}}">{{ctx.Locale.Tr "repo.issues.filter_milestone_all"}}</a> | ||
| <a class="{{if .MilestoneID}}{{if eq .MilestoneID -1}}active selected {{end}}{{end}}item" href="{{QueryBuild $queryLink "milestone" -1}}">{{ctx.Locale.Tr "repo.issues.filter_milestone_none"}}</a> | ||
| {{if .OpenMilestones}} | ||
| <div class="divider"></div> | ||
| <div class="header">{{ctx.Locale.Tr "repo.issues.filter_milestone_open"}}</div> | ||
| {{range .OpenMilestones}} | ||
| <a class="{{if $.MilestoneID}}{{if eq $.MilestoneID .ID}}active selected {{end}}{{end}}item" href="{{QueryBuild $queryLink "milestone" .ID}}"> | ||
| {{svg "octicon-milestone" 16 "mr-2"}} | ||
| {{.Name}} | ||
| </a> | ||
| {{end}} | ||
| {{end}} | ||
| {{if .ClosedMilestones}} | ||
| <div class="divider"></div> | ||
| <div class="header">{{ctx.Locale.Tr "repo.issues.filter_milestone_closed"}}</div> | ||
| {{range .ClosedMilestones}} | ||
| <a class="{{if $.MilestoneID}}{{if eq $.MilestoneID .ID}}active selected {{end}}{{end}}item" href="{{QueryBuild $queryLink "milestone" .ID}}"> | ||
| {{svg "octicon-milestone" 16 "mr-2"}} | ||
| {{.Name}} | ||
| </a> | ||
| {{end}} | ||
| {{end}} | ||
| </div> | ||
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.