Skip to main content

FEATURE_FLAG

No description

enum FEATURE_FLAG {
SECTIONS
DISABLE_WARN_USER_OF_TOXIC_COMMENT
ENABLE_QA
DEFAULT_QA_STORY_MODE
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
DISABLE_LIVE_UPDATES
EMAIL_META
COMMENT_SEEN
Z_KEY
CONFIGURE_PUBLIC_PROFILE_URL
DATA_CACHE
COUNTS_V2
}

Values

FEATURE_FLAG.SECTIONS

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

FEATURE_FLAG.DISABLE_WARN_USER_OF_TOXIC_COMMENT

DISABLE_WARN_USER_OF_TOXIC_COMMENT when enabled will turn off warnings for toxic comments.

FEATURE_FLAG.ENABLE_QA

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

FEATURE_FLAG.DEFAULT_QA_STORY_MODE

DEFAULT_QA_STORY_MODE will set the story mode to QA by default.

FEATURE_FLAG.REDUCED_SECURITY_MODE

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

FEATURE_FLAG.DISCUSSIONS

DISCUSSIONS will enable the discussions tab for the comment stream.

FEATURE_FLAG.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.

FEATURE_FLAG.AVATARS

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

FEATURE_FLAG.NEW_COMMENT_COUNT

NEW_COMMENT_COUNT enables the comment count update feature.

FEATURE_FLAG.EXTERNAL_MEDIA

EXTERNAL_MEDIA enables embedding external images

FEATURE_FLAG.RTE_SARCASM

RTE_SARCASM enables sarcasm RTE feature

FEATURE_FLAG.VIEWER_COUNT

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

FEATURE_FLAG.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.

FEATURE_FLAG.ENABLE_RATINGS_AND_REVIEWS

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

FEATURE_FLAG.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.

FEATURE_FLAG.EMAIL_META

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

FEATURE_FLAG.COMMENT_SEEN

COMMENT_SEEN will mark comment that has been seen/unseen.

FEATURE_FLAG.Z_KEY

Z_KEY will allow Z key traversal and the mobile toolbar.

FEATURE_FLAG.CONFIGURE_PUBLIC_PROFILE_URL

CONFIGURE_PUBLIC_PROFILE_URL will allow configuration in the admin of a link to an external profile for a user.

FEATURE_FLAG.DATA_CACHE

DATA_CACHE will allow the use of the data cache to store and load comments, users, and commentActions more quickly. It is disabled by default.

FEATURE_FLAG.COUNTS_V2

COUNTS_V2 will allow the use of the new /counts/v2 api endpoint to retrieve story comment counts.

Member Of

DisableFeatureFlagInput input ● DisableFeatureFlagPayload object ● EnableFeatureFlagInput input ● EnableFeatureFlagPayload object ● Settings object