From 347ca15f8d12df170989da5209491b975c31e4e7 Mon Sep 17 00:00:00 2001 From: Aditi Patel Date: Thu, 17 Oct 2024 05:29:15 -0500 Subject: [PATCH] [MM-60858] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/commercial_support_modal/commercial_support_modal.tsx' with FormattedMessage (#28737) --- .../commercial_support_modal.test.tsx.snap | 30 +++++++++------ .../commercial_support_modal.tsx | 38 +++++++++++++------ webapp/channels/src/i18n/en.json | 6 +-- 3 files changed, 48 insertions(+), 26 deletions(-) diff --git a/webapp/channels/src/components/commercial_support_modal/__snapshots__/commercial_support_modal.test.tsx.snap b/webapp/channels/src/components/commercial_support_modal/__snapshots__/commercial_support_modal.test.tsx.snap index e50a9f88ef..62c963d8ae 100644 --- a/webapp/channels/src/components/commercial_support_modal/__snapshots__/commercial_support_modal.test.tsx.snap +++ b/webapp/channels/src/components/commercial_support_modal/__snapshots__/commercial_support_modal.test.tsx.snap @@ -51,20 +51,26 @@ exports[`components/CommercialSupportModal should match snapshot 1`] = `
- } mode="info" @@ -73,10 +79,12 @@ exports[`components/CommercialSupportModal should match snapshot 1`] = `
- + + +
- submit a support ticket. To help with troubleshooting, it\'s recommended to download the Support Packet below that includes more details about your Mattermost environment.'} values={{ - supportLink, + supportLink: (chunks: string) => ( + + {chunks} + + ), }} /> {showBannerWarning && {chunks}, + debugLink: (chunks: string) => {chunks}, + }} /> } onDismiss={this.hideBannerWarning} /> }
- + + +
{this.state.packetContents.map((item, index) => (
submit a support ticket. To help with troubleshooting, it's recommended to download the Support Packet below that includes more details about your Mattermost environment.", + "commercial_support_modal.download_contents": "Select your Support Packet contents to download", + "commercial_support_modal.warning.banner": "Before downloading the Support Packet, set Output Logs to File to true and set File Log Level to DEBUG here.", "commercial_support.download_support_packet": "Download Support Packet", "commercial_support.title": "Commercial Support", - "commercial_support.warning.banner": "Before downloading the Support Packet, set **Output Logs to File** to **true** and set **File Log Level** to **DEBUG** [here](!/admin_console/environment/logging).", "confirm_modal.cancel": "Cancel", "confirm_switch_to_yearly_modal.confirm": "Confirm", "confirm_switch_to_yearly_modal.contact_sales": "Contact Sales",