decaporg / decaporg/decap-cms

Feature Request: Comment Moderation UI

Open
#314 4 comments 6 reactions 0 assignees View on GitHub
area: api kind: discussion kind: feature pinned
Dominant language
JavaScript
Stars
19.4k
Forks
3.1k
Avg merge
1d 14h
Merged PRs (30d)
9

Description

Hey team, we really should integrate managing comments from within the CMS.

The way WordPress allows to moderate comments is ideal, where comments are ordered in a chronological way. What's more, having the following options for every comment would be a minimum requirement to manage comments in a proper way (there's more below).

Unapprove \ Edit \ Spam \ Delete

![comments-wp](https://cloud.githubusercontent.com/assets/4224281/24164548/66bca78e-0e6e-11e7-88cd-5b7eda786c6f.png)

In a perfect world, we have all of the following options:

- [x] Ordering comments in a chronological way
- [ ] Show the options _Unapprove_ \ _Edit_ \ _Spam_ \ _Delete_ beneath all comments,
- [x] Add a checkbox beside all comments
- [ ] Provide bulk actions to trash or spam multiple comments at once
- [ ] Show the commentator's IP address and email addresses
- [ ] Add a search field so that we can search for certain keywords or links, IP addresses, email addresses,
- [x] There should also be an input field through which we can define which keywords, email addresses or URLs need to be to automatically blacklisted (that will automatically be deleted)
- [x] Comments that contain at least one link should be pending by default so that they won't show up unless we have them approved manually
- [ ] If we want to be really cool, we could also whitelist links to certain websites e.g. such Codepen.io, Medium.com, css-tricks, netlify.com, youname.it

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by locating the CMS comment-management entry point and narrow the broad checklist to a defined first milestone; done should mean the selected moderation actions and ordering behavior work together in the UI and are covered by appropriate tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
content, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.