-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
[Proposal] Add third issue state "Resolved" #14893
Comments
The issue could be called |
optional close reason for an issue:
|
While that might be possible, I don't know if we really should support that many closing reasons. |
I'd rather not have gitea become the next Jira which has such convoluted UI, so I think we should keep to basic open/close states. |
Or we can have a issue_ref table which stored which PR fix this issue. So that we could not add a new state. |
Yeah, a compromise for what @silverwind said could also be that only issues that really get closed by a branch declaring |
Yes something reference to how it was closed should be good. I think we could maybe have a purple list icon on issues closed by a commit, analogous to merged pull requests, thought that may contradict with the open/close state seen within the issue itself. |
Also would be nice to link this state when closing issue itself (like with comment |
Isn't this one of the use cases for labels? One of the default labels is "wontfix", another one is "invalid", for example. |
This is how we use it as well, labels and comments for details- but closed is closed. |
For the record, GitHub now supports issue state since May 19th update, with the default close action be "Close as completed" ( |
We should probably keep 2 states (open/close) state and maybe add a field like |
GitHub also still keeps 2 states (open/close), the extra info is provided by an additional attribute names Personally, I would like to +1 for do the same instead of recommend user to fiddle with tags, since:
|
I think this proposal of mine, would solve this need - and allow for any level of "states" anyone wants - without adding clutter to gitea: #26704 |
We also just added #26661 - which could be extended to have a "label dropdown" filter too (to make it easier to f.ex. find all issues with specific label :) |
See #25362 and linked issues for some recent activity on this topic. |
Thing is we have more states we actually use - and we NEED to have an overview over which state an issue is in - so we "can do something".. I hope I could get an indication if this PR would be accepted (with code/design changes ofcourse - per input from you) - before I assign one of my team to work on it. |
bamp |
Description
When scrolling through issues (for example in a project or in a milestone), one thing becomes clear pretty soon:

.
You have no clear indication whether an issue has been closed because it got implemented/ fixed or whether it has been closed because it was a duplicate, not a valid issue,…
For example, for PRs this distinction exists, that they get shown like this, when they get merged:
Versus when they get closed:
This is not the case for issues: Simply by looking at a closed issue, you do not know whether it has been closed because it was implemented, or because it was invalid.
As far as I know, no Remote Git service so far supports issues that can be declared as "resolved" (if anyone has a better name, write a comment below), and that is a feature that in my opinion is far underrated: It allows for better housekeeping, cleaner release notes, …
Of course, issues marked as resolved should have their own icon to distinguish them from open and closed issues.
It might even be necessary to change the color of an open issue so that an issue that was resolved can be green, as that is in my opinion the most fitting color for such an issue (shouldn't be too hard to change given they are svgs...)
For backwards compatibility, it might be useful to declare the closed issue as default way to close an issue.
One final remark, "open", "closed" and "resolved" should be mutually exclusive. No issue should be able to be in more than one state at the same time, I'd say.
When to mark an issue as resolved
Fixes/ Closes/… #ABCD
in a PR that was mergedThe text was updated successfully, but these errors were encountered: