Browse Source

fix: sub-text & alignments

pull/9161/head
Raju Udava 4 months ago committed by Ramesh Mane
parent
commit
3e10559d7c
  1. 4
      packages/nc-gui/components/dashboard/settings/data-sources/SourceRestrictions.vue
  2. 41
      packages/nc-gui/components/project/AllTables.vue
  3. 2
      packages/nc-gui/components/workspace/integrations/List.vue
  4. 5
      packages/nc-gui/components/workspace/integrations/newAvailableList.vue
  5. 4
      packages/nc-gui/lang/en.json

4
packages/nc-gui/components/dashboard/settings/data-sources/SourceRestrictions.vue

@ -12,7 +12,7 @@ const metaWrite = useVModel(props, 'allowMetaWrite', emits)
<template>
<a-form-item class="nc-source-restictions-card">
<div class="flex flex-col gap-2">
<div class="flex flex-col gap-1">
<div class="flex items-center gap-3">
<NcTooltip :disabled="!metaWrite" placement="topLeft" class="flex">
<template #title>
@ -30,7 +30,7 @@ const metaWrite = useVModel(props, 'allowMetaWrite', emits)
</div>
</a-form-item>
<a-form-item class="nc-source-restictions-card">
<div class="flex flex-col gap-2">
<div class="flex flex-col gap-1">
<div class="flex items-center gap-3">
<a-switch
v-model:checked="metaWrite"

41
packages/nc-gui/components/project/AllTables.vue

@ -130,7 +130,7 @@ const onCreateBaseClick = () => {
<div class="label">{{ $t('general.create') }} {{ $t('general.new') }} {{ $t('objects.table') }}</div>
</div>
<div class="subtext">Start from scratch by creating a new table.</div>
<div class="subtext">Start from scratch.</div>
</div>
<div
@ -145,9 +145,14 @@ const onCreateBaseClick = () => {
<GeneralIcon icon="download" class="!text-orange-700 !h-5 !w-5" />
<div class="label">{{ $t('activity.import') }} {{ $t('general.data') }}</div>
</div>
<div class="subtext">Quickly bring in existing data from various files & external sources.</div>
<div class="subtext">From files & external sources</div>
</div>
<NcTooltip v-if="isUIAllowed('sourceCreate')" placement="bottom" :disabled="!isDataSourceLimitReached" class="flex-none flex">
<NcTooltip
v-if="isUIAllowed('sourceCreate')"
placement="bottom"
:disabled="!isDataSourceLimitReached"
class="flex-none flex"
>
<template #title>
{{ $t('tooltip.reachedSourceLimit') }}
</template>
@ -165,24 +170,24 @@ const onCreateBaseClick = () => {
<GeneralIcon icon="server1" class="!text-green-700 !h-5 !w-5" />
<div class="label">{{ $t('labels.connectDataSource') }}</div>
</div>
<div class="subtext">Connect directly in realtime to external databases.</div>
<div class="subtext">In realtime to external databases.</div>
</div>
</NcTooltip>
<div
v-if="isUIAllowed('tableCreate', { source: base?.sources?.[0] })"
v-e="['c:table:create-source']"
role="button"
class="nc-base-view-all-table-btn"
data-testid="proj-view-btn__create-source"
@click="syncDataModalOpen = true"
>
<div class="flex items-center gap-3">
<GeneralIcon icon="refresh" class="!text-blue-700 !h-5 !w-5" />
<div class="label capitalize">{{ $t('labels.syncData') }}</div>
</div>
<div class="subtext">Keep your data updated and in sync across multiple sources.</div>
</div>
<!-- <div-->
<!-- v-if="isUIAllowed('tableCreate', { source: base?.sources?.[0] })"-->
<!-- v-e="['c:table:create-source']"-->
<!-- role="button"-->
<!-- class="nc-base-view-all-table-btn"-->
<!-- data-testid="proj-view-btn__create-source"-->
<!-- @click="syncDataModalOpen = true"-->
<!-- >-->
<!-- <div class="flex items-center gap-3">-->
<!-- <GeneralIcon icon="refresh" class="!text-blue-700 !h-5 !w-5" />-->
<!-- <div class="label capitalize">{{ $t('labels.syncData') }}</div>-->
<!-- </div>-->
<!-- <div class="subtext">Keep your data updated and in sync across multiple sources.</div>-->
<!-- </div>-->
</div>
<div
v-if="base?.isLoading"

2
packages/nc-gui/components/workspace/integrations/List.vue

@ -225,7 +225,7 @@ onKeyStroke('ArrowDown', onDown)
<div class="flex justify-between gap-12">
<div class="text-sm font-normal text-gray-600">
<div>
Connections simplify managing stored configurations for different integrations.
Manage connections for your integrations.
<a target="_blank" rel="noopener noreferrer"> Learn more </a>
</div>
</div>

5
packages/nc-gui/components/workspace/integrations/newAvailableList.vue

@ -83,10 +83,7 @@ const handleAddIntegration = (type: typeof integrationType) => {
'max-w-[740px]': !isModal,
}"
>
<div>
Centralise your operations by aggregating information from various external platforms into NocoDB. Select from the
available integrations below to get started. <a target="_blank" rel="noopener noreferrer"> Learn more </a>
</div>
<div>Connect integrations with NocoDB. <a target="_blank" rel="noopener noreferrer"> Learn more </a></div>
</div>
<div class="integration-type-wrapper">

4
packages/nc-gui/lang/en.json

@ -1787,8 +1787,8 @@
"passwordChanged": "Password changed successfully. Please login again.",
"settingsSaved": "Settings saved successfully",
"roleUpdated": "Role updated successfully",
"connectionAdded": "Connection Successfully Created",
"connectionAddedDesc": "All Base owners & creators in this Workspace can now use this connection to easily add a new Data Source to their Base."
"connectionAdded": "Integration connected successfully",
"connectionAddedDesc": "Base owners and creators can now add a data source without re-entering credentials."
}
}
}

Loading…
Cancel
Save