Important Note: We have moved the Flag Details section of comments in the Admin to a plugin; you will need to add talk-plugin-flag-details to your plugins.json file in order to ensure this functionality remains for you; for more information on managing plugins, please see our plugin docs: https://coralproject.github.io/talk/plugins/
Plugins
- Introducing Toxic Comments! ☠️
- Levering Google's Perspective API, you can now set a Toxicity Threshold for Talk (0.8 or 80% is the default), which works like this:
- If a comment exceeds the threshold, the commenter is warned that their comment may be toxic, and are given the chance to modify their comment before posting
- If the revised comment is below the Toxicity Threshold, it is posted and displayed normally
- If the revised comment still exceeds the Toxicity Threshold, it is not displayed on the stream and instead is sent to the Reported queue for moderation
- If the moderator accepts the comment, it's displayed on the stream; if it's rejected, it will not be displayed
- Moderators see a Toxic Probability Score on toxic comments in the Moderation queues
- How to activate and use the plugin:
- You can turn on this plugin by including
talk-plugin-toxic-comments(as well astalk-plugin-flag-details, see above) in yourplugins.json - Environment variables for configuration:
TALK_PERSPECTIVE_API_KEY(required)TALK_TOXICITY_THRESHOLD(optional, default0.8)TALK_PERSPECTIVE_API_ENDPOINT(optional, defaulthttps://commentanalyzer.googleapis.com/v1alpha1)TALK_PERSPECTIVE_TIMEOUT(optional, default300)
- Note: this is a beta plugin and will see a lot of changes/improvement in the coming weeks)
- You can turn on this plugin by including
- Read more about The Coral Project's take on Toxic Comments and machine-learning-based moderation here
- Read more about Google's Perspective API and/or request an API key here
Features
- Moderators are now alerted via a red dot indicator in the Admin if there are new Reported comments or usernames that need their attention
- The New queue automatically updates with a Load More button when there are brand new comments
Plugin Support
- New slots
commentTimestampandhistoryCommentTimestampto allow replacing the comment date e.g. 10 minutes ago with a custom timestamp display component
Dev Support
- We've done an overhaul of our Developer Docs, check them out here: https://coralproject.github.io/talk/ 🎉
- Cleanup missing and unused dependencies
- Updates to missing CSS classnames for action buttons and other elements on the stream (see #984 for full details and classnames)
Fixes & Enhancements
- Remove count from View Replies button and update copy for Load More button on the stream
- Fix some issues with users resetting their password
- Use
commentContentslot for Featured Comments (allows rich text and linkified urls) - Fix bugs with keyboard shortcuts for Moderators