Use a dedicated FAQ/help entry for key storage. (#32480)

* Use a dedicated FAQ/help entry for key storage.

* Update tests.
This commit is contained in:
mxandreas 2026-02-13 03:58:06 +02:00 committed by GitHub
parent 7fce635cc5
commit ca2ea791b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 7 additions and 4 deletions

View File

@ -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`

View File

@ -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?: {

View File

@ -19,6 +19,7 @@ export const DEFAULTS: DeepReadonly<IConfigOptions> = {
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",

View File

@ -61,7 +61,7 @@ export default class ConfirmKeyStorageOffDialog extends React.Component<Props> {
a: (sub) => (
<>
<br />
<a href={SdkConfig.get("help_encryption_url")} target="_blank" rel="noreferrer noopener">
<a href={SdkConfig.get("help_key_storage_url")} target="_blank" rel="noreferrer noopener">
{sub} <PopOutIcon />
</a>
</>

View File

@ -56,7 +56,7 @@ export const KeyStoragePanel: React.FC<Props> = ({ onKeyStorageDisableClick }) =
}
subHeading={_t("settings|encryption|key_storage|description", undefined, {
a: (sub) => (
<a href={SdkConfig.get("help_encryption_url")} target="_blank" rel="noreferrer noopener">
<a href={SdkConfig.get("help_key_storage_url")} target="_blank" rel="noreferrer noopener">
{sub}
</a>
),

View File

@ -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.
<br />
<a
href="https://element.io/help#encryption"
href="https://element.io/help#encryption5"
rel="noreferrer noopener"
target="_blank"
>