New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide comments from specific users #197

Closed
wickedchicken opened this Issue Mar 30, 2015 · 11 comments

Comments

Projects
None yet
7 participants
@wickedchicken

wickedchicken commented Mar 30, 2015

Hi,

Much in the same way stories can be hidden, I'd like for comments by certain users to be hidden as well. Ideally this could show up as which could be clicked and expanded if desired.

The reason I am requesting this is that there are certain commenters whom I would like to avoid, but don't think should be outright banned from the site. A private block seems like a happy solution.

Thanks for lobste.rs, it's great!

@jcs

This comment has been minimized.

Show comment
Hide comment
@jcs

jcs Jul 20, 2015

Contributor

That would break threading, so is it supposed to hide the entire thread under a blocked comment?

Contributor

jcs commented Jul 20, 2015

That would break threading, so is it supposed to hide the entire thread under a blocked comment?

@jcs jcs added the featurereq label Jul 20, 2015

@kyrias

This comment has been minimized.

Show comment
Hide comment
@kyrias

kyrias Aug 23, 2015

You could possibly replace the comment with an empty dummy-comment, having the user listed as ignored.

kyrias commented Aug 23, 2015

You could possibly replace the comment with an empty dummy-comment, having the user listed as ignored.

@bconway

This comment has been minimized.

Show comment
Hide comment
@bconway

bconway Sep 3, 2015

+1. I've found an increasing number of users that inject their politics into every post they make and find myself avoiding discussions entirely.

bconway commented Sep 3, 2015

+1. I've found an increasing number of users that inject their politics into every post they make and find myself avoiding discussions entirely.

@wickedchicken

This comment has been minimized.

Show comment
Hide comment
@wickedchicken

wickedchicken Sep 3, 2015

