update order in developer settings tab

This commit is contained in:
Timo K.
2026-08-10 14:22:04 +02:00
parent 88e5a5badb
commit b0d08cb0b5
2 changed files with 43 additions and 22 deletions

View File

@@ -364,6 +364,7 @@ export const DeveloperSettingsTab: FC<Props> = ({
id: client.getDeviceId() || "unknown", id: client.getDeviceId() || "unknown",
})} })}
</p> </p>
<Separator />
<FieldRow> <FieldRow>
<InputField <InputField
id="duplicateTiles" id="duplicateTiles"
@@ -513,6 +514,7 @@ export const DeveloperSettingsTab: FC<Props> = ({
<ErrorMessage>{customLivekitUrlUpdateError}</ErrorMessage> <ErrorMessage>{customLivekitUrlUpdateError}</ErrorMessage>
)} )}
</EditInPlace> </EditInPlace>
<Separator />
<Heading as="h3" type="body" weight="semibold" size="lg"> <Heading as="h3" type="body" weight="semibold" size="lg">
{t("developer_mode.matrixRTCMode.title")} {t("developer_mode.matrixRTCMode.title")}
</Heading> </Heading>
@@ -601,10 +603,6 @@ export const DeveloperSettingsTab: FC<Props> = ({
</ul> </ul>
</div> </div>
))} ))}
<p>{t("developer_mode.environment_variables")}</p>
<pre>{JSON.stringify(env, null, 2)}</pre>
<p>{t("developer_mode.url_params")}</p>
<pre>{JSON.stringify(urlParams, null, 2)}</pre>
<Separator /> <Separator />
<MediaQualitySettings <MediaQualitySettings
id="camera" id="camera"
@@ -659,6 +657,11 @@ export const DeveloperSettingsTab: FC<Props> = ({
/> />
<Separator /> <Separator />
<AudioProcessingSettings /> <AudioProcessingSettings />
<Separator />
<p>{t("developer_mode.environment_variables")}</p>
<pre>{JSON.stringify(env, null, 2)}</pre>
<p>{t("developer_mode.url_params")}</p>
<pre>{JSON.stringify(urlParams, null, 2)}</pre>
</> </>
); );
}; };

View File

@@ -17,6 +17,12 @@ exports[`DeveloperSettingsTab > renders and matches snapshot 1`] = `
<p> <p>
Device ID: DEVICE123 Device ID: DEVICE123
</p> </p>
<div
class="_separator_13qwf_8"
data-kind="primary"
data-orientation="horizontal"
role="separator"
/>
<div <div
class="_fieldRow_1bd8c0" class="_fieldRow_1bd8c0"
> >
@@ -255,6 +261,12 @@ exports[`DeveloperSettingsTab > renders and matches snapshot 1`] = `
</span> </span>
</div> </div>
</form> </form>
<div
class="_separator_13qwf_8"
data-kind="primary"
data-orientation="horizontal"
role="separator"
/>
<h3 <h3
class="_typography_6v6n8_153 _font-body-lg-semibold_6v6n8_74" class="_typography_6v6n8_153 _font-body-lg-semibold_6v6n8_74"
> >
@@ -463,24 +475,6 @@ exports[`DeveloperSettingsTab > renders and matches snapshot 1`] = `
</p> </p>
<ul /> <ul />
</div> </div>
<p>
Environment variables
</p>
<pre>
{
"MY_MOCK_ENV": 10,
"ENV": "test"
}
</pre>
<p>
URL parameters
</p>
<pre>
{
"mocked": true,
"answer": 42
}
</pre>
<div <div
class="_separator_13qwf_8" class="_separator_13qwf_8"
data-kind="primary" data-kind="primary"
@@ -711,5 +705,29 @@ exports[`DeveloperSettingsTab > renders and matches snapshot 1`] = `
</label> </label>
</div> </div>
</div> </div>
<div
class="_separator_13qwf_8"
data-kind="primary"
data-orientation="horizontal"
role="separator"
/>
<p>
Environment variables
</p>
<pre>
{
"MY_MOCK_ENV": 10,
"ENV": "test"
}
</pre>
<p>
URL parameters
</p>
<pre>
{
"mocked": true,
"answer": 42
}
</pre>
</div> </div>
`; `;