plibither8 / refined-hacker-news

✨ Hacker News, but refined — Interface tweaks and features to make the HN experience better
MIT License
807 stars 34 forks source link

Flag any comment from the comments page #62

Closed nick-s-b closed 4 years ago

nick-s-b commented 4 years ago

Hi, Currently to flag a comment (for spam) you have to open the comment in the new page to reveal the 'flag' link. Could we have it so that you can flag a comment from the story's comment page itself? Thanks!

plibither8 commented 4 years ago

Thanks for the idea, missed it somehow. Currently working on it, should push to production soon!

plibither8 commented 4 years ago

Hey Nick, I was rethinking about this and what I am worried about is potential misuse of the button since it will be right in front of you, and you don't have to take an extra step to open comment's page - that acts as a sort of deterrent.

Nevertheless to make this feature a bit more inconspicuous, I've enabled it as a keyboard shortcut: if the item is "active" (using J and K keypresses to navigate arouns the comments), then you can press Shift+X to flag or unflag the comment.

What do you think?

nick-s-b commented 4 years ago

Flagging of stories is available on the front page of the site. Is it really that dangerous? How about not making the module enabled by default and you'd have to enable it manually like some other modules? Remembering keystrokes is cumbersome.

plibither8 commented 4 years ago

On second thought, I guess you are right - I forget that stories can be flagged from the front-page. I've added this directly to the comments now next to the "favorite" button, and also enabled the keyboard shortcut.

nick-s-b commented 4 years ago

Awesome! Thank you!