📜 ⬆️ ⬇️

Dimminded comments

On Habré, there is such a system that comments with a very low rating are hidden behind the “open comment” link.
I propose to do instead of concealment - to change the color of the text, you can calculate based on the "depth" of the minus. That is, for -1, the color will be around # 111, for -15 - #ccc (can be calculated on the basis of an absolute scale or from some relative).
For I myself reveal almost every single minded comment, it’s necessary for every such commentary to do one action and watch because of what kind of post such a heated discussion has flared up.

UPD: In one of the comments showed that the pictures in the disclosed posts can break the design, so you can optionally embed a filter that leaves only the text in the comments with a negative rating.

')

Source: https://habr.com/ru/post/22899/


All Articles