You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@fregante I’m a little curious what is actually asked for/what value it brings.
As a user, I check Wait for merge. Then what?
I click Comment which enters waiting state until Merge is pressed and then posts the comment? If yes, what’s the benefit over first merging and then commenting?
If we want to reduce the amount of clicks it sounds like a Merge and Comment button (similar to Close and CommentIssue) addresses the issue better?
But maybe I’m totally missing something here. If you could just clear up what you’re after, I’d be happy to give it a go. Thanks!
You're not wrong, it's mostly about the expectation that after the merge, the merger leaves a thank you note or something like that. But you're right in that it doesn't necessarily have to happen after.
Thanks for replying. I’m sorry if my communication was unclear, but I wasn’t referring to the order of merging/commenting. I get that you want to leave a comment after closing, makes perfect sense.
My concern was around what problem is actually solved by the current solution suggestion? What do you gain? As I see it, all the extra checkbox does is increase the amount of clicks.
If still not clear (and I’m missing out on the obvious), could you help me out with an example scenario? I.e. walk me through the process from a user’s POV.
The way I interpret the current suggestion in the eyes of the user:
Enter comment
Check Wait for merge
Click Comment
3a. Waiting...
Click Merge
4a. Merge completes
Post comment
How is this better than:
Click Merge
Enter comment
Click Comment
Having a Merge and Comment button on the other hand would reduce the above to two steps.
Like I said, I must be missing something here. I just need to understand what in order to attempt this.
And if you feel like it’s not worth the time explaining, that’s fine. Thank you :)
Right, we agree on that, it’s not necessarily better, it’s just seemed like the right order of operations.
As for the amount of clicks: it’s unchanged. Both checkboxes (one for the merge, one for the comment) would be automatically checked and only appear if necessary, so:
Click merge (wait for checks already checked
Click comment (wait for merge already checked)
If we change the merge button to Merge and comment, such button would submit the content of the comment box BELOW it. No fields should be under a submit button, it’s bad UX. We can’t do that.
In short: I think we can close this issue as the order of operations might not be worth the feature complexity.
@fregante 🙏 Thank you for bearing with me! Finally the penny dropped. Then I’m all aboard. If you don’t strongly disagree (i.e. won’t accept a PR no matter what), I’d like to try it out.
Just for the record:
I wasn’t suggesting replacing any button, but add another one (again similar to the extraClose and comment on Issues).
I wasn’t suggesting adding it to the Merge section, but the Comment section (like Close and comment).
PS. To my defense, I still don't find it obvious what is requested from the initial specification/description as it stands. Maybe I haven’t used RGH enough to read in all the patterns used, but if possible I would very much appreciate a little more details around problem statement and solution suggestions in upcoming issues. Feel free to ignore, just trying to give my POV as a newcomer. Thank you! ❤️
Activity
sindresorhus commentedon Jan 22, 2018
fregante commentedon Jan 22, 2018
sindresorhus commentedon Jan 22, 2018
fregante commentedon Jan 22, 2018
sindresorhus commentedon Jan 22, 2018
yakov116 commentedon Jan 23, 2018
tooomm commentedon Feb 7, 2018
fregante commentedon Feb 7, 2018
iwiznia commentedon May 9, 2018
jiang-wei commentedon Jun 7, 2018
endtoend commentedon Aug 6, 2018
fregante commentedon Aug 8, 2018
13 remaining items
fregante commentedon Jul 14, 2019
I just added the
pr-branch-auto-deletefeature. It's smaller and does not have a checkbox since:As said by @sindresorhus and @endtoend
This thread now is about "Automatically post comment after merge"
For discussion about
pr-branch-auto-delete, comment here: #2186 or open a new issue.Most of the comments here were about that the feature, so I hid them.
hkdobrev commentedon Jul 23, 2019
fregante commentedon Jul 23, 2019
[-]When PR checks pass, automatically post comment[/-][+]After merge, automatically post comment[/+]ulken commentedon Nov 10, 2019
@fregante I’m a little curious what is actually asked for/what value it brings.
As a user, I check Wait for merge. Then what?
I click Comment which enters waiting state until Merge is pressed and then posts the comment? If yes, what’s the benefit over first merging and then commenting?
If we want to reduce the amount of clicks it sounds like a Merge and Comment button (similar to Close and Comment Issue) addresses the issue better?
But maybe I’m totally missing something here. If you could just clear up what you’re after, I’d be happy to give it a go. Thanks!
ulken commentedon Nov 10, 2019
/cc @sindresorhus Thoughts?
fregante commentedon Nov 10, 2019
You're not wrong, it's mostly about the expectation that after the merge, the merger leaves a thank you note or something like that. But you're right in that it doesn't necessarily have to happen after.
ulken commentedon Nov 10, 2019
Thanks for replying. I’m sorry if my communication was unclear, but I wasn’t referring to the order of merging/commenting. I get that you want to leave a comment after closing, makes perfect sense.
My concern was around what problem is actually solved by the current solution suggestion? What do you gain? As I see it, all the extra checkbox does is increase the amount of clicks.
If still not clear (and I’m missing out on the obvious), could you help me out with an example scenario? I.e. walk me through the process from a user’s POV.
The way I interpret the current suggestion in the eyes of the user:
3a. Waiting...
4a. Merge completes
How is this better than:
Having a Merge and Comment button on the other hand would reduce the above to two steps.
Like I said, I must be missing something here. I just need to understand what in order to attempt this.
And if you feel like it’s not worth the time explaining, that’s fine. Thank you :)
fregante commentedon Nov 10, 2019
Right, we agree on that, it’s not necessarily better, it’s just seemed like the right order of operations.
As for the amount of clicks: it’s unchanged. Both checkboxes (one for the merge, one for the comment) would be automatically checked and only appear if necessary, so:
If we change the merge button to Merge and comment, such button would submit the content of the comment box BELOW it. No fields should be under a submit button, it’s bad UX. We can’t do that.
In short: I think we can close this issue as the order of operations might not be worth the feature complexity.
ulken commentedon Nov 10, 2019
@fregante 🙏 Thank you for bearing with me! Finally the penny dropped. Then I’m all aboard. If you don’t strongly disagree (i.e. won’t accept a PR no matter what), I’d like to try it out.
Just for the record:
PS. To my defense, I still don't find it obvious what is requested from the initial specification/description as it stands. Maybe I haven’t used RGH enough to read in all the patterns used, but if possible I would very much appreciate a little more details around problem statement and solution suggestions in upcoming issues. Feel free to ignore, just trying to give my POV as a newcomer. Thank you! ❤️
issuehunt-oss commentedon Jan 21, 2020
@sindresorhus has rewarded $48.57 to @fregante. See it on IssueHunt