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
6 changed files with 7 additions and 4 deletions
+1
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?: {
+1
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",
@@ -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>
</>
@@ -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>
),