From 5e90661a0848290e755c0ff18895bb024f3bd8f5 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Tue, 27 Aug 2024 07:23:44 +0000 Subject: [PATCH] refactor: review comments --- packages/nc-gui/components/account/Setup.vue | 14 +++++++++++--- .../nc-gui/components/account/setup/Config.vue | 12 +----------- packages/nc-gui/components/account/setup/List.vue | 14 ++++++++++++-- .../nc-gui/composables/useAccountSetupStore.ts | 3 +++ 4 files changed, 27 insertions(+), 16 deletions(-) diff --git a/packages/nc-gui/components/account/Setup.vue b/packages/nc-gui/components/account/Setup.vue index 922d81014c..ebc2007bb9 100644 --- a/packages/nc-gui/components/account/Setup.vue +++ b/packages/nc-gui/components/account/Setup.vue @@ -15,7 +15,7 @@ const configs = computed(() => [ key: 'email', description: 'Configure your preferred email service to manage how your application sends alerts, notifications and other essential emails.', - docsLink: 'https://docs.nocodb.com', + docsLink: 'https://docs.nocodb.com/account-settings/oss-specific-details#configure-email', buttonClick: () => { navigateTo(`/account/setup/email${emailConfigured.value ? `/${emailConfigured.value.title}` : ''}`) }, @@ -28,7 +28,7 @@ const configs = computed(() => [ title: t('labels.configLabel', { label: t('labels.storage') }), key: 'storage', description: 'Set up and manage your preferred storage solution for securely handling and storing your application’s data.', - docsLink: 'https://docs.nocodb.com', + docsLink: 'https://docs.nocodb.com/account-settings/oss-specific-details#configure-storage', buttonClick: () => { navigateTo(`/account/setup/storage${storageConfigured.value ? `/${storageConfigured.value.title}` : ''}`) }, @@ -98,7 +98,15 @@ onMounted(async () => {
{{ config.description }}
- +
Go to docs diff --git a/packages/nc-gui/components/account/setup/Config.vue b/packages/nc-gui/components/account/setup/Config.vue index b207c130d9..1a6f8705cc 100644 --- a/packages/nc-gui/components/account/setup/Config.vue +++ b/packages/nc-gui/components/account/setup/Config.vue @@ -86,7 +86,7 @@ const docLinks = computed(() => { return [ { title: 'Application Setup', - url: `https://docs.nocodb.com/account-settings/oss-specific-details#configure-${plugin.value?.categor?.toLowerCase()}`, + url: `https://docs.nocodb.com/account-settings/oss-specific-details#configure-${plugin.value?.category?.toLowerCase()}`, }, ...(plugin.value?.formDetails?.docs || []), ] @@ -140,16 +140,6 @@ const docLinks = computed(() => {