From 988939521eeb5a356ed19e558fba43c7ded04e6b Mon Sep 17 00:00:00 2001 From: Maria A Nunez Date: Wed, 31 Jul 2024 10:57:51 -0400 Subject: [PATCH] Rename CRT to Threaded Discussions (#27755) Automatic Merge --- .../admin_console/admin_definition.tsx | 6 ++-- .../user_settings_display.test.tsx.snap | 28 +++++++++---------- .../display/user_settings_display.tsx | 2 +- webapp/channels/src/i18n/en.json | 8 +++--- 4 files changed, 22 insertions(+), 22 deletions(-) diff --git a/webapp/channels/src/components/admin_console/admin_definition.tsx b/webapp/channels/src/components/admin_console/admin_definition.tsx index ba25e94c74..187451ae43 100644 --- a/webapp/channels/src/components/admin_console/admin_definition.tsx +++ b/webapp/channels/src/components/admin_console/admin_definition.tsx @@ -2515,7 +2515,7 @@ const AdminDefinition: AdminDefinitionType = { type: 'bool', key: 'ServiceSettings.ThreadAutoFollow', label: defineMessage({id: 'admin.experimental.threadAutoFollow.title', defaultMessage: 'Automatically Follow Threads'}), - help_text: defineMessage({id: 'admin.experimental.threadAutoFollow.desc', defaultMessage: 'This setting must be enabled in order to enable Collapsed Reply Threads. When enabled, threads a user starts, participates in, or is mentioned in are automatically followed. A new `Threads` table is added in the database that tracks threads and thread participants, and a `ThreadMembership` table tracks followed threads for each user and the read or unread state of each followed thread. When false, all backend operations to support Collapsed Reply Threads are disabled.'}), + help_text: defineMessage({id: 'admin.experimental.threadAutoFollow.desc', defaultMessage: 'This setting must be enabled in order to enable Threaded Discussions. When enabled, threads a user starts, participates in, or is mentioned in are automatically followed. A new `Threads` table is added in the database that tracks threads and thread participants, and a `ThreadMembership` table tracks followed threads for each user and the read or unread state of each followed thread. When false, all backend operations to support Threaded Discussions are disabled.'}), help_text_markdown: true, isDisabled: it.not(it.userHasWritePermissionOnResource(RESOURCE_KEYS.EXPERIMENTAL.FEATURES)), isHidden: it.licensedForFeature('Cloud'), @@ -2523,8 +2523,8 @@ const AdminDefinition: AdminDefinitionType = { { type: 'dropdown', key: 'ServiceSettings.CollapsedThreads', - label: defineMessage({id: 'admin.experimental.collapsedThreads.title', defaultMessage: 'Collapsed Reply Threads'}), - help_text: defineMessage({id: 'admin.experimental.collapsedThreads.desc', defaultMessage: 'When enabled (default off), users must enable collapsed reply threads in Settings. When disabled, users cannot access Collapsed Reply Threads. Please review our documentation for known issues and help provide feedback in our Community Channel.'}), + label: defineMessage({id: 'admin.experimental.collapsedThreads.title', defaultMessage: 'Threaded Discussions'}), + help_text: defineMessage({id: 'admin.experimental.collapsedThreads.desc', defaultMessage: 'When enabled (default off), users must enable Threaded Discussions in Settings. When disabled, users cannot access Threaded Discussions. Please review our documentation for known issues and help provide feedback in our Community Channel.'}), help_text_values: { linkKnownIssues: (msg: string) => ( } @@ -390,7 +390,7 @@ exports[`components/user_settings/display/UserSettingsDisplay should match snaps section="collapsed_reply_threads" title={ } @@ -743,7 +743,7 @@ exports[`components/user_settings/display/UserSettingsDisplay should match snaps section="collapsed_reply_threads" title={ } @@ -1096,7 +1096,7 @@ exports[`components/user_settings/display/UserSettingsDisplay should match snaps section="collapsed_reply_threads" title={ } @@ -1449,7 +1449,7 @@ exports[`components/user_settings/display/UserSettingsDisplay should match snaps section="collapsed_reply_threads" title={ } @@ -1729,7 +1729,7 @@ exports[`components/user_settings/display/UserSettingsDisplay should match snaps section="collapsed_reply_threads" title={ } @@ -1991,7 +1991,7 @@ exports[`components/user_settings/display/UserSettingsDisplay should match snaps section="collapsed_reply_threads" title={ } @@ -2344,7 +2344,7 @@ exports[`components/user_settings/display/UserSettingsDisplay should match snaps section="collapsed_reply_threads" title={ } @@ -2715,7 +2715,7 @@ exports[`components/user_settings/display/UserSettingsDisplay should match snaps section="collapsed_reply_threads" title={ } @@ -2995,7 +2995,7 @@ exports[`components/user_settings/display/UserSettingsDisplay should match snaps section="collapsed_reply_threads" title={ } @@ -3275,7 +3275,7 @@ exports[`components/user_settings/display/UserSettingsDisplay should match snaps section="collapsed_reply_threads" title={ } @@ -3568,7 +3568,7 @@ exports[`components/user_settings/display/UserSettingsDisplay should match snaps section="collapsed_reply_threads" title={ } @@ -3848,7 +3848,7 @@ exports[`components/user_settings/display/UserSettingsDisplay should match snaps section="collapsed_reply_threads" title={ } @@ -4128,7 +4128,7 @@ exports[`components/user_settings/display/UserSettingsDisplay should not show la section="collapsed_reply_threads" title={ } diff --git a/webapp/channels/src/components/user_settings/display/user_settings_display.tsx b/webapp/channels/src/components/user_settings/display/user_settings_display.tsx index 018bde5225..15c75d4ab8 100644 --- a/webapp/channels/src/components/user_settings/display/user_settings_display.tsx +++ b/webapp/channels/src/components/user_settings/display/user_settings_display.tsx @@ -968,7 +968,7 @@ export default class UserSettingsDisplay extends React.PureComponent