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 media #670

Open
2 tasks
pleary opened this issue Sep 27, 2023 · 0 comments
Open
2 tasks

Treatment for hidden media #670

pleary opened this issue Sep 27, 2023 · 0 comments
Milestone

Comments

@pleary
Copy link
Member

pleary commented Sep 27, 2023

The website recently released a feature where curators can hide photos and sounds by using ModeratorActions. On the website we replace the media with a message saying "Content Hidden" which users can click to open a popover showing who hid the content, when it was hidden, and the message left by the curator as to why it was hidden. Ideally mobile apps implement at least the "Content Hidden" message for hidden media.

I made a test observation https://www.inaturalist.org/observations/185148530 which has a hidden photo, a hidden sound, as well as a hidden identification, and a hidden comment (these latter two will have separate tickets). In the API response for this observation, the media 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. Similar to images hidden for copyright violations, image URLs for hidden images are replaced with a placeholder saying the media was hidden. This is a fixed replacement image with English text that is not internationalized.

Ideally hidden media 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 media that have an attribute hidden: true, do not render the image represented by their url, 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 media (i.e. created the moderator_action), the date the media was hidden, and the reason the media was 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants