@@ -36,6 +40,38 @@
:label="$t('settings.account')"
:selected="true"
>
+
+
+ {{ $t("settings.profile") }}
+
+
+ {{ $t("settings.profile_description") }}
+
+
+
+
+
+
{{ $t("settings.sync") }}
@@ -91,7 +127,7 @@ import {
useMeta,
defineComponent,
} from "@nuxtjs/composition-api"
-import { currentUser$ } from "~/helpers/fb/auth"
+import { currentUser$, setDisplayName } from "~/helpers/fb/auth"
import { useReadonlyStream } from "~/helpers/utils/composables"
import { toggleSetting, useSetting } from "~/newstore/settings"
@@ -108,6 +144,12 @@ const SYNC_ENVIRONMENTS = useSetting("syncEnvironments")
const SYNC_HISTORY = useSetting("syncHistory")
const currentUser = useReadonlyStream(currentUser$, null)
+const displayName = ref(currentUser$.value?.displayName)
+
+const updateDisplayName = () => {
+ setDisplayName(displayName.value)
+}
+
useMeta({
title: `${t("navigation.profile")} • Hoppscotch`,
})
diff --git a/packages/hoppscotch-app/pages/settings.vue b/packages/hoppscotch-app/pages/settings.vue
index 790c6c88a..76a9d86bd 100644
--- a/packages/hoppscotch-app/pages/settings.vue
+++ b/packages/hoppscotch-app/pages/settings.vue
@@ -1,8 +1,8 @@
-
+
-
+
{{ $t("settings.theme") }}
@@ -10,7 +10,7 @@
{{ $t("settings.theme_description") }}
-
+
{{ $t("settings.background") }}
@@ -102,7 +102,7 @@
-
+
{{ $t("settings.interceptor") }}
@@ -110,7 +110,7 @@
{{ $t("settings.interceptor_description") }}
-
+
{{ $t("settings.extensions") }}
diff --git a/packages/hoppscotch-app/static/images/cover.svg b/packages/hoppscotch-app/static/images/cover.svg
new file mode 100644
index 000000000..f1a8ee44e
--- /dev/null
+++ b/packages/hoppscotch-app/static/images/cover.svg
@@ -0,0 +1 @@
+