Skip to content

Add avatars for voters to sidebar - #73

Merged
sindresorhus merged 1 commit into
masterfrom
voter-avatars
Mar 18, 2016
Merged

sindresorhus merged 1 commit into
masterfrom
voter-avatars

Conversation

@paulmolluzzo

Copy link
Copy Markdown
Contributor

This closes #70.

As discussed, this just puts the avatars of the voters in each group underneath the count of votes in either direction. It looks like the avatars under the participants area, and each avatar is wrapped in an link to the user that voted.

voter-avatars

Comment thread extension/content.js Outdated

voters.forEach(val => {
avatars += val;
});

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for (val of voters) {
  avatars += val;
}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Comment thread extension/content.js Outdated
}

el.closest('.js-comment-container').remove();
// el.closest('.js-comment-container').remove();

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my bad.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was doing something while debugging the last fix. Just pushed a fix for this.

@SpaceK33z

Copy link
Copy Markdown
Contributor

After GitHub's announcement, this is not necessary anymore, right?

@hkdobrev

Copy link
Copy Markdown
Contributor

@SpaceK33z thanks for that!

I second that I'd like this removed from the extension.

@SpaceK33z

Copy link
Copy Markdown
Contributor

Two things that irritate me about the new reaction:

  • I would have preferred just +1 and -1, because 'Heart' and 'Hooray' is basically the same... but not a drama
  • You can't see who gave the reaction; e.g. a +1 from Sindre means a lot more than a +1 from a random person.

@hkdobrev

Copy link
Copy Markdown
Contributor

@SpaceK33z The second point that you can't see who gave a +1 is so important that I think GitHub would add it. We can move the discussion to #74.

@sindresorhus

Copy link
Copy Markdown
Member

I still think this is useful for now, and it's going to take time for all users to adjust to "reactions". We can revisit removing it in the future.

@sindresorhus

Copy link
Copy Markdown
Member

👍

sindresorhus added a commit that referenced this pull request Mar 18, 2016
Add avatars for voters to sidebar
@sindresorhus
sindresorhus merged commit 5118a38 into master Mar 18, 2016
@sindresorhus
sindresorhus deleted the voter-avatars branch March 18, 2016 08:25
@sindresorhus

Copy link
Copy Markdown
Member

Good stuff @paulmolluzzo :)

hkdobrev added a commit that referenced this pull request Apr 6, 2016
Closes #74.

Removes the work done in: #17, #39 and #73.
hkdobrev added a commit that referenced this pull request Apr 6, 2016
Closes #74.

Removes the work done in: #17, #39 and #73.
hkdobrev added a commit that referenced this pull request Apr 6, 2016
Closes #74.

Removes the work done in: #17, #39 and #73.
sindresorhus pushed a commit that referenced this pull request Apr 7, 2016
Closes #74.



Removes the work done in: #17, #39 and #73.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Add list of voters to vote counter

4 participants