unicef / iogt

BSD 2-Clause "Simplified" License
25 stars 35 forks source link

Comments which are posted once, and appear on the public site once, are visible several times in the Admin Panel Comments area, and in Community Comment Moderation #1601

Open cbunicef opened 1 year ago

cbunicef commented 1 year ago

Observed on internetofgoodthings.org when commenting on https://www.internetofgoodthings.org/en/sandbox/djibouti-youth-ambassadors-against-fgm/youth-against-fgm-community-forum-article/introduce-yourself-section/introduce-yourself/

On the public site:

image

In Admin Panel comments:

image

In Community Comment Moderation:

image

istride commented 5 months ago

It is not clear from the admin panel that two of the three duplicated comments are marked as 'is removed' - this can be seen from the edit page for each comment. The public-facing site does take this into account and filters out the two comments that are marked as removed and that is why we only see one instance of it there.

The admin panel comments area shows comments regardless of whether 'is removed' is set. The filter option "By flagged for removal" is linked to flags on comments, which are separate from the 'is removed' field. Likewise, the community comment moderation feature is not taking 'is removed' into account when showing comments.

The comments features of IoGT are composed of several comment modules (django_comments, django_comments_xtd, IoGT comments) which are presenting a confusing mix of somewhat overlapping mechanisms to show/hide comments. The situation might be improved by making the following changes: