diff --git a/package.json b/package.json index ab98d94946..d832b6a28e 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "@sentry/browser": "^8.0.0", "@testing-library/react-hooks": "^8.0.1", "@vector-im/compound-design-tokens": "^1.2.0", - "@vector-im/compound-web": "^4.4.1", + "@vector-im/compound-web": "^4.6.0", "@zxcvbn-ts/core": "^3.0.4", "@zxcvbn-ts/language-common": "^3.0.4", "@zxcvbn-ts/language-en": "^3.0.2", diff --git a/playwright/snapshots/settings/general-user-settings-tab.spec.ts/general-linux.png b/playwright/snapshots/settings/general-user-settings-tab.spec.ts/general-linux.png index af35cc8bb4..797c02e873 100644 Binary files a/playwright/snapshots/settings/general-user-settings-tab.spec.ts/general-linux.png and b/playwright/snapshots/settings/general-user-settings-tab.spec.ts/general-linux.png differ diff --git a/playwright/snapshots/settings/general-user-settings-tab.spec.ts/general-smallscreen-linux.png b/playwright/snapshots/settings/general-user-settings-tab.spec.ts/general-smallscreen-linux.png index d59d2946da..103dc698a5 100644 Binary files a/playwright/snapshots/settings/general-user-settings-tab.spec.ts/general-smallscreen-linux.png and b/playwright/snapshots/settings/general-user-settings-tab.spec.ts/general-smallscreen-linux.png differ diff --git a/res/css/views/settings/_UserProfileSettings.pcss b/res/css/views/settings/_UserProfileSettings.pcss index 3a9dc7dcc7..f9ca149bf7 100644 --- a/res/css/views/settings/_UserProfileSettings.pcss +++ b/res/css/views/settings/_UserProfileSettings.pcss @@ -21,12 +21,11 @@ limitations under the License. display: flex; margin-top: var(--cpd-space-6x); gap: 16px; - /* This is temporary until the 'Remove' link is replaced by a context menu. */ - margin-bottom: 20px; .mx_UserProfileSettings_profile_displayName { flex-grow: 1; width: 100%; + gap: 0; } } diff --git a/src/components/views/settings/UserProfileSettings.tsx b/src/components/views/settings/UserProfileSettings.tsx index 1043833d8e..bd61f762ff 100644 --- a/src/components/views/settings/UserProfileSettings.tsx +++ b/src/components/views/settings/UserProfileSettings.tsx @@ -164,6 +164,7 @@ const UserProfileSettings: React.FC = () => { saveButtonLabel={_t("common|save")} cancelButtonLabel={_t("common|cancel")} savedLabel={_t("common|saved")} + savingLabel={_t("common|updating")} onChange={onDisplayNameChanged} onCancel={onDisplayNameCancel} onSave={onDisplayNameSave} diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index fb20c84345..4550cfdad1 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -573,6 +573,7 @@ "unnamed_space": "Unnamed Space", "unsent": "Unsent", "unverified": "Unverified", + "updating": "Updating...", "user": "User", "user_avatar": "Profile picture", "username": "Username", diff --git a/test/components/views/right_panel/__snapshots__/RoomSummaryCard-test.tsx.snap b/test/components/views/right_panel/__snapshots__/RoomSummaryCard-test.tsx.snap index 784be90168..58566b8a32 100644 --- a/test/components/views/right_panel/__snapshots__/RoomSummaryCard-test.tsx.snap +++ b/test/components/views/right_panel/__snapshots__/RoomSummaryCard-test.tsx.snap @@ -123,10 +123,10 @@ exports[` has button to edit topic when expanded 1`] = ` data-orientation="horizontal" role="separator" /> -