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

Treatment for hidden identifications and comments #671

Closed
2 tasks
pleary opened this issue Sep 27, 2023 · 1 comment
Closed
2 tasks

Treatment for hidden identifications and comments #671

pleary opened this issue Sep 27, 2023 · 1 comment
Labels
Milestone

Comments

@pleary
Copy link
Member

pleary commented Sep 27, 2023

The website recently released a feature where curators can hide any identification and any comment by using ModeratorActions. On the website we replace the hidden identifications and comments with a message saying "Content Hidden" which users can click to open a popover showing who hid them, when they were hidden, and the message left by the curator as to why they were hidden. Ideally mobile apps implement at least the "Content Hidden" message for hidden identifications.

I made a test observation https://www.inaturalist.org/observations/185148530 which has a hidden identification, a hidden comment, and hidden media. In the API response for this observation, the identification and comment have an attribute hidden: true. They also have an attribute moderator_actions which contains information on the hiding action including the hiding user, date it was hidden, and the reason message added by the curator when hiding the content.

Ideally hidden identifications and comments would be treated as a special case, rendering a message similar to "Content Hidden", that can be localized for the viewing user. If it makes sense to do so and there is room, the hiding user, date of hiding, and hiding reason could also be displayed somewhere. The hiding reason could be long, and on the web we only show it in a popover.

In summary:

  • for observation identifications and comments that have an attribute hidden: true, do not render their content normally, rather display a message Content Hidden that can be localized to the viewing user's locale
  • (optional) optionally include somewhere information about the user that hid the content (i.e. created the moderator_action), the date they were hidden, and the reason they were hidden
@alexshepard alexshepard added this to the 3.3 milestone Sep 27, 2023
@alexshepard alexshepard modified the milestones: 3.3, 3.4 Oct 18, 2023
@alexshepard alexshepard modified the milestones: 3.4, 3.3.1 Oct 25, 2023
alexshepard added a commit that referenced this issue Oct 31, 2023
@alexshepard alexshepard modified the milestones: 3.3.1, 3.3.2 Nov 9, 2023
@alexshepard alexshepard removed the ready label Nov 9, 2023
@alexshepard
Copy link
Contributor

alexshepard commented Dec 13, 2023

  • show the text "Content Hidden" instead of the content
  • if you tap the content, show an alert saying "Content Hidden" and " Content hidden by <moderator> on <date> because: "<reason>". there should be an OK button to dismiss the alert. if the moderated content was created by the viewer, they should also see a button to contact support, which will take them to a link that Tony will provide in slack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants