Skip to content

Merge adjacent +1/-1 comments with the same content #168

Closed

Description

@hkdobrev

Follow-up from #74 (comment)

We could collapse all adjacent +1/:+1: comments and all adjacent -1/:-1: comments into a single comment inside of the comment timeline with the number of comments combined. This way we still streamline old issues with a ton of +1 votes, while showing relatively when and after which comments or changes the votes occurred.

Activity

  1. DrewML commented on Apr 7, 2016

    @DrewML
    Contributor

    How would you feel about collapsing/expanding headers, similar to what we implement on the file headers in diffs? We'd just keep the comments where they are now, but collapse them by default, just to the relevent information (name, avatar, date/time, badge), and give some indicator it's a +1 comment.

    Mockup:
    image

    No benefit over your suggestion, just another option.

  2. hkdobrev commented on Apr 7, 2016

    @hkdobrev
    ContributorAuthor

    @DrewML Hmm, some issues have hundreds of +1 comments. That's why I suggested combining them with a number. I was looking at one such issue the other day, but can't find it now.

    Although I prefer the simplicity of your approach.

  3. DrewML commented on Apr 7, 2016

    @DrewML
    Contributor

    I was looking at one such issue the other day, but can't find it now.

    Was it this one? isaacs/github#9 😆

  4. hkdobrev commented on Apr 7, 2016

    @hkdobrev
    ContributorAuthor

    @DrewML

    Was it this one? isaacs/github#9 😆

    Exactly the one! 😆

  5. sindresorhus commented on Apr 7, 2016

    @sindresorhus
    Member

    Don't put too much energy into this. It's a fading problem.

  6. DrewML commented on Apr 7, 2016

    @DrewML
    Contributor

    @sindresorhus In that case, rather than address in this extension, how do you feel about just linking to the other extension that handles this in the readme?

  7. sindresorhus commented on Apr 8, 2016

    @sindresorhus
    Member

    Sounds good

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