Skip to main content

FEATURE_FLAG

No description

enum FEATURE_FLAG {  SECTIONS  DISABLE_WARN_USER_OF_TOXIC_COMMENT  ENABLE_QA  DEFAULT_QA_STORY_MODE  SITE_MODERATOR  REDUCED_SECURITY_MODE  DISCUSSIONS  READ_MORE_NEW_TAB  AVATARS  NEW_COMMENT_COUNT  EXTERNAL_MEDIA  RTE_SARCASM  VIEWER_COUNT  ALTERNATE_OLDEST_FIRST_VIEW  ENABLE_RATINGS_AND_REVIEWS  FLATTEN_REPLIES  ENABLE_AMP  DISABLE_LIVE_UPDATES  EMAIL_META  COMMENT_SEEN  FOR_REVIEW}

Values#

SECTIONS#

SECTIONS when enabled will allow filtering comments in the moderation queue by section.

DISABLE_WARN_USER_OF_TOXIC_COMMENT#

DISABLE_WARN_USER_OF_TOXIC_COMMENT when enabled will turn off warnings for toxic comments.

ENABLE_QA#

ENABLE_QA when enabled will turn off Q&A features client side.

DEFAULT_QA_STORY_MODE#

DEFAULT_QA_STORY_MODE will set the story mode to QA by default.

SITE_MODERATOR#

SITE_MODERATOR will enable the enhanced Site Moderator role by assigning a new modeartion scope to a user.

REDUCED_SECURITY_MODE#

REDUCED_SECURITY_MODE when true will allow unpersisted queries to be executed in production environments.

DISCUSSIONS#

DISCUSSIONS will enable the discussions tab for the comment stream.

READ_MORE_NEW_TAB#

READ_MORE_NEW_TAB will enable opening a new tab when a user clicks on "read more of this conversation" in the comment stream.

AVATARS#

AVATARS will enable pulling an avatar URL from sso token and displaying it next to user comments

NEW_COMMENT_COUNT#

NEW_COMMENT_COUNT enables the comment count update feature.

EXTERNAL_MEDIA#

EXTERNAL_MEDIA enables embedding external images

RTE_SARCASM#

RTE_SARCASM enables sarcasm RTE feature

VIEWER_COUNT#

VIEWER_COUNT when true will enable the display and tracking of the viewer count.

ALTERNATE_OLDEST_FIRST_VIEW#

ALTERNATE_OLDEST_FIRST_VIEW when enabled will move the create comment form to the bottom of the stream when sorting the comment stream by oldest first.

ENABLE_RATINGS_AND_REVIEWS#

ENABLE_RATINGS_AND_REVIEWS when enabled will allow for the ratings and reviews functionality to be enabled.

FLATTEN_REPLIES#

FLATTEN_REPLIES when enabled, will cause all replies that would normally be hidden by a "Show more of this conversation" button to be displayed linearly sorted by date.

ENABLE_AMP#

ENABLE_AMP will enable support for embedding Coral within AMP pages.

DISABLE_LIVE_UPDATES#

DISABLE_LIVE_UPDATES will disable live updates at the tenant level and overrides the configuration option available in the Admin UI for that tenant.

EMAIL_META#

EMAIL_META will add the email template context as a header to the SMTP as the X-Coral-Template header.

COMMENT_SEEN#

COMMENT_SEEN will mark comment that has been seen/unseen.

FOR_REVIEW#

FOR_REVIEW will add a "For Review" Queue that allows moderators to review every flag that has been put on a comment by a user. This feature shall help complying with European Law (European Directive 2000/31/CE).