diff --git a/front/src/components/auth/Settings.vue b/front/src/components/auth/Settings.vue index 0caade849..7efa35bea 100644 --- a/front/src/components/auth/Settings.vue +++ b/front/src/components/auth/Settings.vue @@ -21,10 +21,11 @@ import Input from '~/components/ui/Input.vue' import Layout from '~/components/ui/Layout.vue' import Slider from '~/components/ui/Slider.vue' import Alert from '~/components/ui/Alert.vue' -import Heading from '~/components/ui/Heading.vue' +import Header from '~/components/ui/Header.vue' import Button from '~/components/ui/Button.vue' import Link from '~/components/ui/Link.vue' import Textarea from '~/components/ui/Textarea.vue' +import Section from '~/components/ui/Section.vue' const SETTINGS_ORDER: FieldId[] = ['summary', 'privacy_level'] @@ -278,8 +279,9 @@ fetchOwnedApps() v-title="labels.title" main stack + gap-84 > - @@ -343,10 +345,10 @@ fetchOwnedApps() {{ t('components.auth.Settings.button.updateSettings') }} -
-

- {{ t('components.auth.Settings.header.avatar') }} -

+
-
+
-
-

- {{ t('components.auth.Settings.header.changePassword') }} -

+
{{ t('components.auth.Settings.description.changePassword.paragraph1') }} {{ t('components.auth.Settings.description.changePassword.paragraph2') }}
@@ -400,6 +402,7 @@ fetchOwnedApps() +
+
-
-

- -
- {{ t('components.auth.Settings.header.contentFilters') }} -
-

{{ t('components.auth.Settings.description.contentFilters') }}

@@ -508,18 +508,14 @@ fetchOwnedApps() -
-
+
-
-
+
-
+
-
-
-
-
+

{{ t('components.auth.Settings.description.changeEmail') }}

@@ -751,15 +736,12 @@ fetchOwnedApps() {{ t('components.auth.Settings.button.update') }} -
-
-
+

{{ t('components.auth.Settings.description.deleteAccount') }}

@@ -811,6 +793,6 @@ fetchOwnedApps() -
+
diff --git a/front/src/components/forms/PasswordInput.vue b/front/src/components/forms/PasswordInput.vue index 61458d6cf..8f0937dfd 100644 --- a/front/src/components/forms/PasswordInput.vue +++ b/front/src/components/forms/PasswordInput.vue @@ -17,6 +17,8 @@ interface Props { fieldId: string } +// TODO: Migrate `defaultShow` and `copyButton` functionality to ui password component and delete this module + const emit = defineEmits() const props = withDefaults(defineProps(), { defaultShow: false, diff --git a/front/src/components/ui/Section.vue b/front/src/components/ui/Section.vue index 08474b6f0..4ed8a2134 100644 --- a/front/src/components/ui/Section.vue +++ b/front/src/components/ui/Section.vue @@ -97,15 +97,6 @@ const headingProps = computed(() => v :size="64" /> -
- -
padding: 0 0 24px 0; margin: 0; " - /> + > + + diff --git a/front/src/locales/en_US.json b/front/src/locales/en_US.json index a4fe148f9..794f9d84f 100644 --- a/front/src/locales/en_US.json +++ b/front/src/locales/en_US.json @@ -854,7 +854,7 @@ "button": { "delete": "Delete", "deleteAccount": "Delete my account…", - "deleteAccountConfirm": "Delete my account", + "deleteAccountConfirm": "I accept the risk. Delete my account", "disableSubsonic": "Disable access", "edit": "Edit", "password": "Change password",