This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
Add timezone to user profile #28585
Annotations
2 errors
Run tests:
test/components/views/settings/tabs/user/PreferencesUserSettingsTab-test.tsx#L40
expect(received).toMatchSnapshot()
Snapshot name: `PreferencesUserSettingsTab should render 1`
- Snapshot - 58
+ Received + 85
@@ -302,12 +302,39 @@
<div
class="mx_ToggleSwitch_ball"
/>
</div>
</div>
+ <div
+ class="mx_SettingsFlag"
+ >
+ <label
+ class="mx_SettingsFlag_label"
+ for="mx_SettingsFlag_GQvdMWe954DV"
+ >
+ <span
+ class="mx_SettingsFlag_labelText"
+ >
+ Publish timezone on public profile
+ </span>
+ </label>
+ <div
+ aria-checked="false"
+ aria-disabled="true"
+ aria-label="Publish timezone on public profile"
+ class="mx_AccessibleButton mx_ToggleSwitch"
+ id="mx_SettingsFlag_GQvdMWe954DV"
+ role="switch"
+ tabindex="0"
+ >
+ <div
+ class="mx_ToggleSwitch_ball"
+ />
+ </div>
</div>
</div>
+ </div>
<div
class="mx_SettingsSubsection"
>
<div
class="mx_SettingsSubsectionHeading"
@@ -333,11 +360,11 @@
<div
class="mx_SettingsFlag"
>
<label
class="mx_SettingsFlag_label"
- for="mx_SettingsFlag_GQvdMWe954DV"
+ for="mx_SettingsFlag_IAu5CsiHRD7n"
>
<span
class="mx_SettingsFlag_labelText"
>
Send read receipts
@@ -346,11 +373,11 @@
<div
aria-checked="true"
aria-disabled="true"
aria-label="Send read receipts"
class="mx_AccessibleButton mx_ToggleSwitch mx_ToggleSwitch_on"
- id="mx_SettingsFlag_GQvdMWe954DV"
+ id="mx_SettingsFlag_IAu5CsiHRD7n"
role="switch"
tabindex="0"
>
<div
class="mx_ToggleSwitch_ball"
@@ -360,11 +387,11 @@
<div
class="mx_SettingsFlag"
>
<label
class="mx_SettingsFlag_label"
- for="mx_SettingsFlag_IAu5CsiHRD7n"
+ for="mx_SettingsFlag_yrA2ohjWVJIP"
>
<span
class="mx_SettingsFlag_labelText"
>
Send typing notifications
@@ -373,11 +400,11 @@
<div
aria-checked="true"
aria-disabled="true"
aria-label="Send typing notifications"
class="mx_AccessibleButton mx_ToggleSwitch mx_ToggleSwitch_on"
- id="mx_SettingsFlag_IAu5CsiHRD7n"
+ id="mx_SettingsFlag_yrA2ohjWVJIP"
role="switch"
tabindex="0"
>
<div
class="mx_ToggleSwitch_ball"
@@ -404,11 +431,11 @@
<div
class="mx_SettingsFlag"
>
<label
class="mx_SettingsFlag_label"
- for="mx_SettingsFlag_yrA2ohjWVJIP"
+ for="mx_SettingsFlag_auy1OmnTidX4"
>
<span
class="mx_SettingsFlag_labelText"
>
Automatically replace plain text Emoji
@@ -417,11 +444,11 @@
<div
aria-checked="false"
aria-disabled="true"
aria-label="Automatically replac
|
Run tests
Process completed with exit code 1.
|
Loading