Closed Alys closed 8 months ago
This design lives in Zeplin: https://zpl.io/anxLEv2
~I'm putting this back on hold until I've added the details that I mentioned in the top post ("Once the design is done, I'll add some more details to this issue about how the flagging should work and what effects it should have.")~
The way this should work is:
Report Modal
When you click on the report option from the profile screen, a report modal should open, very similar to the one you see when you click report on a chat post (first screenshot below).
The differences between the chat post modal and the profile modal should be:
When the player clicks the "Report" button on the modal, an email and a Slack notification should be sent. The recipient/destination details for both should be the same as when a post is reported. More details about the email and Slack notification are below.
There should be no attempt to hide any parts of the profile or to mark it has having been reported. (This is because profile violations are relatively rare and not highly visible, and we expect a fair proportion of false flags, and real violations will be handled by moderators fairly quickly. Hiding the profile is probably more trouble than it's worth.)
We'll need to create a new Mandrill template for the email but I or Habitica staff can do that - don't worry about the details of that just set up the code to send the email similar to how it's done for reporting a post.
The email should contain:
profile/
is the User ID). Don't try to make this an "a href" link - just the raw URL is fine.profile.imageUrl
). If no image is specified, the email should say "no profile image". Don't try to make this an HTML image or "a href" tag, just the raw profile.imageUrl
string is fine.profile.blurb
). If that text doesn't exist, the email should say "no About text".Slack Notification
The Slack notification should be similar to the one for reporting a post (screenshot below). It should contain:
preferences.language
value of the person reporting the profile. This can be formatted as "; language: fr" after the User ID, as it is for the reporter. (NB: We want this for reporting posts as well so if it's convenient to add it for that too as you're fixing this issue, please do, but don't feel that you have to.)profile.imageUrl
) as a clickable link with the visible text being the URL of the image. If no image is specified, the notification should say "no profile image". Do not try to make this an inline image - I think we'd prefer that we did not see the image itself in the notification (Slack might display the image but if so we'll put up with it).profile.blurb
). If that text doesn't exist, the notification should say "no About text".Note that the strings "no About text" and "no profile image" and "Profile URL" do not need to be translatable and should not be placed in json files under website/common/locales/en.
If anyone has any questions or concerns about this, post here!
Hello! I was just panning through the issues on here with an intent of taking up one. I'm noticing this issue is 7-years dated, but still marked as Open. The requested changes seem to differ slightly from the last comment, but I do notice the report a player option does generally meet the bullet points. I was wondering if this was still something I could(or should) work on.
@RussWilkie -- Thanks for the ping! This issue looks to have slipped through the cracks and has now been closed.
The profile screen for a player needs to have a report button, similar to the report button on chat messages, so that players can report profiles containing bad text or images, or players who have bad names.
See the comments below for details. ~This needs design work to determine the location and appearance of the report button (although I suggest it looks the same as it does on chat messages to help players recognise it). @Tressley~
~Once the design is done, I'll add some more details to this issue about how the flagging should work and what effects it should have.~