-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Milestone filter for pull requests shows either only open or closed milestones #11924
Comments
fix go-gitea#11924 Signed-off-by: a1012112796 <[email protected]>
This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions. |
ping - still here |
+1 v1.13.2 still affected. |
@6543 the label |
So when filter on opened issues, we could just list opened milestones because closed milestones should not have opened issues. When filter on closed issues, we should list all milestones. |
As long as i can close a milestone with open issues, i should be able to filter accordingly. And closing a milestone could be also interpreted as not accepting new issues. |
That sounds not a normal operation, once closed a milestone, the first step you should do is to move open issues to other milestone. Not list all the milestones here because some repositories have many milestones and most of them closed. |
The case is when you add new milestone while you already have some closed issues and you want to assign them to it. Eg. You're starting development without milestones Already filtered milestones might be displayed below that (of current state) oppened/closed... just to be able to use them if I want. |
Now we have `All milestones`, `No milestones`, `Open milestones` and `Closed milestones`. Fix #11924 Fix #22411 <img width="1166" alt="image" src="https://user-images.githubusercontent.com/81045/212243375-95eea035-a972-44b8-8088-53db614cb07e.png">
Now we have `All milestones`, `No milestones`, `Open milestones` and `Closed milestones`. Fix go-gitea#11924 Fix go-gitea#22411 <img width="1166" alt="image" src="https://user-images.githubusercontent.com/81045/212243375-95eea035-a972-44b8-8088-53db614cb07e.png">
Backport #22423 by @lunny Now we have `All milestones`, `No milestones`, `Open milestones` and `Closed milestones`. Fix #11924 Fix #22411 <img width="1166" alt="image" src="https://user-images.githubusercontent.com/81045/212243375-95eea035-a972-44b8-8088-53db614cb07e.png"> Co-authored-by: Lunny Xiao <[email protected]>
[x]
):Description
While browsing open PRs i'm only able to select open milestones in the filter and vice-versa. This way i'm unable to search for old PRs which targeted a milestone which is closed now or search for open PRs targeting a closed milestone.
The milestone filter should behave similar to the dropdown which is used to select the target milestone of a pull request. It should display all milestones but could provide a visual separation for open/closed ones:
Screenshots
In this case i'm unable to filter open PRs targeting
v1.0.0
because it's a closed milestone.Here i'm unable to filter PRs targeting milestone
v4.0.0
which is still open.The text was updated successfully, but these errors were encountered: