Skip to content

Privately remind users not to leave 👍 and 👎 as comments - #1231

Merged
fregante merged 3 commits into
masterfrom
no-reaction-comments
Apr 20, 2018
Merged

fregante merged 3 commits into
masterfrom
no-reaction-comments

Conversation

@fregante

@fregante fregante commented Mar 30, 2018 •

Copy link
Copy Markdown
Member

Less of a feature, more of a community service. This only appears to who left the comment.

Feature annoyance rating: 🔥🔥🔥💦💦

Comment thread package.json
"stylelint": {
"extends": "stylelint-config-xo",
"rules": {
"selector-type-no-unknown": null,

@fregante fregante Mar 30, 2018 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@sindresorhus what do you say about this rule? Should it be configured to ignore customElements or should each repo have its own list of known types like it happens for JavaScript "globals"?

 51:46  ✖  Unexpected unknown type selector "g-emoji"  selector-type-no-unknown

These emojis were also matched

:u7121: :u7981: :clock1: :clock11: :rage1:

@vanniktech vanniktech left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Could we do this for all the Emoji Reactions GitHub is supporting?

@fregante

fregante commented Mar 30, 2018 •

Copy link
Copy Markdown
Member Author

I limited it to +1 and -1 because they are the most useless+common ones… but yeah they can probably be added too if accepted.

We could also use this image instead of the text:

“If you can’t say something nice, don't say nothing at all” — Bambi 1942

@hkdobrev

hkdobrev commented Mar 30, 2018 •

Copy link
Copy Markdown
Contributor

We can use this image if the conversation is locked or there's a cool down period enabled in the settings repo 😆

@fregante

fregante commented Mar 30, 2018 •

Copy link
Copy Markdown
Member Author

That’d be hilarious actually 😂

PR please!

@yakov116

Copy link
Copy Markdown
Member

@bfred-it 👍

@sindresorhus

sindresorhus commented Mar 31, 2018 •

Copy link
Copy Markdown
Member

Wouldn't it be better to warn the user upfront? So if they only have a comment body with 👍 or 👎 and press "Comment", we would show a confirm dialog where we recommend using reactions instead? I was first thinking just blocking comments with 👍, but there are valid reasons to comment that sometimes.

@fregante

fregante commented Apr 1, 2018 •

Copy link
Copy Markdown
Member Author

Two reasons:

  • JavaScript features can be disabled
  • This one just annoys a bit, but doesn’t require clicking YES when posting (which could still be blindly accepted anyway)

We could do both though 🙂

@fregante
fregante merged commit fbb5d95 into master Apr 20, 2018
@fregante

Copy link
Copy Markdown
Member Author

Merging this since it looks like we're on the same page. For additional features, PRs welcome! :)

@fregante
fregante deleted the no-reaction-comments branch April 20, 2018 09:09
@wopian

wopian commented Apr 21, 2018 •

Copy link
Copy Markdown

This message shows up for comments that contain :+1: shortcodes anywhere in its body.

It doesn't make sense to warn me about its usage in chrislgarry/Apollo-11#323 (comment) for example.

@fregante
fregante restored the no-reaction-comments branch April 21, 2018 17:19
fregante added a commit that referenced this pull request Apr 21, 2018
fregante added a commit that referenced this pull request Apr 21, 2018
@fregante
fregante deleted the no-reaction-comments branch April 21, 2018 17:23
@fregante

Copy link
Copy Markdown
Member Author

You're right. CSS can't detect text nodes. Reverting this and pushing to stores ASAP

@yakov116

yakov116 commented Dec 9, 2018

Copy link
Copy Markdown
Member

Implemented by github!

image

https://blog.github.com/changelog/2018-12-07-suggest-leaving-a-reaction/

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.

6 participants