Files
element-call/src/settings/__snapshots__/DeveloperSettingsTab.test.tsx.snap

444 lines
8.7 KiB
Plaintext
Raw Normal View History

2025-11-21 17:31:03 +01:00
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`DeveloperSettingsTab > renders and matches snapshot 1`] = `
<div>
2025-11-24 10:04:01 +01:00
<p>
Hostname: localhost
</p>
<p>
Element Call version: dev
</p>
<p>
Crypto version: crypto-1.0.0
</p>
<p>
Matrix ID: @alice:example.org
</p>
<p>
Device ID: DEVICE123
</p>
<div
class="fieldRow"
2025-11-21 17:31:03 +01:00
>
<div
2025-11-24 10:04:01 +01:00
class="field inputField"
2025-11-21 17:31:03 +01:00
>
2025-11-24 10:04:01 +01:00
<input
2026-01-05 13:55:58 +01:00
aria-describedby="_r_1_"
2025-11-24 10:04:01 +01:00
id="duplicateTiles"
min="0"
type="number"
value="0"
/>
<label
for="duplicateTiles"
2025-11-21 17:31:03 +01:00
>
2025-11-24 10:04:01 +01:00
Number of additional tile copies per participant
</label>
2025-11-21 17:31:03 +01:00
</div>
2025-11-24 10:04:01 +01:00
</div>
<div
class="fieldRow"
>
2025-11-21 17:31:03 +01:00
<div
2025-11-24 10:04:01 +01:00
class="field checkboxField"
2025-11-21 17:31:03 +01:00
>
2025-11-24 10:04:01 +01:00
<input
2026-01-05 13:55:58 +01:00
aria-describedby="_r_2_"
2025-11-24 10:04:01 +01:00
id="debugTileLayout"
type="checkbox"
/>
<label
for="debugTileLayout"
2025-11-21 17:31:03 +01:00
>
2025-11-24 10:04:01 +01:00
<div
class="checkbox"
2025-11-21 17:31:03 +01:00
>
2025-11-24 10:04:01 +01:00
<svg
fill="none"
height="24"
stroke="#000"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
2025-11-21 17:31:03 +01:00
>
2025-11-24 10:04:01 +01:00
<path
d="m20 6-11 11-5-5"
/>
</svg>
</div>
Debug tile layout
</label>
2025-11-21 17:31:03 +01:00
</div>
2025-11-24 10:04:01 +01:00
</div>
<div
class="fieldRow"
>
2025-11-21 17:31:03 +01:00
<div
2025-11-24 10:04:01 +01:00
class="field checkboxField"
2025-11-21 17:31:03 +01:00
>
2025-11-24 10:04:01 +01:00
<input
2026-01-05 13:55:58 +01:00
aria-describedby="_r_3_"
2025-11-24 10:04:01 +01:00
id="showConnectionStats"
type="checkbox"
/>
<label
for="showConnectionStats"
2025-11-21 17:31:03 +01:00
>
2025-11-24 10:04:01 +01:00
<div
class="checkbox"
2025-11-21 17:31:03 +01:00
>
2025-11-24 10:04:01 +01:00
<svg
fill="none"
height="24"
stroke="#000"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
2025-11-21 17:31:03 +01:00
>
2025-11-24 10:04:01 +01:00
<path
d="m20 6-11 11-5-5"
/>
</svg>
</div>
Show connection statistics
</label>
2025-11-21 17:31:03 +01:00
</div>
2025-11-24 10:04:01 +01:00
</div>
<div
class="fieldRow"
>
2025-11-21 17:31:03 +01:00
<div
2025-11-24 10:04:01 +01:00
class="field checkboxField"
2025-11-21 17:31:03 +01:00
>
2025-11-24 10:04:01 +01:00
<input
2026-01-05 13:55:58 +01:00
aria-describedby="_r_4_"
2025-11-24 10:04:01 +01:00
id="muteAllAudio"
type="checkbox"
/>
<label
for="muteAllAudio"
2025-11-21 17:31:03 +01:00
>
2025-11-24 10:04:01 +01:00
<div
class="checkbox"
2025-11-21 17:31:03 +01:00
>
2025-11-24 10:04:01 +01:00
<svg
fill="none"
height="24"
stroke="#000"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
2025-11-21 17:31:03 +01:00
>
2025-11-24 10:04:01 +01:00
<path
d="m20 6-11 11-5-5"
/>
</svg>
</div>
Mute all audio (participants, reactions, join sounds)
</label>
2025-11-21 17:31:03 +01:00
</div>
2025-11-24 10:04:01 +01:00
</div>
<div
class="fieldRow"
>
2025-11-21 17:31:03 +01:00
<div
2025-11-24 10:04:01 +01:00
class="field checkboxField"
2025-11-21 17:31:03 +01:00
>
2025-11-24 10:04:01 +01:00
<input
2026-01-05 13:55:58 +01:00
aria-describedby="_r_5_"
2025-11-24 10:04:01 +01:00
id="alwaysShowIphoneEarpiece"
type="checkbox"
/>
<label
for="alwaysShowIphoneEarpiece"
2025-11-21 17:31:03 +01:00
>
2025-11-24 10:04:01 +01:00
<div
class="checkbox"
2025-11-21 17:31:03 +01:00
>
2025-11-24 10:04:01 +01:00
<svg
fill="none"
height="24"
stroke="#000"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
2025-11-21 17:31:03 +01:00
>
2025-11-24 10:04:01 +01:00
<path
d="m20 6-11 11-5-5"
/>
</svg>
</div>
Show iPhone earpiece option on all platforms
</label>
2025-11-21 17:31:03 +01:00
</div>
2025-11-24 10:04:01 +01:00
</div>
<form
class="_root_19upo_16"
>
<div
class="_field_19upo_26"
2025-11-21 17:31:03 +01:00
>
2025-11-24 10:04:01 +01:00
<label
class="_label_19upo_59"
2026-01-05 13:55:58 +01:00
for="radix-_r_6_"
2025-11-24 10:04:01 +01:00
>
Custom Livekit-url
</label>
2025-11-21 17:31:03 +01:00
<div
2025-11-24 10:04:01 +01:00
class="_controls_17lij_8"
2025-11-21 17:31:03 +01:00
>
2025-11-24 10:04:01 +01:00
<input
2026-01-05 13:55:58 +01:00
aria-describedby="radix-_r_7_"
2025-11-24 10:04:01 +01:00
class="_control_sqdq4_10"
2026-01-05 13:55:58 +01:00
id="radix-_r_6_"
2025-11-24 10:04:01 +01:00
name="input"
title=""
value=""
/>
2025-11-21 17:31:03 +01:00
</div>
2025-11-24 10:04:01 +01:00
<span
class="_message_19upo_85 _help-message_19upo_91"
2026-01-05 13:55:58 +01:00
id="radix-_r_7_"
2025-11-24 10:04:01 +01:00
>
Currently, no overwrite is set. Url from well-known or config is used.
</span>
</div>
</form>
<h3
class="_typography_6v6n8_153 _font-body-lg-semibold_6v6n8_74"
>
MatrixRTC mode
</h3>
<form
class="_root_19upo_16"
>
2025-11-21 17:31:03 +01:00
<div
class="_inline-field_19upo_32"
>
<div
class="_inline-field-control_19upo_44"
>
<div
2026-01-09 12:58:06 +01:00
class="_container_1qhtc_10"
2025-11-21 17:31:03 +01:00
>
<input
2026-01-05 13:55:58 +01:00
aria-describedby="radix-_r_9_ radix-_r_b_ radix-_r_d_"
2025-11-21 17:31:03 +01:00
checked=""
2026-01-09 12:58:06 +01:00
class="_input_1qhtc_18"
2026-01-05 13:55:58 +01:00
id="radix-_r_8_"
name="_r_0_"
2025-11-21 17:31:03 +01:00
title=""
type="radio"
value="legacy"
/>
<div
2026-01-09 12:58:06 +01:00
class="_ui_1qhtc_19"
2025-11-21 17:31:03 +01:00
/>
</div>
</div>
<div
class="_inline-field-body_19upo_38"
>
<label
class="_label_19upo_59"
2026-01-05 13:55:58 +01:00
for="radix-_r_8_"
2025-11-21 17:31:03 +01:00
>
Legacy: state events & oldest membership SFU
</label>
<span
class="_message_19upo_85 _help-message_19upo_91"
2026-01-05 13:55:58 +01:00
id="radix-_r_9_"
2025-11-21 17:31:03 +01:00
>
Compatible with old versions of EC that do not support multi SFU
</span>
</div>
</div>
<div
class="_inline-field_19upo_32"
>
<div
class="_inline-field-control_19upo_44"
>
<div
2026-01-09 12:58:06 +01:00
class="_container_1qhtc_10"
2025-11-21 17:31:03 +01:00
>
<input
2026-01-05 13:55:58 +01:00
aria-describedby="radix-_r_9_ radix-_r_b_ radix-_r_d_"
2026-01-09 12:58:06 +01:00
class="_input_1qhtc_18"
2026-01-05 13:55:58 +01:00
id="radix-_r_a_"
name="_r_0_"
2025-11-21 17:31:03 +01:00
title=""
type="radio"
2026-01-07 17:02:06 +01:00
value="compatibility"
2025-11-21 17:31:03 +01:00
/>
<div
2026-01-09 12:58:06 +01:00
class="_ui_1qhtc_19"
2025-11-21 17:31:03 +01:00
/>
</div>
</div>
<div
class="_inline-field-body_19upo_38"
>
<label
class="_label_19upo_59"
2026-01-05 13:55:58 +01:00
for="radix-_r_a_"
2025-11-21 17:31:03 +01:00
>
Compatibility: state events & multi SFU
</label>
<span
class="_message_19upo_85 _help-message_19upo_91"
2026-01-05 13:55:58 +01:00
id="radix-_r_b_"
2025-11-21 17:31:03 +01:00
>
Compatible with homeservers that do not support sticky events (but all other EC clients are v0.17.0 or later)
</span>
</div>
</div>
<div
class="_inline-field_19upo_32"
>
<div
class="_inline-field-control_19upo_44"
>
<div
2026-01-09 12:58:06 +01:00
class="_container_1qhtc_10"
2025-11-21 17:31:03 +01:00
>
<input
2026-01-05 13:55:58 +01:00
aria-describedby="radix-_r_9_ radix-_r_b_ radix-_r_d_"
2026-01-09 12:58:06 +01:00
class="_input_1qhtc_18"
2026-01-05 13:55:58 +01:00
id="radix-_r_c_"
name="_r_0_"
2025-11-21 17:31:03 +01:00
title=""
type="radio"
value="matrix_2_0"
/>
<div
2026-01-09 12:58:06 +01:00
class="_ui_1qhtc_19"
2025-11-21 17:31:03 +01:00
/>
</div>
</div>
<div
class="_inline-field-body_19upo_38"
>
<label
class="_label_19upo_59"
2026-01-05 13:55:58 +01:00
for="radix-_r_c_"
2025-11-21 17:31:03 +01:00
>
Matrix 2.0: sticky events & multi SFU
</label>
<span
class="_message_19upo_85 _help-message_19upo_91"
2026-01-05 13:55:58 +01:00
id="radix-_r_d_"
2025-11-21 17:31:03 +01:00
>
Compatible only with homservers supporting sticky events and all EC clients v0.17.0 or later
</span>
</div>
</div>
2025-11-24 10:04:01 +01:00
</form>
2026-01-09 17:29:48 +01:00
<div
class="livekit_room_box"
2025-11-24 10:04:01 +01:00
>
2026-01-09 17:29:48 +01:00
<h4>
LiveKit SFU: wss://local-sfu.example.org
</h4>
<p>
ws-url:
wss://local-sfu.example.org/
</p>
<p>
LiveKit Server Info
(
local
)
</p>
<pre
class="pre"
>
{
2025-11-21 17:31:03 +01:00
"region": "local",
"version": "1.2.3"
}
2026-01-09 17:29:48 +01:00
local-metadata
</pre>
<p>
Local Participant
</p>
<pre
class="pre"
>
localParticipantIdentity
</pre>
<p>
Remote Participants
</p>
<ul />
</div>
<div
class="livekit_room_box"
2025-11-24 10:04:01 +01:00
>
2026-01-09 17:29:48 +01:00
<h4>
LiveKit SFU: wss://remote-sfu.example.org
</h4>
<p>
LiveKit Server Info
(
remote
)
</p>
<pre
class="pre"
>
{
2025-11-21 17:31:03 +01:00
"region": "remote",
"version": "4.5.6"
}
2026-01-09 17:29:48 +01:00
remote-metadata
</pre>
<p>
Local Participant
</p>
<pre
class="pre"
>
localParticipantIdentity
</pre>
<p>
Remote Participants
</p>
<ul />
</div>
2025-11-24 10:04:01 +01:00
<p>
Environment variables
</p>
<pre>
{
2025-11-21 17:31:03 +01:00
"MY_MOCK_ENV": 10,
"ENV": "test"
}
2025-11-24 10:04:01 +01:00
</pre>
<p>
URL parameters
</p>
<pre>
{
2025-11-21 17:31:03 +01:00
"mocked": true,
"answer": 42
}
2025-11-24 10:04:01 +01:00
</pre>
2025-11-21 17:31:03 +01:00
</div>
`;