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

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 this issue May 4, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@cbunicef
Copy link
Collaborator

cbunicef commented May 4, 2023

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

@cbunicef cbunicef added the bug Something isn't working label May 4, 2023
@istride
Copy link
Contributor

istride commented May 15, 2024

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:

  • treat the 'is removed' field as an indication of whether a comment is deleted; don't show deleted comments anywhere, by default
  • add a filter to the admin panel comments area to allow deleted comments to be displayed, if required
  • stop showing deleted comments in Community Comment Moderation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants