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

694 lines
14 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>
2026-08-10 14:22:04 +02:00
<div
class="_separator_13qwf_8"
data-kind="primary"
data-orientation="horizontal"
role="separator"
/>
2025-11-24 10:04:01 +01:00
<div
class="_fieldRow_1bd8c0"
2025-11-21 17:31:03 +01:00
>
<div
class="_field_1bd8c0 _inputField_1bd8c0"
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_1bd8c0"
2025-11-24 10:04:01 +01:00
>
2025-11-21 17:31:03 +01:00
<div
class="_field_1bd8c0 _checkboxField_1bd8c0"
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_1bd8c0"
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_1bd8c0"
2025-11-24 10:04:01 +01:00
>
2025-11-21 17:31:03 +01:00
<div
class="_field_1bd8c0 _checkboxField_1bd8c0"
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_1bd8c0"
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_1bd8c0"
2025-11-24 10:04:01 +01:00
>
2025-11-21 17:31:03 +01:00
<div
class="_field_1bd8c0 _checkboxField_1bd8c0"
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_1bd8c0"
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_1bd8c0"
2025-11-24 10:04:01 +01:00
>
2025-11-21 17:31:03 +01:00
<div
class="_field_1bd8c0 _checkboxField_1bd8c0"
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_1bd8c0"
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>
2026-05-11 18:07:40 +02:00
</div>
<div
class="_fieldRow_1bd8c0"
2026-05-11 18:07:40 +02:00
>
<div
class="_field_1bd8c0 _checkboxField_1bd8c0"
2026-05-11 18:07:40 +02:00
>
<input
aria-describedby="_r_6_"
id="enableLivekitExtendedLogs"
type="checkbox"
/>
<label
for="enableLivekitExtendedLogs"
>
<div
class="_checkbox_1bd8c0"
2026-05-11 18:07:40 +02: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"
>
<path
d="m20 6-11 11-5-5"
/>
</svg>
</div>
Enable extended livekit logs
</label>
</div>
2025-11-24 10:04:01 +01:00
</div>
<form
2026-06-08 08:46:26 +02:00
class="_root_1o4d9_17"
2025-11-24 10:04:01 +01:00
>
<div
2026-06-08 08:46:26 +02:00
class="_field_1o4d9_27"
2025-11-21 17:31:03 +01:00
>
2025-11-24 10:04:01 +01:00
<label
2026-06-08 08:46:26 +02:00
class="_label_1o4d9_60"
2026-05-11 18:07:40 +02:00
for="radix-_r_7_"
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-05-11 18:07:40 +02:00
aria-describedby="radix-_r_8_"
2026-04-17 11:13:41 +02:00
class="_control_d83jn_10"
2026-05-11 18:07:40 +02:00
id="radix-_r_7_"
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
2026-06-08 08:46:26 +02:00
class="_message_1o4d9_86 _help-message_1o4d9_92"
2026-05-11 18:07:40 +02:00
id="radix-_r_8_"
2025-11-24 10:04:01 +01:00
>
Currently, no overwrite is set. Url from config is used.
2025-11-24 10:04:01 +01:00
</span>
</div>
</form>
2026-08-10 14:22:04 +02:00
<div
class="_separator_13qwf_8"
data-kind="primary"
data-orientation="horizontal"
role="separator"
/>
2025-11-24 10:04:01 +01:00
<h3
class="_typography_6v6n8_153 _font-body-lg-semibold_6v6n8_74"
>
MatrixRTC mode
</h3>
<form
2026-06-08 08:46:26 +02:00
class="_root_1o4d9_17"
2025-11-24 10:04:01 +01:00
>
2025-11-21 17:31:03 +01:00
<div
2026-06-08 08:46:26 +02:00
class="_inline-field_1o4d9_33"
2025-11-21 17:31:03 +01:00
>
<div
2026-06-08 08:46:26 +02:00
class="_inline-field-control_1o4d9_45"
2025-11-21 17:31:03 +01:00
>
<div
2026-03-24 16:10:19 +01:00
class="_container_1ug7n_10"
2025-11-21 17:31:03 +01:00
>
<input
2026-08-26 17:53:06 +02:00
aria-describedby="radix-_r_a_ radix-_r_c_"
2026-06-25 16:05:58 +02:00
checked=""
2026-03-24 16:10:19 +01:00
class="_input_1ug7n_18"
2026-08-26 17:53:06 +02:00
id="radix-_r_9_"
2026-01-05 13:55:58 +01:00
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-03-24 16:10:19 +01:00
class="_ui_1ug7n_19"
2025-11-21 17:31:03 +01:00
/>
</div>
</div>
<div
2026-06-08 08:46:26 +02:00
class="_inline-field-body_1o4d9_39"
2025-11-21 17:31:03 +01:00
>
<label
2026-06-08 08:46:26 +02:00
class="_label_1o4d9_60"
2026-08-26 17:53:06 +02:00
for="radix-_r_9_"
2025-11-21 17:31:03 +01:00
>
Compatibility: state events & multi SFU
</label>
<span
2026-06-08 08:46:26 +02:00
class="_message_1o4d9_86 _help-message_1o4d9_92"
2026-08-26 17:53:06 +02:00
id="radix-_r_a_"
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
2026-06-08 08:46:26 +02:00
class="_inline-field_1o4d9_33"
2025-11-21 17:31:03 +01:00
>
<div
2026-06-08 08:46:26 +02:00
class="_inline-field-control_1o4d9_45"
2025-11-21 17:31:03 +01:00
>
<div
2026-03-24 16:10:19 +01:00
class="_container_1ug7n_10"
2025-11-21 17:31:03 +01:00
>
<input
2026-08-26 17:53:06 +02:00
aria-describedby="radix-_r_a_ radix-_r_c_"
2026-03-24 16:10:19 +01:00
class="_input_1ug7n_18"
2026-08-26 17:53:06 +02:00
id="radix-_r_b_"
2026-01-05 13:55:58 +01:00
name="_r_0_"
2025-11-21 17:31:03 +01:00
title=""
type="radio"
value="matrix_2_0"
/>
<div
2026-03-24 16:10:19 +01:00
class="_ui_1ug7n_19"
2025-11-21 17:31:03 +01:00
/>
</div>
</div>
<div
2026-06-08 08:46:26 +02:00
class="_inline-field-body_1o4d9_39"
2025-11-21 17:31:03 +01:00
>
<label
2026-06-08 08:46:26 +02:00
class="_label_1o4d9_60"
2026-08-26 17:53:06 +02:00
for="radix-_r_b_"
2025-11-21 17:31:03 +01:00
>
Matrix 2.0: sticky events & multi SFU
</label>
<span
2026-06-08 08:46:26 +02:00
class="_message_1o4d9_86 _help-message_1o4d9_92"
2026-08-26 17:53:06 +02:00
id="radix-_r_c_"
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_2ddec4"
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>
2026-01-13 17:39:55 +01:00
<p>
LivekitAlias:
TestAlias
</p>
2026-01-16 12:43:13 +01:00
<p>
connectionState (wont hot reload):
</p>
2026-01-09 17:29:48 +01:00
<p>
ws-url:
wss://local-sfu.example.org/
</p>
<p>
LiveKit Server Info
(
local
)
</p>
<pre>
2026-01-09 17:29:48 +01:00
{
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>
2026-01-09 17:29:48 +01:00
localParticipantIdentity
</pre>
<p>
Remote Participants
</p>
<ul />
</div>
<div
class="_livekit_room_box_2ddec4"
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>
2026-01-13 17:39:55 +01:00
<p>
LivekitAlias:
TestAlias2
</p>
2026-01-16 12:43:13 +01:00
<p>
connectionState (wont hot reload):
</p>
2026-01-09 17:29:48 +01:00
<p>
LiveKit Server Info
(
remote
)
</p>
<pre>
2026-01-09 17:29:48 +01:00
{
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>
2026-01-09 17:29:48 +01:00
localParticipantIdentity
</pre>
<p>
Remote Participants
</p>
<ul />
</div>
<div
class="_separator_13qwf_8"
data-kind="primary"
data-orientation="horizontal"
role="separator"
/>
<h4>
Camera quality
</h4>
<div
class="_fieldRow_1bd8c0"
>
<div
class="_field_1bd8c0 _checkboxField_1bd8c0"
>
<input
2026-08-26 17:53:06 +02:00
aria-describedby="_r_i_"
id="cameraToggle"
type="checkbox"
/>
<label
for="cameraToggle"
>
<div
class="_checkbox_1bd8c0"
>
<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"
>
<path
d="m20 6-11 11-5-5"
/>
</svg>
</div>
Advanced camera settings
</label>
<p
class="_description_1bd8c0"
2026-08-26 17:53:06 +02:00
id="_r_i_"
>
Configure resolution, framerate, bitrate, and codec for camera video. Changes apply on next call join.
</p>
</div>
</div>
<div
class="_separator_13qwf_8"
data-kind="primary"
data-orientation="horizontal"
role="separator"
/>
<h4>
Screen sharing
</h4>
<div
class="_fieldRow_1bd8c0"
>
<div
class="_field_1bd8c0 _checkboxField_1bd8c0"
>
<input
2026-08-26 17:53:06 +02:00
aria-describedby="_r_j_"
id="screenShareToggle"
type="checkbox"
/>
<label
for="screenShareToggle"
>
<div
class="_checkbox_1bd8c0"
>
<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"
>
<path
d="m20 6-11 11-5-5"
/>
</svg>
</div>
Advanced screen share settings
</label>
<p
class="_description_1bd8c0"
2026-08-26 17:53:06 +02:00
id="_r_j_"
>
Configure resolution, framerate, bitrate, and codec for screen sharing
</p>
</div>
</div>
<div
class="_separator_13qwf_8"
data-kind="primary"
data-orientation="horizontal"
role="separator"
/>
<h4>
Audio processing
</h4>
<p>
Changes apply on next call join.
</p>
<div
class="_fieldRow_1bd8c0"
>
<div
class="_field_1bd8c0 _checkboxField_1bd8c0"
>
<input
2026-08-26 17:53:06 +02:00
aria-describedby="_r_k_"
checked=""
id="echoCancellation"
type="checkbox"
/>
<label
for="echoCancellation"
>
<div
class="_checkbox_1bd8c0"
>
<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"
>
<path
d="m20 6-11 11-5-5"
/>
</svg>
</div>
Echo cancellation
</label>
</div>
</div>
<div
class="_fieldRow_1bd8c0"
>
<div
class="_field_1bd8c0 _checkboxField_1bd8c0"
>
<input
2026-08-26 17:53:06 +02:00
aria-describedby="_r_l_"
checked=""
id="noiseSuppression"
type="checkbox"
/>
<label
for="noiseSuppression"
>
<div
class="_checkbox_1bd8c0"
>
<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"
>
<path
d="m20 6-11 11-5-5"
/>
</svg>
</div>
Noise suppression
</label>
</div>
</div>
<div
class="_fieldRow_1bd8c0"
>
<div
class="_field_1bd8c0 _checkboxField_1bd8c0"
>
<input
2026-08-26 17:53:06 +02:00
aria-describedby="_r_m_"
checked=""
id="autoGainControl"
type="checkbox"
/>
<label
for="autoGainControl"
>
<div
class="_checkbox_1bd8c0"
>
<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"
>
<path
d="m20 6-11 11-5-5"
/>
</svg>
</div>
Automatic gain control
</label>
</div>
</div>
2026-08-10 14:22:04 +02:00
<div
class="_separator_13qwf_8"
data-kind="primary"
data-orientation="horizontal"
role="separator"
/>
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>
`;