The UI I was imagining would be as follows (using ⋅⋅⋅ to signify indents, markdown doesn't seem to like spaces):

user1 2 hours ago | link | reply
An insightful comment.

⋅⋅⋅ [hidden] 16 minutes ago | unhide

⋅⋅⋅⋅⋅⋅ user1 4 minutes ago | link | reply
⋅⋅⋅⋅⋅⋅⋅⋅⋅Another insightful comment responding to the hidden one.

wickedchicken commented Sep 3, 2015

The UI I was imagining would be as follows (using ⋅⋅⋅ to signify indents, markdown doesn't seem to like spaces):

user1 2 hours ago | link | reply
An insightful comment.

⋅⋅⋅ [hidden] 16 minutes ago | unhide

⋅⋅⋅⋅⋅⋅ user1 4 minutes ago | link | reply
⋅⋅⋅⋅⋅⋅⋅⋅⋅Another insightful comment responding to the hidden one.

@pushcx

This comment has been minimized.

Show comment
Hide comment
@pushcx

pushcx Nov 26, 2016

Member

I wrote a greasemonkey script for myself a while ago:

// ==UserScript==
// @name        Mute Lobsters
// @namespace   http://lobste.rs/u/pushcx
// @description remove domains and user comments/stories
// @include     https://lobste.rs/*
// @version     1
// @grant       none
// ==/UserScript==

domain = 'example.com';
username = 'example';

// hide site
[].slice.call(document.querySelectorAll('.story a.domain[href="/search?q=domain:' + domain + '&order=newest"]')).forEach(function (el) { el.closest(".story").remove() });

// hide stories
[].slice.call(document.querySelectorAll('.story .byline a[href="/u/' + username + '"')).forEach(function (el) { el.closest(".story").remove() });
// you may want this to be a.user_is_author if you only want to block their text posts

// hide comments
[].slice.call(document.querySelectorAll('.comment a[href="/u/' + username + '"]')).forEach(function (el) { el.closest(".comment").remove() });
  • Edited 2017-03-23 to hide submitted stories
  • Edited 2018-05-22 to document a little better
Member

pushcx commented Nov 26, 2016

I wrote a greasemonkey script for myself a while ago:

// ==UserScript==
// @name        Mute Lobsters
// @namespace   http://lobste.rs/u/pushcx
// @description remove domains and user comments/stories
// @include     https://lobste.rs/*
// @version     1
// @grant       none
// ==/UserScript==

domain = 'example.com';
username = 'example';

// hide site
[].slice.call(document.querySelectorAll('.story a.domain[href="/search?q=domain:' + domain + '&order=newest"]')).forEach(function (el) { el.closest(".story").remove() });

// hide stories
[].slice.call(document.querySelectorAll('.story .byline a[href="/u/' + username + '"')).forEach(function (el) { el.closest(".story").remove() });
// you may want this to be a.user_is_author if you only want to block their text posts

// hide comments
[].slice.call(document.querySelectorAll('.comment a[href="/u/' + username + '"]')).forEach(function (el) { el.closest(".comment").remove() });
  • Edited 2017-03-23 to hide submitted stories
  • Edited 2018-05-22 to document a little better
@crertel

This comment has been minimized.

Show comment
Hide comment
@crertel

crertel Nov 26, 2016

Contributor

@wickedchicken @bconway have you considered just...ignoring...those posts? Also, you might want to link to some examples to show what you mean.

Adding additional echochamber features is probably not a great idea.

Contributor

crertel commented Nov 26, 2016

@wickedchicken @bconway have you considered just...ignoring...those posts? Also, you might want to link to some examples to show what you mean.

Adding additional echochamber features is probably not a great idea.

@bconway

This comment has been minimized.

Show comment
Hide comment
@bconway

bconway Nov 26, 2016

@crertel Thanks for the tip. Since I left the site over a year ago, it's probably safe for me to unsubscribe from this conversation.

bconway commented Nov 26, 2016

@crertel Thanks for the tip. Since I left the site over a year ago, it's probably safe for me to unsubscribe from this conversation.

@wickedchicken

This comment has been minimized.

Show comment
Hide comment
@wickedchicken

wickedchicken Nov 26, 2016

@crertel I originally made this request after scrolling through pages of comments made by a person who preferred the "wall of text" approach to discussion. This made it quite difficult to ignore the posts.

I've seen (and written) a few lengthy comments here and there, but I don't think long comments are a general problem in lobsters. I have seen specific users overly rely on long comments, which is why I requested "hide specific users" and not "deal with the long comment problem" (which I imagine would be a much more involved discussion).

wickedchicken commented Nov 26, 2016

@crertel I originally made this request after scrolling through pages of comments made by a person who preferred the "wall of text" approach to discussion. This made it quite difficult to ignore the posts.

I've seen (and written) a few lengthy comments here and there, but I don't think long comments are a general problem in lobsters. I have seen specific users overly rely on long comments, which is why I requested "hide specific users" and not "deal with the long comment problem" (which I imagine would be a much more involved discussion).

@crertel

This comment has been minimized.

Show comment
Hide comment
@crertel

crertel Nov 27, 2016

Contributor

@wickedchicken ah, gotcha. @pushcx 's script is probably a good help for the moment then. :)

Contributor

crertel commented Nov 27, 2016

@wickedchicken ah, gotcha. @pushcx 's script is probably a good help for the moment then. :)

@danielcompton

This comment has been minimized.

Show comment
Hide comment
@danielcompton

danielcompton Mar 23, 2017

I've made a meta post for discussion/feedback on whether this is wanted by the community here: https://lobste.rs/s/debnsq/hiding_comments_by_specific_users.

danielcompton commented Mar 23, 2017

I've made a meta post for discussion/feedback on whether this is wanted by the community here: https://lobste.rs/s/debnsq/hiding_comments_by_specific_users.

@jcs

This comment has been minimized.

Show comment
Hide comment
@jcs

jcs Mar 28, 2017

Contributor

Sorry, but there didn't seem to be a lot of concensus around wanting this.

Contributor

jcs commented Mar 28, 2017

Sorry, but there didn't seem to be a lot of concensus around wanting this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment