inaturalist / iNaturalistAndroid

Android app for iNaturalist.org
https://market.android.com/details?id=org.inaturalist.android
MIT License
155 stars 56 forks source link

Treatment for hidden identifications and comments #1309

Closed pleary closed 7 months ago

pleary commented 9 months ago

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: