-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Issue State Description #22793
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
Comments
Do we really need to split the "not planned" state? I think it's unnecessary and by having these sub-states, migrations from GitHub will become more inaccurate too. |
I disagree at least to some extent: However, I'm not sure if we (should) need anything on top of that. What we can rather think about is offering an additional "reason" field when closing an issue, i.e. a combobox with no default. |
@delvh I see no disagreement in your comment. So GitHub has:
With #25362 we would have:
I think it's very unwise to picture precise reason in state. What if for example someone requests close (spam) state? Would we then make a fifth state? By being decisively unspecific with the "grey state", we avoid having to implement more odd states in the future. |
I can agree with the arguments: I think we shouldn't clutter the UI with too specific issue states.
|
I do prefer GitHub's way because a "resolved" issue is still closed, so state (open/close) should remain a boolean, which also makes APIs easier to consume and more importantly not break by introducing the third state. |
I mean, just because we call it |
What we display in UI vs. what we store in DB can be different. For DB I suggest:
UI could show single string Open, Completed, Not Planned. I would suggest never extending isClosed true = green color |
Just link a related comment here: #14893 (comment)
|
Feature Description
Instead of using labels to describe issue states (dupe, archived, etc..), additional descriptive metadata could be added to issues.
To ensure backwards compatibility, open/closed could be kept, but then you could add search by state, etc.. We have "mentioned in issues #xyz" issue linking, and we could leverage that to be "duplicate issue #abc marked as duplicate of this issue. The subscribers to the initial ticket that is marked as dupe could be transferred to the open ticket.
Screenshots
The text was updated successfully, but these errors were encountered: