This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
Add timezone to user profile #28581
Annotations
4 errors
test/components/views/settings/tabs/user/AccountUserSettingsTab-test.tsx#L246
expect(received).toMatchSnapshot()
Snapshot name: `<AccountUserSettingsTab /> 3pids should display 3pid email addresses and phone numbers 1`
- Snapshot - 2
+ Received + 2
@@ -37,18 +37,18 @@
<div
class="mx_Field mx_Field_input"
>
<input
autocomplete="email"
- id="mx_Field_9"
+ id="mx_Field_13"
label="Email Address"
placeholder="Email Address"
type="text"
value=""
/>
<label
- for="mx_Field_9"
+ for="mx_Field_13"
>
Email Address
</label>
</div>
<div
at Object.toMatchSnapshot (test/components/views/settings/tabs/user/AccountUserSettingsTab-test.tsx:246:68)
|
test/components/views/settings/tabs/user/AccountUserSettingsTab-test.tsx#L247
expect(received).toMatchSnapshot()
Snapshot name: `<AccountUserSettingsTab /> 3pids should display 3pid email addresses and phone numbers 2`
- Snapshot - 2
+ Received + 2
@@ -74,18 +74,18 @@
</div>
</div>
</span>
<input
autocomplete="tel-national"
- id="mx_Field_10"
+ id="mx_Field_14"
label="Phone Number"
placeholder="Phone Number"
type="text"
value=""
/>
<label
- for="mx_Field_10"
+ for="mx_Field_14"
>
Phone Number
</label>
</div>
<div
at Object.toMatchSnapshot (test/components/views/settings/tabs/user/AccountUserSettingsTab-test.tsx:247:66)
|
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
|
|
This job failed
Loading