Skip to content
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
This repository was archived by the owner on Nov 18, 2021. It is now read-only.

Mark an conversation on a diff as resolved #251

Closed

Description

@mehulkar

Github does a great job of marking and collapsing "outdated diffs" when new commits are made on a PR. Sometimes comments and conversations on diffs are resolved without new commits, however. It would be nice to be able to mark a conversation as resolved to reduce clutter from the PR page.

Activity

  1. garemoko commented on Feb 23, 2015

    @garemoko

    +1. Or specifically unresolved.

  2. dylanpyle commented on Jul 30, 2015

    @dylanpyle

    +1

  3. FreakTheMighty commented on Aug 7, 2015

    @FreakTheMighty

    👍

  4. diogocp commented on Sep 4, 2015

    @diogocp

    👍

  5. kubasub commented on Sep 22, 2015

    @kubasub

    👍

  6. sudotliu commented on Sep 30, 2015

    @sudotliu

    👍

  7. 304NotModified commented on Oct 3, 2015

    @304NotModified

    👍

  8. SilverFire commented on Oct 20, 2015

    @SilverFire

    👍

  9. danaucpe commented on Oct 26, 2015

    @danaucpe

    👍

  10. wbeard commented on Oct 28, 2015

    @wbeard

    👍

  11. danepowell commented on Nov 12, 2015

    @danepowell

    👍

  12. tafid commented on Nov 12, 2015

    @tafid

    👍

  13. hiqsol commented on Nov 12, 2015

    @hiqsol

    👍

  14. BesedinSasha commented on Nov 12, 2015

    @BesedinSasha

    👍

  15. jslee02 commented on Dec 1, 2015

    @jslee02

    👍

  16. 27 remaining items

  17. JanZerebecki commented on Jul 30, 2018

    @JanZerebecki

    That still doesn't let you easily see comments on lines that were changed by further commits that are not resolved. The element hiding Outdated is on a different, higher level than the one hiding resolved or manually hidden comments. There is also no option to mark comments as not Outdated.

    As both resolved and not resolved comments are hidden by Outdated this doesn't help with reviews that get changes and discussion.

  18. aspiers commented on Jul 30, 2018

    @aspiers
    Collaborator

    You're correct, but you're talking about a different issue to this one. This issue is purely about the ability to mark a diff as resolved, and GitHub now provides that.

    The issue of not being able to easily get a good handle on which comments are still unresolved is a separate (albeit very important) issue. If there is not an issue filed in this tracker about that then I warmly encourage you to submit it. Or if you find it, please link to it.

  19. aspiers commented on Jul 31, 2018

    @aspiers
    Collaborator

    Actually with further thought, I retract what I said yesterday. This issue is about having the ability to mark a conversation on a diff resolved, but GitHub has only provided marking a single comment as resolved. This is not nearly as good, because if a conversation on a diff contains 10 comments, the only way to mark the whole conversation as resolved is to manually mark all 10 comments as resolved. And since this mechanism relies on hiding the comments, if you only hid (say) 7 of those comments, you'd typically end up with a nonsensical discussion of 3 comments which were missing a lot of context.

    So GitHub really needs to do better here. Note that GitLab already offers this, plus way more:

    https://docs.gitlab.com/ee/user/discussions/index.html#marking-a-comment-or-discussion-as-resolved

  20. aspiers commented on Jul 31, 2018

    @aspiers
    Collaborator

    This issue only highlights one of the many gaps in GitHub's discussion resolution tracking. I've filed #1314 to highlight the others.

  21. alecbz commented on Aug 8, 2018

    @alecbz

    Sometimes comments and conversations on diffs are resolved without new commits, however.

    Worth noting this applies in the other direction too: just because the line was changed doesn't mean the comment was addressed.

  22. rmacklin commented on Aug 29, 2018

    @rmacklin

    I'm seeing this live on GitHub today:

    screen shot 2018-08-29 at 11 40 33 am

    However, I've yet to see anything on the GitHub changelog about it. Perhaps it's only released to a subset of users? Are others here seeing it?

  23. aspiers commented on Aug 29, 2018

    @aspiers
    Collaborator

    Interesting! Yes I'm seeing it too. Let's hope they document it properly at some point.

  24. agdespopoulos commented on Sep 4, 2018

    @agdespopoulos

    I'm seeing it too. Loving it.

  25. tjohnell-handy commented on Sep 4, 2018

    @tjohnell-handy

    Yep, this is officially resolved! ✌️ everyone.

    /unsubscribe

  26. aspiers commented on Sep 4, 2018

    @aspiers
    Collaborator

    Well, technically speaking based on the exact nature of the issue description above, yes you're right - it's officially resolved. However, as I noted in sindresorhus/refined-github#1056, this is only half the story.

    The other part GitHub needs to implement to make this really useful is to make it clearer in the UI which comments are resolved and which ones still need resolving. For comparison, look at how the Gerrit developers already started to implement this quite a while ago, although IIUC it won't be available until Gerrit 2.16 is released.

    So perhaps we should submit a new issue to this issue tracker about that. EDIT: oh haha, stupid me - I already did that, even commented about it above, and still totally forgot about it! 😆 See #1314 (discussion resolution tracking).

  27. mehulkar commented on Sep 4, 2018

    @mehulkar
    Author

    woot!

  28. aspiers commented on Oct 3, 2018

    @aspiers
    Collaborator

    @rmacklin commented on 29 Aug 2018, 19:41 BST:

    However, I've yet to see anything on the GitHub changelog about it. Perhaps it's only released to a subset of users? Are others here seeing it?

    GitHub recently told us that they have officially announced this feature. I'm guessing that it took a while to announce because they were using us power users as guinea pigs before releasing to all users :-)

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