mirror of
https://github.com/vector-im/element-web.git
synced 2024-12-01 15:11:11 +08:00
d9a61c093c
* split SettingsSection out of SettingsTab, replace usage * correct copyright * use semantic headings in GeneralRoomSettingsTab * use SettingsTab and SettingsSubsection in room settings * fix VoipRoomSettingsTab * use SettingsSection components in space settings * settingssubsection text component * use semantic headings in HelpUserSetttings tab * use ExternalLink components for external links * test * strict * lint * semantic heading in labs settings * semantic headings in keyboard settings tab * semantic heading in preferencesusersettingstab * tidying * use new settings components in eventindexpanel * findByTestId * prettier * semantic headings and style refresh for crypto settings * e2e panel * test cross signing panel * strict * more strict * tweak * test eventindexpanel * strict fixes
67 lines
1.9 KiB
Plaintext
67 lines
1.9 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`<EventIndexPanel /> when event index is initialised renders event index information 1`] = `
|
|
<div>
|
|
<div
|
|
class="mx_SettingsSubsection_text"
|
|
>
|
|
Securely cache encrypted messages locally for them to appear in search results, using 0 Bytes to store messages from 0 rooms.
|
|
</div>
|
|
<div
|
|
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
Manage
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`<EventIndexPanel /> when event indexing is not supported renders link to download a desktop client 1`] = `
|
|
<div>
|
|
<div
|
|
class="mx_SettingsSubsection_text"
|
|
>
|
|
<span>
|
|
Element can't securely cache encrypted messages locally while running in a web browser. Use
|
|
<a
|
|
class="mx_ExternalLink"
|
|
href="https://element.io/get-started"
|
|
rel="noreferrer noopener"
|
|
target="_blank"
|
|
>
|
|
Element Desktop
|
|
<i
|
|
class="mx_ExternalLink_icon"
|
|
/>
|
|
</a>
|
|
for encrypted messages to appear in search results.
|
|
</span>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`<EventIndexPanel /> when event indexing is supported but not installed renders link to install seshat 1`] = `
|
|
<div>
|
|
<div
|
|
class="mx_SettingsSubsection_text"
|
|
>
|
|
<span>
|
|
Element is missing some components required for securely caching encrypted messages locally. If you'd like to experiment with this feature, build a custom Element Desktop with
|
|
<a
|
|
class="mx_ExternalLink"
|
|
href="https://github.com/vector-im/element-desktop/blob/develop/docs/native-node-modules.md#adding-seshat-for-search-in-e2e-encrypted-rooms"
|
|
rel="noreferrer noopener"
|
|
target="_blank"
|
|
>
|
|
search components added
|
|
<i
|
|
class="mx_ExternalLink_icon"
|
|
/>
|
|
</a>
|
|
.
|
|
</span>
|
|
</div>
|
|
</div>
|
|
`;
|