diff --git a/docs/config.md b/docs/config.md index cd07e13774..a77884c212 100644 --- a/docs/config.md +++ b/docs/config.md @@ -160,7 +160,8 @@ complete re-branding/private labeling, a more personalised experience can be ach 3. `show_once`: Optional. If true then the notice will only be shown once per device. 19. `help_url`: The URL to point users to for help with the app, defaults to `https://element.io/help`. 20. `help_encryption_url`: The URL to point users to for help with encryption, defaults to `https://element.io/help#encryption`. -21. `force_verification`: If true, users must verify new logins (eg. with another device / their recovery key) +21. `help_key_storage_url`: The URL to point users to for help with key storage, defaults to `https://element.io/help#encryption5`. +22. `force_verification`: If true, users must verify new logins (eg. with another device / their recovery key) ### `desktop_builds` and `mobile_builds` diff --git a/src/IConfigOptions.ts b/src/IConfigOptions.ts index 8dcf5383eb..fa9fd45c0a 100644 --- a/src/IConfigOptions.ts +++ b/src/IConfigOptions.ts @@ -160,6 +160,7 @@ export interface IConfigOptions { terms_and_conditions_links?: { url: string; text: string }[]; help_url: string; help_encryption_url: string; + help_key_storage_url: string; latex_maths_delims?: { inline?: { diff --git a/src/SdkConfig.ts b/src/SdkConfig.ts index ab921bedc5..f4b95fa4f9 100644 --- a/src/SdkConfig.ts +++ b/src/SdkConfig.ts @@ -19,6 +19,7 @@ export const DEFAULTS: DeepReadonly = { brand: "Element", help_url: "https://element.io/help", help_encryption_url: "https://element.io/help#encryption", + help_key_storage_url: "https://element.io/help#encryption5", integrations_ui_url: "https://scalar.vector.im/", integrations_rest_url: "https://scalar.vector.im/api", uisi_autorageshake_app: "element-auto-uisi", diff --git a/src/components/views/dialogs/ConfirmKeyStorageOffDialog.tsx b/src/components/views/dialogs/ConfirmKeyStorageOffDialog.tsx index d6a5f79aeb..a395f186b0 100644 --- a/src/components/views/dialogs/ConfirmKeyStorageOffDialog.tsx +++ b/src/components/views/dialogs/ConfirmKeyStorageOffDialog.tsx @@ -61,7 +61,7 @@ export default class ConfirmKeyStorageOffDialog extends React.Component { a: (sub) => ( <>
- + {sub} diff --git a/src/components/views/settings/encryption/KeyStoragePanel.tsx b/src/components/views/settings/encryption/KeyStoragePanel.tsx index 4443232495..9f67e90f1a 100644 --- a/src/components/views/settings/encryption/KeyStoragePanel.tsx +++ b/src/components/views/settings/encryption/KeyStoragePanel.tsx @@ -56,7 +56,7 @@ export const KeyStoragePanel: React.FC = ({ onKeyStorageDisableClick }) = } subHeading={_t("settings|encryption|key_storage|description", undefined, { a: (sub) => ( - + {sub} ), diff --git a/test/unit-tests/components/views/dialogs/__snapshots__/ConfirmKeyStorageOffDialog-test.tsx.snap b/test/unit-tests/components/views/dialogs/__snapshots__/ConfirmKeyStorageOffDialog-test.tsx.snap index 18f325138c..e5bb9f3ade 100644 --- a/test/unit-tests/components/views/dialogs/__snapshots__/ConfirmKeyStorageOffDialog-test.tsx.snap +++ b/test/unit-tests/components/views/dialogs/__snapshots__/ConfirmKeyStorageOffDialog-test.tsx.snap @@ -34,7 +34,7 @@ exports[`ConfirmKeyStorageOffDialog renders 1`] = ` If you sign out of all your devices you will lose your message history and will need to verify all your existing contacts again.