diff --git a/packages/hoppscotch-app/assets/icons/auth/email.svg b/packages/hoppscotch-app/assets/icons/auth/email.svg
index cb9568f58..ac21b3d07 100644
--- a/packages/hoppscotch-app/assets/icons/auth/email.svg
+++ b/packages/hoppscotch-app/assets/icons/auth/email.svg
@@ -1,7 +1,15 @@
-
-
+
diff --git a/packages/hoppscotch-app/assets/icons/auth/github.svg b/packages/hoppscotch-app/assets/icons/auth/github.svg
index 451e6a291..a4a47b020 100644
--- a/packages/hoppscotch-app/assets/icons/auth/github.svg
+++ b/packages/hoppscotch-app/assets/icons/auth/github.svg
@@ -1,7 +1,12 @@
-
-
+
diff --git a/packages/hoppscotch-app/assets/icons/auth/google.svg b/packages/hoppscotch-app/assets/icons/auth/google.svg
index 75c59abdb..5cdb447fa 100644
--- a/packages/hoppscotch-app/assets/icons/auth/google.svg
+++ b/packages/hoppscotch-app/assets/icons/auth/google.svg
@@ -1,7 +1,24 @@
-
-
+
diff --git a/packages/hoppscotch-app/assets/icons/auth/microsoft.svg b/packages/hoppscotch-app/assets/icons/auth/microsoft.svg
index d2f484f25..dcc6cd287 100644
--- a/packages/hoppscotch-app/assets/icons/auth/microsoft.svg
+++ b/packages/hoppscotch-app/assets/icons/auth/microsoft.svg
@@ -1,11 +1,12 @@
-
-
+
diff --git a/packages/hoppscotch-app/components/app/Header.vue b/packages/hoppscotch-app/components/app/Header.vue
index edcc83751..b7a80dc79 100644
--- a/packages/hoppscotch-app/components/app/Header.vue
+++ b/packages/hoppscotch-app/components/app/Header.vue
@@ -79,12 +79,15 @@
network.isOnline ? 'bg-green-500' : 'bg-red-500'
"
/>
-
diff --git a/packages/hoppscotch-app/components/profile/Picture.vue b/packages/hoppscotch-app/components/profile/Picture.vue
index b38409b72..8bae61172 100644
--- a/packages/hoppscotch-app/components/profile/Picture.vue
+++ b/packages/hoppscotch-app/components/profile/Picture.vue
@@ -1,20 +1,31 @@
![]()
-
+
+ {{ initial.charAt(0).toUpperCase() }}
+
+
@@ -25,9 +36,7 @@ export default defineComponent({
props: {
url: {
type: String,
- default: `https://avatars.dicebear.com/v2/avataaars/${Math.random()
- .toString(36)
- .substring(7)}.svg?mood[]=happy`,
+ default: "",
},
alt: {
type: String,
@@ -41,6 +50,34 @@ export default defineComponent({
type: String,
default: "bg-green-500",
},
+ rounded: {
+ type: String,
+ default: "full",
+ },
+ size: {
+ type: String,
+ default: "5",
+ },
+ initial: {
+ type: String,
+ default: "",
+ },
+ },
+ methods: {
+ toHex(initial) {
+ let hash = 0
+ if (initial.length === 0) return hash
+ for (let i = 0; i < initial.length; i++) {
+ hash = initial.charCodeAt(i) + ((hash << 5) - hash)
+ hash = hash & hash
+ }
+ let color = "#"
+ for (let i = 0; i < 3; i++) {
+ const value = (hash >> (i * 8)) & 255
+ color += `00${value.toString(16)}`.substr(-2)
+ }
+ return color
+ },
},
})
diff --git a/packages/hoppscotch-app/components/teams/Team.vue b/packages/hoppscotch-app/components/teams/Team.vue
index 79c28fb07..a34363eb5 100644
--- a/packages/hoppscotch-app/components/teams/Team.vue
+++ b/packages/hoppscotch-app/components/teams/Team.vue
@@ -35,17 +35,16 @@
:title="member.user.displayName"
class="inline-flex"
>
-
![]()
-
diff --git a/packages/hoppscotch-app/locales/af.json b/packages/hoppscotch-app/locales/af.json
index e5c2115a0..ebb8baa26 100644
--- a/packages/hoppscotch-app/locales/af.json
+++ b/packages/hoppscotch-app/locales/af.json
@@ -216,7 +216,6 @@
"subscriptions": "Inskrywings"
},
"header": {
- "account": "Rekening",
"install_pwa": "Installeer toep",
"login": "Teken aan",
"save_workspace": "Stoor my werkspasie"
diff --git a/packages/hoppscotch-app/locales/ar.json b/packages/hoppscotch-app/locales/ar.json
index e1facbfa6..e1f89fcf7 100644
--- a/packages/hoppscotch-app/locales/ar.json
+++ b/packages/hoppscotch-app/locales/ar.json
@@ -217,7 +217,6 @@
"subscriptions": "الاشتراكات"
},
"header": {
- "account": "حساب",
"install_pwa": "تثبيت التطبيق",
"login": "تسجيل الدخول",
"save_workspace": "حفظ مساحة العمل الخاصة بي"
diff --git a/packages/hoppscotch-app/locales/ca.json b/packages/hoppscotch-app/locales/ca.json
index 803fed421..1206fec3f 100644
--- a/packages/hoppscotch-app/locales/ca.json
+++ b/packages/hoppscotch-app/locales/ca.json
@@ -216,7 +216,6 @@
"subscriptions": "Subscripcions"
},
"header": {
- "account": "Compte",
"install_pwa": "Instal·la l'aplicació",
"login": "iniciar Sessió",
"save_workspace": "Desa el meu espai de treball"
diff --git a/packages/hoppscotch-app/locales/cn.json b/packages/hoppscotch-app/locales/cn.json
index 406bc8d6f..6a76e9eb5 100644
--- a/packages/hoppscotch-app/locales/cn.json
+++ b/packages/hoppscotch-app/locales/cn.json
@@ -216,7 +216,6 @@
"subscriptions": "订阅"
},
"header": {
- "account": "帐户",
"install_pwa": "安装应用",
"login": "登录",
"save_workspace": "保存我的工作区"
diff --git a/packages/hoppscotch-app/locales/cs.json b/packages/hoppscotch-app/locales/cs.json
index 3ef784e7a..207b278d5 100644
--- a/packages/hoppscotch-app/locales/cs.json
+++ b/packages/hoppscotch-app/locales/cs.json
@@ -216,7 +216,6 @@
"subscriptions": "Předplatné"
},
"header": {
- "account": "Účet",
"install_pwa": "Nainstalovat aplikaci",
"login": "Přihlásit se",
"save_workspace": "Uložit můj pracovní prostor"
diff --git a/packages/hoppscotch-app/locales/da.json b/packages/hoppscotch-app/locales/da.json
index 78a1f317f..81649e709 100644
--- a/packages/hoppscotch-app/locales/da.json
+++ b/packages/hoppscotch-app/locales/da.json
@@ -216,7 +216,6 @@
"subscriptions": "Abonnementer"
},
"header": {
- "account": "Konto",
"install_pwa": "Installer app",
"login": "Log på",
"save_workspace": "Gem mit arbejdsområde"
diff --git a/packages/hoppscotch-app/locales/de.json b/packages/hoppscotch-app/locales/de.json
index 65b30ccb0..9dfbdff85 100644
--- a/packages/hoppscotch-app/locales/de.json
+++ b/packages/hoppscotch-app/locales/de.json
@@ -216,7 +216,6 @@
"subscriptions": "Abonnements"
},
"header": {
- "account": "Konto",
"install_pwa": "App installieren",
"login": "Anmeldung",
"save_workspace": "Meinen Arbeitsbereich speichern"
diff --git a/packages/hoppscotch-app/locales/el.json b/packages/hoppscotch-app/locales/el.json
index ba0eb7857..6e30d559b 100644
--- a/packages/hoppscotch-app/locales/el.json
+++ b/packages/hoppscotch-app/locales/el.json
@@ -216,7 +216,6 @@
"subscriptions": "Συνδρομές"
},
"header": {
- "account": "λογαριασμός",
"install_pwa": "Εγκατάσταση εφαρμογής",
"login": "Σύνδεση",
"save_workspace": "Αποθήκευση του χώρου εργασίας μου"
diff --git a/packages/hoppscotch-app/locales/en.json b/packages/hoppscotch-app/locales/en.json
index 3e0b50aac..6e11a7580 100644
--- a/packages/hoppscotch-app/locales/en.json
+++ b/packages/hoppscotch-app/locales/en.json
@@ -216,7 +216,6 @@
"subscriptions": "Subscriptions"
},
"header": {
- "account": "Account",
"install_pwa": "Install app",
"login": "Login",
"save_workspace": "Save My Workspace"
diff --git a/packages/hoppscotch-app/locales/es.json b/packages/hoppscotch-app/locales/es.json
index c54b9bf24..634458553 100644
--- a/packages/hoppscotch-app/locales/es.json
+++ b/packages/hoppscotch-app/locales/es.json
@@ -216,7 +216,6 @@
"subscriptions": "Suscripciones"
},
"header": {
- "account": "Cuenta",
"install_pwa": "Instalar aplicación",
"login": "Acceso",
"save_workspace": "Guardar mi espacio de trabajo"
diff --git a/packages/hoppscotch-app/locales/fi.json b/packages/hoppscotch-app/locales/fi.json
index e198d5071..9b31a165c 100644
--- a/packages/hoppscotch-app/locales/fi.json
+++ b/packages/hoppscotch-app/locales/fi.json
@@ -216,7 +216,6 @@
"subscriptions": "Tilaukset"
},
"header": {
- "account": "Tili",
"install_pwa": "Asenna sovellus",
"login": "Kirjaudu sisään",
"save_workspace": "Tallenna työtila"
diff --git a/packages/hoppscotch-app/locales/fr.json b/packages/hoppscotch-app/locales/fr.json
index 61a3d06c4..f4e3963fa 100644
--- a/packages/hoppscotch-app/locales/fr.json
+++ b/packages/hoppscotch-app/locales/fr.json
@@ -216,7 +216,6 @@
"subscriptions": "Abonnements"
},
"header": {
- "account": "Compte",
"install_pwa": "Installer l'application",
"login": "Connexion",
"save_workspace": "Enregistrer mon espace de travail"
diff --git a/packages/hoppscotch-app/locales/he.json b/packages/hoppscotch-app/locales/he.json
index 8f9f3cbe7..41dfd4790 100644
--- a/packages/hoppscotch-app/locales/he.json
+++ b/packages/hoppscotch-app/locales/he.json
@@ -216,7 +216,6 @@
"subscriptions": "מנויים"
},
"header": {
- "account": "חֶשְׁבּוֹן",
"install_pwa": "התקן אפליקציה",
"login": "התחברות",
"save_workspace": "שמור את סביבת העבודה שלי"
diff --git a/packages/hoppscotch-app/locales/hu.json b/packages/hoppscotch-app/locales/hu.json
index 5b8fb5984..f38c30f25 100644
--- a/packages/hoppscotch-app/locales/hu.json
+++ b/packages/hoppscotch-app/locales/hu.json
@@ -216,7 +216,6 @@
"subscriptions": "Feliratkozások"
},
"header": {
- "account": "Fiók",
"install_pwa": "Alkalmazás telepítése",
"login": "Bejelentkezés",
"save_workspace": "Saját munkaterület mentése"
diff --git a/packages/hoppscotch-app/locales/it.json b/packages/hoppscotch-app/locales/it.json
index be7801eb7..3b8620fd4 100644
--- a/packages/hoppscotch-app/locales/it.json
+++ b/packages/hoppscotch-app/locales/it.json
@@ -216,7 +216,6 @@
"subscriptions": "Sottoscrizioni"
},
"header": {
- "account": "Account",
"install_pwa": "Installa l'applicazione",
"login": "Accedi",
"save_workspace": "Salva il mio spazio di lavoro"
diff --git a/packages/hoppscotch-app/locales/ja.json b/packages/hoppscotch-app/locales/ja.json
index 868ba5f98..3ea311d79 100644
--- a/packages/hoppscotch-app/locales/ja.json
+++ b/packages/hoppscotch-app/locales/ja.json
@@ -216,7 +216,6 @@
"subscriptions": "サブスクリプション"
},
"header": {
- "account": "アカウント",
"install_pwa": "アプリをインストールする",
"login": "ログイン",
"save_workspace": "ワークスペースを保存"
diff --git a/packages/hoppscotch-app/locales/ko.json b/packages/hoppscotch-app/locales/ko.json
index d7c740ca9..34ac44a57 100644
--- a/packages/hoppscotch-app/locales/ko.json
+++ b/packages/hoppscotch-app/locales/ko.json
@@ -216,7 +216,6 @@
"subscriptions": "구독"
},
"header": {
- "account": "계정",
"install_pwa": "앱을 설치",
"login": "로그인",
"save_workspace": "내 작업 공간 저장"
diff --git a/packages/hoppscotch-app/locales/nl.json b/packages/hoppscotch-app/locales/nl.json
index 876c1bba0..f25f6daaa 100644
--- a/packages/hoppscotch-app/locales/nl.json
+++ b/packages/hoppscotch-app/locales/nl.json
@@ -216,7 +216,6 @@
"subscriptions": "Abonnementen"
},
"header": {
- "account": "Rekening",
"install_pwa": "Installeer app",
"login": "Log in",
"save_workspace": "Bewaar mijn werkruimte"
diff --git a/packages/hoppscotch-app/locales/no.json b/packages/hoppscotch-app/locales/no.json
index e0330d3ed..bd83a55e9 100644
--- a/packages/hoppscotch-app/locales/no.json
+++ b/packages/hoppscotch-app/locales/no.json
@@ -216,7 +216,6 @@
"subscriptions": "Abonnementer"
},
"header": {
- "account": "Regnskap",
"install_pwa": "Installer app",
"login": "Logg Inn",
"save_workspace": "Lagre arbeidsområdet mitt"
diff --git a/packages/hoppscotch-app/locales/pl.json b/packages/hoppscotch-app/locales/pl.json
index 1fccd77a9..efc6bc306 100644
--- a/packages/hoppscotch-app/locales/pl.json
+++ b/packages/hoppscotch-app/locales/pl.json
@@ -216,7 +216,6 @@
"subscriptions": "Subskrypcje"
},
"header": {
- "account": "Konto",
"install_pwa": "Zainstaluj aplikację",
"login": "Zaloguj sie",
"save_workspace": "Zapisz mój obszar roboczy"
diff --git a/packages/hoppscotch-app/locales/pt-br.json b/packages/hoppscotch-app/locales/pt-br.json
index b40653cea..3c0d96d3e 100644
--- a/packages/hoppscotch-app/locales/pt-br.json
+++ b/packages/hoppscotch-app/locales/pt-br.json
@@ -216,7 +216,6 @@
"subscriptions": "Assinaturas"
},
"header": {
- "account": "Conta",
"install_pwa": "Instalar aplicativo",
"login": "Conecte-se",
"save_workspace": "Salvar meu espaço de trabalho"
diff --git a/packages/hoppscotch-app/locales/pt.json b/packages/hoppscotch-app/locales/pt.json
index b40653cea..3c0d96d3e 100644
--- a/packages/hoppscotch-app/locales/pt.json
+++ b/packages/hoppscotch-app/locales/pt.json
@@ -216,7 +216,6 @@
"subscriptions": "Assinaturas"
},
"header": {
- "account": "Conta",
"install_pwa": "Instalar aplicativo",
"login": "Conecte-se",
"save_workspace": "Salvar meu espaço de trabalho"
diff --git a/packages/hoppscotch-app/locales/ro.json b/packages/hoppscotch-app/locales/ro.json
index dd23f43fc..0b69ebd2a 100644
--- a/packages/hoppscotch-app/locales/ro.json
+++ b/packages/hoppscotch-app/locales/ro.json
@@ -216,7 +216,6 @@
"subscriptions": "Abonamente"
},
"header": {
- "account": "Cont",
"install_pwa": "Instalează aplicația",
"login": "Autentificare",
"save_workspace": "Salvați spațiul meu de lucru"
diff --git a/packages/hoppscotch-app/locales/ru.json b/packages/hoppscotch-app/locales/ru.json
index 45296c765..15d6ed7d1 100644
--- a/packages/hoppscotch-app/locales/ru.json
+++ b/packages/hoppscotch-app/locales/ru.json
@@ -216,7 +216,6 @@
"subscriptions": "Подписки"
},
"header": {
- "account": "Счет",
"install_pwa": "Установить приложение",
"login": "Авторизоваться",
"save_workspace": "Сохранить мою рабочую область"
diff --git a/packages/hoppscotch-app/locales/sr.json b/packages/hoppscotch-app/locales/sr.json
index 513ce0b06..a44c5d56c 100644
--- a/packages/hoppscotch-app/locales/sr.json
+++ b/packages/hoppscotch-app/locales/sr.json
@@ -217,7 +217,6 @@
"subscriptions": "Претплате"
},
"header": {
- "account": "Рачун",
"install_pwa": "Инсталирати апликацију",
"login": "Пријавите се",
"save_workspace": "Сачувај мој радни простор"
diff --git a/packages/hoppscotch-app/locales/sv.json b/packages/hoppscotch-app/locales/sv.json
index fb85a8bf9..023676ee7 100644
--- a/packages/hoppscotch-app/locales/sv.json
+++ b/packages/hoppscotch-app/locales/sv.json
@@ -216,7 +216,6 @@
"subscriptions": "Prenumerationer"
},
"header": {
- "account": "konto",
"install_pwa": "Installera app",
"login": "Logga in",
"save_workspace": "Spara min arbetsyta"
diff --git a/packages/hoppscotch-app/locales/tr.json b/packages/hoppscotch-app/locales/tr.json
index 51541a850..b4ba457ae 100644
--- a/packages/hoppscotch-app/locales/tr.json
+++ b/packages/hoppscotch-app/locales/tr.json
@@ -216,7 +216,6 @@
"subscriptions": "abonelikler"
},
"header": {
- "account": "Hesap",
"install_pwa": "Uygulamayı yükle",
"login": "Giriş yap",
"save_workspace": "Çalışma Alanımı Kaydet"
diff --git a/packages/hoppscotch-app/locales/tw.json b/packages/hoppscotch-app/locales/tw.json
index 9906d9e9c..5b89145dc 100644
--- a/packages/hoppscotch-app/locales/tw.json
+++ b/packages/hoppscotch-app/locales/tw.json
@@ -216,7 +216,6 @@
"subscriptions": "訂閱"
},
"header": {
- "account": "帳號",
"install_pwa": "安裝應用程式",
"login": "登入",
"save_workspace": "儲存我的工作區"
diff --git a/packages/hoppscotch-app/locales/uk.json b/packages/hoppscotch-app/locales/uk.json
index 75bdfce84..106fb5264 100644
--- a/packages/hoppscotch-app/locales/uk.json
+++ b/packages/hoppscotch-app/locales/uk.json
@@ -216,7 +216,6 @@
"subscriptions": "Підписки"
},
"header": {
- "account": "Рахунок",
"install_pwa": "Встановити додаток",
"login": "Увійти",
"save_workspace": "Зберегти мою робочу область"
diff --git a/packages/hoppscotch-app/locales/vi.json b/packages/hoppscotch-app/locales/vi.json
index 6c7ce903c..f41288588 100644
--- a/packages/hoppscotch-app/locales/vi.json
+++ b/packages/hoppscotch-app/locales/vi.json
@@ -216,7 +216,6 @@
"subscriptions": "Đăng ký"
},
"header": {
- "account": "Tài khoản",
"install_pwa": "Cài đặt ứng dụng",
"login": "Đăng nhập",
"save_workspace": "Lưu không gian làm việc của tôi"
diff --git a/packages/hoppscotch-app/pages/profile.vue b/packages/hoppscotch-app/pages/profile.vue
index 11e4fb731..f5509960b 100644
--- a/packages/hoppscotch-app/pages/profile.vue
+++ b/packages/hoppscotch-app/pages/profile.vue
@@ -28,16 +28,20 @@
>