From 0e2dd400e4a861c06667d71addeeb07b6e6b463a Mon Sep 17 00:00:00 2001 From: Joel Jacob Stephen <70131076+JoelJacobStephen@users.noreply.github.com> Date: Tue, 5 Mar 2024 09:19:28 +0530 Subject: [PATCH] style: ui modifications to data sharing and newsletter component --- packages/hoppscotch-sh-admin/locales/en.json | 1 + .../hoppscotch-sh-admin/src/components.d.ts | 2 - .../setup/DataSharingAndNewsletter.vue | 93 +++++++++---------- 3 files changed, 44 insertions(+), 52 deletions(-) diff --git a/packages/hoppscotch-sh-admin/locales/en.json b/packages/hoppscotch-sh-admin/locales/en.json index d888de6cd..b937b2c82 100644 --- a/packages/hoppscotch-sh-admin/locales/en.json +++ b/packages/hoppscotch-sh-admin/locales/en.json @@ -22,6 +22,7 @@ "title": "Data Sharing", "description": "Help improve Hoppscotch by sharing anonymous data", "enable": "Enable Data Sharing", + "secondary_title": "Data Sharing Configurations", "see_shared": "See what is shared", "toggle_description": "Share anonymous data", "update_failure": "Failed to update data sharing configurations!!" diff --git a/packages/hoppscotch-sh-admin/src/components.d.ts b/packages/hoppscotch-sh-admin/src/components.d.ts index 72176752b..671efba5f 100644 --- a/packages/hoppscotch-sh-admin/src/components.d.ts +++ b/packages/hoppscotch-sh-admin/src/components.d.ts @@ -29,10 +29,8 @@ declare module '@vue/runtime-core' { HoppSmartTable: typeof import('@hoppscotch/ui')['HoppSmartTable'] HoppSmartTabs: typeof import('@hoppscotch/ui')['HoppSmartTabs'] HoppSmartToggle: typeof import('@hoppscotch/ui')['HoppSmartToggle'] - IconLucideArrowLeft: typeof import('~icons/lucide/arrow-left')['default'] IconLucideChevronDown: typeof import('~icons/lucide/chevron-down')['default'] IconLucideInbox: typeof import('~icons/lucide/inbox')['default'] - IconLucideUser: typeof import('~icons/lucide/user')['default'] SettingsAuthProvider: typeof import('./components/settings/AuthProvider.vue')['default'] SettingsConfigurations: typeof import('./components/settings/Configurations.vue')['default'] SettingsDataSharing: typeof import('./components/settings/DataSharing.vue')['default'] diff --git a/packages/hoppscotch-sh-admin/src/components/setup/DataSharingAndNewsletter.vue b/packages/hoppscotch-sh-admin/src/components/setup/DataSharingAndNewsletter.vue index a06babc2a..3ff9284b6 100644 --- a/packages/hoppscotch-sh-admin/src/components/setup/DataSharingAndNewsletter.vue +++ b/packages/hoppscotch-sh-admin/src/components/setup/DataSharingAndNewsletter.vue @@ -1,67 +1,63 @@