Skip to content

Submit pending review comment as "single comment" #2063

Closed

Description

@fregante

Issuehunt badges

  1. Answer a review comment, like https://github.com/sindresorhus/refined-github/pull/1271/files#r183043274
  2. Press "Start review" instead of "Add single comment"
  3. Be stuck with a pending answer that's not supposed to be a whole new review

Screenshot 2019-05-21 at 21 02 57

Sometimes I just want to leave a single comment. It's almost ok if it's a new comment (I can just press "Submit review" as comment), but if you're answering an existing thread, it will look strange on the Conversation tab, disconnected from the original comment.

I wish that clicking "Pending" would send the comment instantly (after confirm()). I'm not sure if this is feasible because you probably have to reuse another autenticity token from the page.


IssueHunt Summary

fregante fregante has been rewarded.

Backers (Total: $60.00)

Submitted pull Requests


Tips


IssueHunt has been backed by the following sponsors. Become a sponsor

Activity

  1. sindresorhus commented on May 21, 2019

    @sindresorhus
    Member

    This happens to me many times a week...

  2. added
    💵 Funded on Issuehunt
    on May 30, 2019
  3. IssueHuntBot commented on May 30, 2019

    @IssueHuntBot

    @IssueHunt has funded $60.00 to this issue.


  4. fregante commented on Jun 27, 2019

    @fregante
    MemberAuthor

    I looked into this and:

    1. Write comment A, start review
    2. Write comment B, use RGH to send as single comment (can be done via single_comment=true parameter)
    3. Both comments are now sent as a review, even if I sent a single form for a single comment.

    It looks like GitHub's backend will just flush the review queue if you ask for one comment to go through.

    This can only work if you want to send the first comment you write:

    1. Write comment A, start review
    2. Use RGH to send A as single comment

    But you'll have to cancel the review first and then send the comment

  5. issuehunt-oss commented on Nov 3, 2019

    @issuehunt-oss

    @sindresorhus has rewarded $54.00 to @fregante. See it on IssueHunt

    • 💰 Total deposit: $60.00
    • 🎉 Repository reward(0%): $0.00
    • 🔧 Service fee(10%): $6.00
  6. added and removed
    💵 Funded on Issuehunt
    on Nov 3, 2019
  7. descartes-tlc commented on Nov 22, 2019

    @descartes-tlc

    WHY

  8. Ayesha-Siddiqa2 commented on Jun 25, 2021

    @Ayesha-Siddiqa2

    Does it work?

  9. locked and limited conversation to collaborators on Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions