diff --git a/webapp/channels/src/components/admin_console/__snapshots__/custom_enable_disable_guest_accounts_setting.test.tsx.snap b/webapp/channels/src/components/admin_console/__snapshots__/custom_enable_disable_guest_accounts_setting.test.tsx.snap
index 4cbc997cbb3..1a64f9d6793 100644
--- a/webapp/channels/src/components/admin_console/__snapshots__/custom_enable_disable_guest_accounts_setting.test.tsx.snap
+++ b/webapp/channels/src/components/admin_console/__snapshots__/custom_enable_disable_guest_accounts_setting.test.tsx.snap
@@ -47,17 +47,13 @@ exports[`components/AdminConsole/CustomEnableDisableGuestAccountsSetting renders
class="help-text"
data-testid="MySettinghelp-text"
>
-
- When true, external guest can be invited to channels within teams. Please see
-
- Permissions Schemes
-
- for which roles can invite guests.
-
+ When true, external guest can be invited to channels within teams. Please see
+
+ Permissions Schemes
+
+ for which roles can invite guests.
@@ -111,17 +107,13 @@ exports[`components/AdminConsole/CustomEnableDisableGuestAccountsSetting renders
class="help-text"
data-testid="MySettinghelp-text"
>
-
- When true, external guest can be invited to channels within teams. Please see
-
- Permissions Schemes
-
- for which roles can invite guests.
-
+ When true, external guest can be invited to channels within teams. Please see
+
+ Permissions Schemes
+
+ for which roles can invite guests.
diff --git a/webapp/channels/src/components/admin_console/custom_enable_disable_guest_accounts_setting.tsx b/webapp/channels/src/components/admin_console/custom_enable_disable_guest_accounts_setting.tsx
index 728fdca543a..12d12d29502 100644
--- a/webapp/channels/src/components/admin_console/custom_enable_disable_guest_accounts_setting.tsx
+++ b/webapp/channels/src/components/admin_console/custom_enable_disable_guest_accounts_setting.tsx
@@ -3,9 +3,9 @@
import React, {useCallback} from 'react';
import {FormattedMessage} from 'react-intl';
+import {Link} from 'react-router-dom';
import ConfirmModal from 'components/confirm_modal';
-import FormattedMarkdownMessage from 'components/formatted_markdown_message';
import BooleanSetting from './boolean_setting';
@@ -54,9 +54,12 @@ const CustomEnableDisableGuestAccountsSetting = ({
);
const helpText = (
- {chunks},
+ }}
/>
);
diff --git a/webapp/channels/src/components/delete_channel_modal/__snapshots__/delete_channel_modal.test.tsx.snap b/webapp/channels/src/components/delete_channel_modal/__snapshots__/delete_channel_modal.test.tsx.snap
index 7f8412b74da..d6224283f0d 100644
--- a/webapp/channels/src/components/delete_channel_modal/__snapshots__/delete_channel_modal.test.tsx.snap
+++ b/webapp/channels/src/components/delete_channel_modal/__snapshots__/delete_channel_modal.test.tsx.snap
@@ -54,15 +54,24 @@ exports[`components/delete_channel_modal should match snapshot for delete_channe
-
+
+
+
+
+ />
+
{!canViewArchivedChannels &&
- }
+ <>
+
+
+
+
+ {chunks},
+ }}
+ />
+
+ >
+ }
{canViewArchivedChannels &&
- }
+ <>
+
+
+
+
+ {chunks},
+ }}
+ />
+
+ >
+ }
diff --git a/webapp/channels/src/components/signup/__snapshots__/signup.test.tsx.snap b/webapp/channels/src/components/signup/__snapshots__/signup.test.tsx.snap
index d983991abe8..57cbd55f884 100644
--- a/webapp/channels/src/components/signup/__snapshots__/signup.test.tsx.snap
+++ b/webapp/channels/src/components/signup/__snapshots__/signup.test.tsx.snap
@@ -231,14 +231,14 @@ exports[`components/signup/Signup should match snapshot for all signup options e
-
@@ -450,14 +450,14 @@ exports[`components/signup/Signup should match snapshot for all signup options e
-
diff --git a/webapp/channels/src/components/signup/signup.tsx b/webapp/channels/src/components/signup/signup.tsx
index b0a2874df83..708cea159c6 100644
--- a/webapp/channels/src/components/signup/signup.tsx
+++ b/webapp/channels/src/components/signup/signup.tsx
@@ -5,7 +5,7 @@ import classNames from 'classnames';
import throttle from 'lodash/throttle';
import React, {useState, useEffect, useRef, useCallback} from 'react';
import type {FocusEvent} from 'react';
-import {useIntl} from 'react-intl';
+import {FormattedMessage, useIntl} from 'react-intl';
import {useSelector, useDispatch} from 'react-redux';
import {useLocation, useHistory, Route} from 'react-router-dom';
@@ -36,7 +36,6 @@ import DesktopAuthToken from 'components/desktop_auth_token';
import ExternalLink from 'components/external_link';
import ExternalLoginButton from 'components/external_login_button/external_login_button';
import type {ExternalLoginButtonType} from 'components/external_login_button/external_login_button';
-import FormattedMarkdownMessage from 'components/formatted_markdown_message';
import AlternateLinkLayout from 'components/header_footer_route/content_layouts/alternate_link';
import ColumnLayout from 'components/header_footer_route/content_layouts/column';
import type {CustomizeHeaderType} from 'components/header_footer_route/header_footer_route';
@@ -893,13 +892,27 @@ const Signup = ({onCustomizeHeader}: SignupProps) => {
)}
{enableSignUpWithEmail && !serverError && (
diff --git a/webapp/channels/src/components/threading/virtualized_thread_viewer/create_comment.tsx b/webapp/channels/src/components/threading/virtualized_thread_viewer/create_comment.tsx
index 97a284ce8d2..f8b0db1d548 100644
--- a/webapp/channels/src/components/threading/virtualized_thread_viewer/create_comment.tsx
+++ b/webapp/channels/src/components/threading/virtualized_thread_viewer/create_comment.tsx
@@ -2,6 +2,7 @@
// See LICENSE.txt for license information.
import React, {memo, forwardRef, useMemo} from 'react';
+import {FormattedMessage} from 'react-intl';
import {useSelector} from 'react-redux';
import {ArchiveOutlineIcon} from '@mattermost/compass-icons/components';
@@ -11,7 +12,6 @@ import {makeGetChannel} from 'mattermost-redux/selectors/entities/channels';
import {getPost, getLimitedViews} from 'mattermost-redux/selectors/entities/posts';
import AdvancedCreateComment from 'components/advanced_create_comment';
-import FormattedMarkdownMessage from 'components/formatted_markdown_message';
import BasicSeparator from 'components/widgets/separator/basic-separator';
import Constants from 'utils/constants';
@@ -53,9 +53,12 @@ const CreateComment = forwardRef(({
- {chunks},
+ }}
/>
);
@@ -74,9 +77,12 @@ const CreateComment = forwardRef(({
size={20}
color={'rgba(var(--center-channel-color-rgb), 0.75)'}
/>
- {chunks},
+ }}
/>
diff --git a/webapp/channels/src/i18n/en.json b/webapp/channels/src/i18n/en.json
index a5819a97491..4eee0d89a99 100644
--- a/webapp/channels/src/i18n/en.json
+++ b/webapp/channels/src/i18n/en.json
@@ -1119,8 +1119,8 @@
"admin.guest_access.disableConfirmMessage": "Disabling guest access will revoke all current Guest Account sessions. Guests will no longer be able to login and new guests cannot be invited into Mattermost. Guest users will be marked as inactive in user lists. Enabling this feature will not reinstate previous guest accounts. Are you sure you wish to remove these users?",
"admin.guest_access.disableConfirmTitle": "Save and Disable Guest Access?",
"admin.guest_access.disableConfirmWarning": "All current guest account sessions will be revoked, and marked as inactive",
- "admin.guest_access.enableDescription": "When true, external guest can be invited to channels within teams. Please see [Permissions Schemes](../user_management/permissions/system_scheme) for which roles can invite guests.",
"admin.guest_access.enableTitle": "Enable Guest Access: ",
+ "admin.guest_access.helpText": "When true, external guest can be invited to channels within teams. Please see Permissions Schemes for which roles can invite guests.",
"admin.guest_access.hideTags": "Hide guest tag",
"admin.guest_access.hideTagsDescription": "When true, the \"guest\" tag will not be shown next to the name of all guest users in the Mattermost chat interface.",
"admin.guest_access.mfaDescription": "When true, multi-factor authentication for guests is required for login. New guest users will be required to configure MFA on signup. Logged in guest users without MFA configured are redirected to the MFA setup page until configuration is complete.\n \nIf your system has guest users with login methods other than AD/LDAP and email, MFA must be enforced with the authentication provider outside of Mattermost.",
@@ -3455,7 +3455,6 @@
"create_post.send_message": "Send a message",
"create_post.shortcutsNotSupported": "Keyboard shortcuts are not supported on your device.",
"create_post.write": "Write to {channelDisplayName}",
- "create_team.agreement": "By proceeding to create your account and use {siteName}, you agree to our [Terms of Use]({TermsOfServiceLink}) and [Privacy Policy]({PrivacyPolicyLink}). If you do not agree, you cannot use {siteName}.",
"create_team.createTeamRestricted.message": "Your workspace plan has reached the limit on the number of teams. Create unlimited teams with a free 30-day trial. Contact your System Administrator.",
"create_team.createTeamRestricted.title": "Professional feature",
"create_team.display_name.charLength": "Name must be {min} or more characters up to a maximum of {max}. You can add a longer team description later.",
@@ -3476,6 +3475,8 @@
"create_team.team_url.teamUrl": "Team URL",
"create_team.team_url.unavailable": "This URL is taken or unavailable. Please try another.",
"create_team.team_url.webAddress": "Choose the web address of your new team:",
+ "createComment.threadFromArchivedChannelMessage": "You are viewing a thread from an archived channel. New messages cannot be posted.",
+ "createComment.threadFromDeactivatedUserMessage": "You are viewing an archived channel with a deactivated user. New messages cannot be posted.",
"custom_emoji.header": "Custom Emoji",
"custom_status.expiry_dropdown.choose_date_and_time": "Choose date and time",
"custom_status.expiry_dropdown.clear_after": "Clear after",
@@ -3519,8 +3520,6 @@
"delete_channel.cancel": "Cancel",
"delete_channel.confirm": "Confirm ARCHIVE Channel",
"delete_channel.del": "Archive",
- "delete_channel.question": "This will archive the channel from the team and remove it from the user interface. Archived channels can be unarchived if needed again. \n \nAre you sure you wish to archive the {display_name} channel?",
- "delete_channel.viewArchived.question": "This will archive the channel from the team. Channel contents will still be accessible by channel members.\n \nAre you sure you wish to archive the **{display_name}** channel?",
"delete_post.cancel": "Cancel",
"delete_post.confirm_comment": "Confirm Comment Delete",
"delete_post.confirm_post": "Confirm Post Delete",
@@ -3532,6 +3531,9 @@
"delete_post.shared_channel_warning.title": "Shared Channel",
"delete_post.warning": "This message has {count, number} {count, plural, one {comment} other {comments}} on it.",
"delete_success_modal.button_text": "Go to mattermost.com",
+ "deleteChannelModal.cannotViewArchivedChannelsWarning": "This will archive the channel from the team and remove it from the user interface. Archived channels can be unarchived if needed again.",
+ "deleteChannelModal.canViewArchivedChannelsWarning": "This will archive the channel from the team. Channel contents will still be accessible by channel members.",
+ "deleteChannelModal.confirmArchive": "Are you sure you wish to archive the {display_name} channel?",
"demote_to_user_modal.demote": "Demote",
"demote_to_user_modal.desc": "This action demotes the user {username} to a guest. It will restrict the user's ability to join public channels and interact with users outside of the channels they are currently members of. Are you sure you want to demote user {username} to guest?",
"demote_to_user_modal.title": "Demote User {username} to Guest",
@@ -5112,6 +5114,7 @@
"signup_user_completed.userHelp": "You can use lowercase letters, numbers, periods, dashes, and underscores.",
"signup_user_completed.usernameLength": "Usernames have to begin with a lowercase letter and be {min}-{max} characters long. You can use lowercase letters, numbers, periods, dashes, and underscores.",
"signup_user_completed.validEmail": "Please enter a valid email address",
+ "signup.agreement": "By proceeding to create your account and use {siteName}, you agree to our Terms of Use and Privacy Policy. If you do not agree, you cannot use {siteName}.",
"signup.ldap": "AD/LDAP Credentials",
"single_image_view.copied_link_tooltip": "Copied",
"single_image_view.copy_link_tooltip": "Copy link",
@@ -5249,7 +5252,6 @@
"textbox.preview": "Preview",
"textbox.quote": ">quote",
"textbox.strike": "strike",
- "threadFromArchivedChannelMessage": "You are viewing a thread from an **archived channel**. New messages cannot be posted.",
"threading.filters.unreads": "Unreads",
"threading.following": "Following",
"threading.footer.lastReplyAt": "Last reply {formatted}",