Add permissions to conversation resolution #12961
Replies: 22 comments 15 replies
-
agree, this would make life much easier. |
Beta Was this translation helpful? Give feedback.
-
but the owner of the repo still has the full rights whether to address the PR or not, if that is in a company, then it's their internal communication that will matter |
Beta Was this translation helpful? Give feedback.
-
I also agree that such feature would provide better PR handling. But this should only be valid for comments added in request for revision. Comments added only in the spirit of comments, should not be included in this restriction. |
Beta Was this translation helpful? Give feedback.
-
Sometime while reviewing a PR I start a conversation to address a problem or a doubt. |
Beta Was this translation helpful? Give feedback.
-
This sort of feature would be really helpful for my organisation. For our review process we'd like it so that all comments that might need a problem addressing should only be resolvable by the author of the comment or by the review moderator in times of deadlock between the comment author and the review owner. This alongside requiring all comments to be resolved before the PR can be complete would be perfect |
Beta Was this translation helpful? Give feedback.
-
I would really like this feature. tracking down my conversations to see if they were answered is a pain |
Beta Was this translation helpful? Give feedback.
-
Is there any news regarding this awesome feature? |
Beta Was this translation helpful? Give feedback.
-
This is one of those features worth applying to work at GitHub, implementing, then quitting lol |
Beta Was this translation helpful? Give feedback.
-
I completely agree that there's a need. I'm just about to unresolve 175 conversations to verify the implementation of what has been done. |
Beta Was this translation helpful? Give feedback.
-
Definitely in favour of this - but obviously it should be a configurable option to be tailored to each organisation/individual's needs. I'd like the ability to lock it down so that only the person who raised the comment is able to mark it as resolved - that's the process we follow but unfortunately there's no way to enforce this. Also an admin override of some kind would probably be necessary. |
Beta Was this translation helpful? Give feedback.
-
I need this feature. Big companies with different timezone is vert handy |
Beta Was this translation helpful? Give feedback.
-
This is definitely needed. Additionally the "Require conversation resolution before merging" branch protection rule on a repository becomes fairly useless without comment resolution permissions because someone can trivially just resolve all conversations to bypass the protection rule. |
Beta Was this translation helpful? Give feedback.
-
In general the permissions of github are way too corsare grained. |
Beta Was this translation helpful? Give feedback.
-
I feel a need to restrict a person who made a PR to resolve your comments as a reviewer. |
Beta Was this translation helpful? Give feedback.
-
It would be great if we had a permission/setting to only allow the reviewer to resolve conversations on a pull request when requesting changes. We just recently ran into a situation where this would have been very beneficial. |
Beta Was this translation helpful? Give feedback.
-
For starters (and I mean bare minimum, I strongly agree with the suggestion here), it would be great if the UI showed Resolved - username here, instead of just this: Then you could at least tell the situation at a glance without having to expand each one (i.e. identify did the reviewer resolve, or the PR author). |
Beta Was this translation helpful? Give feedback.
-
I am a very thorough reviewer, and it is hell to keep track of things if other people resolve my own comments. And it's not like we can expect the problem to go away just by saying "please do not resolve my comments". I'm tired of clicking "show resolved". I am not loving this experience at all. But it would be a lovely experience if I were the only one able to resolve my own comments. Please fix this. |
Beta Was this translation helpful? Give feedback.
-
Imagine a marriage like this:
|
Beta Was this translation helpful? Give feedback.
-
Right now, I have to track resolution by putting a 👍 emoji reaction at the end of the conversation, because no one else can put one for me. And even if they also put their own 👍 , it shows up differently (not in blue). Sometimes it looks weird because I'm putting a 👍 on my own comment, but 🤷♂️. But "Require conversation resolution before merging" is still broken since people can self-resolve all issues. |
Beta Was this translation helpful? Give feedback.
-
Alright, I got tired enough of this that I created a little bookmarklet to handle it. It's not perfect, but it helps a lot. Basically how it works:
When clicked:
So you might need to click it twice in order to have the full effect: first to expand, and then again to delete (because we cannot know who resolved a conversation without expanding it first). If other people resolve your comments, simply unresolve them and then resolve them yourself. But of course, "Require conversation resolution before merging" is still broken since people can self-resolve all issues. javascript:(() => {
const username = "mroy-seedbox";
document.querySelectorAll('div.js-timeline-item:has(details.js-resolvable-timeline-thread-container > summary)').forEach(e => {
if (e.querySelector('details').getAttribute('open') == null) {
e.querySelector('details span.Details-content--closed').click();
} else {
const resolver = e.querySelector('details form.js-resolvable-timeline-thread-form > div > strong')?.innerText;
if (resolver == username) e.remove();
}
});
})(); |
Beta Was this translation helpful? Give feedback.
-
This is a complicated problem because there are multiple perspectives:
Therefore, this behaviour may make sense:
A grey area is where to apply the non-author logic:
Personally, I prefer option 1. But this leads to another question: unless option 4, what should everyone else see? Probably same as author (ie resolved). |
Beta Was this translation helpful? Give feedback.
-
When I worked at SpaceX, the way we had issue resolution was like this: Every comment had a button group with 3 options that acted like radio buttons
PR authors could only select 1 or 2 |
Beta Was this translation helpful? Give feedback.
-
There should be some sort of permission system on conversation resolution. For instance, there should be an option to not allow the author of a PR to resolve conversations.
Example/use case:
John makes a PR
Bob leaves feedback in a conversation "you should fix this line"
John resolves the conversation without addressing the feedback
Bob forgets about the conversation since it is one of many conversations on the PR
If John was not able to resolve the conversation (only the PR reviewers can resolve) then this can't happen
Beta Was this translation helpful? Give feedback.
All reactions