Skip to content
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

User Story: Moderation Queue #160

Open
nautbot opened this issue Apr 5, 2018 · 5 comments
Open

User Story: Moderation Queue #160

nautbot opened this issue Apr 5, 2018 · 5 comments
Assignees
Labels
AWAITING CLOSURE Should be done, Owner needs to verify & close BIG Bigger features/tasks that will take some time to implement. DB Data or database assistance needed design enhancement New feature or request IT SHALL BE DONE Important enough to block everything else. TEST & FIX Almost done, some bugs/glitches - needs minor fixes UI PHP Controllers + HTML/CSS/Design/graphics

Comments

@nautbot
Copy link
Contributor

nautbot commented Apr 5, 2018

This user story is intended to cover functionality of the submission/comment reporting system and their interaction with the moderation queue in more detail. This will cover both the general user-facing report function, as well as the moderator-facing moderation queue.


User

When a user encounters an offending post or comment, they have the option to flag the item for moderator review using the [report] link:

Submission:

screen shot 2018-04-04 at 8 22 12 pm

Comment:

screen shot 2018-04-04 at 7 56 33 pm

Since CSS is patently not fun, we'll go ahead and report that comment. The process for flagging submissions and comments works the same and yields the same result in the moderation queue.

In either case, a dialog will open for the user to select a reason for flagging the item:

screen shot 2018-04-04 at 7 56 44 pm

Since we could say the offending comment fits any of these categories, we'll see what "Other Issues" entails:

screen shot 2018-04-04 at 8 27 45 pm

Not as many applicable choices there, so we'll go back and just mark that the comment violates the forum's rules:

screen shot 2018-04-04 at 8 31 42 pm

This leads to another prompt where we have the option to add a free-text comment to the report:

screen shot 2018-04-04 at 7 57 03 pm

We add our custom message, and hit [Submit] to send it! Once the report is sent, we are given an additional option to block the submission/comment's author:

screen shot 2018-04-04 at 7 57 29 pm


Moderator

Moderators have special page called the "moderation queue" where all of the flagged items appear. These queues exist both for each individual forum the user moderates, as well as an aggregate queue that gathers flagged items from all of the forums the user moderates.

Individual forum moderation queue:

screen shot 2018-04-04 at 8 17 26 pm

Aggregate multi-forum moderation queue:

screen shot 2018-04-04 at 8 07 32 pm

The moderator can also see flagged submissions and comments inline with the existing forum and comment forests.

Example of flagged submission in forum:

screen shot 2018-04-04 at 8 36 11 pm

From either the moderation queues or inline with forum submissions or comment forests, the moderator is given several buttons for getting more information or performing moderation actions on the reported items:

screen shot 2018-04-04 at 8 05 10 pm

Clicking the [reports] button will expand a list of the reports/reasons underneath the offending item:

screen shot 2018-04-04 at 8 05 25 pm

The remainder of the buttons each perform a different moderation action:

  • [spam] - Removes the offending item, and adds it to the spam filter's definitions (some form of fancy machine learning thing);

  • [remove] - Removes the offending item;

  • [approve] - In the case an item has been removed (i.e. by auto moderation rules) this will reinstate it;

  • [ignore reports] - This will stop the acknowledgement of additional reports from triggering any auto moderation rules.

Further to the right is an ever-present [rts] link (always displayed on submissions/comments for moderators, regardless of having reports), another moderation tool that immediately marks the author as a spammer.


Auto-Moderation

Another piece that interacts with the report system and moderation queue is the auto moderator, a bot that can be customized by the forum's moderators to help address submissions and comments that have been flagged. This bot has a basic scripting language, and the rule sets can be defined/edited from a text field accessible from the forum settings:

screen shot 2018-04-04 at 9 10 39 pm

In the example configuration above, once the offending item has received three reports, the bot will send a message to modmail with a link to the item with notice to review:

screen shot 2018-04-04 at 9 13 37 pm

Per the same rule configuration, once an offending item reaches five reports, it is automatically removed:

screen shot 2018-04-04 at 9 13 52 pm

@psineur psineur added enhancement New feature or request UI PHP Controllers + HTML/CSS/Design/graphics TODO Let's do it! design DB Data or database assistance needed labels Apr 5, 2018
@psineur psineur added this to the v.1 - MVP - Public Release milestone Apr 5, 2018
@psineur
Copy link
Contributor

psineur commented Apr 5, 2018

This needs to be minimized into MVP task:

  1. report button
  2. mod queue
  3. approve/remove/spam buttons
    anything else?

@psineur psineur added the upforgrabs We can use your help - take it if not assigned label Apr 5, 2018
@psineur
Copy link
Contributor

psineur commented Apr 5, 2018

@nautbot
Copy link
Contributor Author

nautbot commented Apr 5, 2018

"Spam" is an entire other can of worms. I'd say right now we need:

  1. Report button on posts/comments

  2. Mod queue

  3. Approve/remove mod action buttons

@tstiegler tstiegler self-assigned this Apr 7, 2018
@tstiegler tstiegler removed the upforgrabs We can use your help - take it if not assigned label Apr 7, 2018
@psineur
Copy link
Contributor

psineur commented Apr 19, 2018

@tstiegler do we close this or are there any other things to be done?

@psineur psineur added AWAITING CLOSURE Should be done, Owner needs to verify & close TEST ME MORE Needs additional testing / looking into labels Apr 25, 2018
@psineur
Copy link
Contributor

psineur commented Apr 25, 2018

Merging #86 here, #170 is related

Ability for users to report posts/comments that violate site/sub rules. Add "Report" button on posts/comments:

screen shot 2018-03-27 at 1 18 41 pm

screen shot 2018-03-27 at 1 18 54 pm

"Report" currently dumps items into a single feed known as the moderation queue:

screen shot 2018-03-27 at 1 21 37 pm

Later implementation could include user selecting specific rule violation, but for now just dumping > into mod/admin forums (as implemented in #61) as new post linking back to offending item should >suffice.

Currently there is UI for Reporting a submission with some typos in the UI.
Posting a report works, for both comment and submission. However they looks strange in /moderation_queue

Comment has voting, but doesn't show comment itself
Submission doesn't have voting buttons.

Approving /removing also affects whole submission, and never just comment - this needs just a bit more testing and fixes

@psineur psineur added TEST & FIX Almost done, some bugs/glitches - needs minor fixes IT SHALL BE DONE Important enough to block everything else. BIG Bigger features/tasks that will take some time to implement. and removed TEST ME MORE Needs additional testing / looking into TODO Let's do it! labels Apr 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AWAITING CLOSURE Should be done, Owner needs to verify & close BIG Bigger features/tasks that will take some time to implement. DB Data or database assistance needed design enhancement New feature or request IT SHALL BE DONE Important enough to block everything else. TEST & FIX Almost done, some bugs/glitches - needs minor fixes UI PHP Controllers + HTML/CSS/Design/graphics
Projects
None yet
Development

No branches or pull requests

3 participants