From fb1b2b21edf79725d998e3eb2c78cb5bd909d105 Mon Sep 17 00:00:00 2001 From: sergeyteleshev Date: Tue, 8 Oct 2024 12:05:34 +0200 Subject: [PATCH] CB-5578 DM: Ability to remove custom certificate (#2899) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * CB-5578 handles url for redirect after custom domain is being deleted * CB-5578 reverts isValidUrl * CB-5578 pr fixes * CB-5578 fixes for QA * CB-5578 fixes for redirect on server url in custom certificate deletion * CB-5578 fix import * CB-5578 creates isValidServer file * CB-5578 allow any protocol server url but redirect on https only * CB-5578 fix error message in details popup * СB-removes unneeded tranlsation * CB-5578 pr fixes * CB-5578 dm fix for deletion of custom certificate * CB-5578 fix get https url helper * CB-5578 cleanup * CB-5578 adds status message for custom certificate deletion * CB-5578 sends server url without protocol while custom certificate deletion * CB-5578 pr fixes * CB-5578 adds loader to the deletion of custom certificate --------- Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com> Co-authored-by: Ainur Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com> --- .../ErrorDetailsDialog/ErrorDetailsDialog.tsx | 3 ++- .../core-blocks/src/StatusMessage.module.css | 5 ++++- .../packages/core-blocks/src/StatusMessage.tsx | 16 ++++++++++++---- webapp/packages/core-blocks/src/index.ts | 1 + .../packages/core-localization/src/locales/en.ts | 1 + .../packages/core-localization/src/locales/fr.ts | 1 + .../packages/core-localization/src/locales/it.ts | 1 + .../packages/core-localization/src/locales/ru.ts | 1 + .../packages/core-localization/src/locales/zh.ts | 1 + webapp/packages/core-website/src/WebsiteLinks.ts | 1 + 10 files changed, 25 insertions(+), 6 deletions(-) diff --git a/webapp/packages/core-blocks/src/ErrorDetailsDialog/ErrorDetailsDialog.tsx b/webapp/packages/core-blocks/src/ErrorDetailsDialog/ErrorDetailsDialog.tsx index 45c486a6db..51da956639 100644 --- a/webapp/packages/core-blocks/src/ErrorDetailsDialog/ErrorDetailsDialog.tsx +++ b/webapp/packages/core-blocks/src/ErrorDetailsDialog/ErrorDetailsDialog.tsx @@ -26,11 +26,12 @@ import { ErrorModel, type IErrorInfo } from './ErrorModel.js'; function DisplayErrorInfo({ error }: { error: IErrorInfo }) { const styles = useS(style); + const translate = useTranslate(); return ( <>
- {error.isHtml ?