Browse Source

fix(nc-gui): pr review changes #2326

pull/7634/head
Ramesh Mane 7 months ago
parent
commit
3f2d95e08b
  1. 2
      packages/nc-gui/components/account/UserList.vue
  2. 7
      packages/nc-gui/components/smartsheet/details/Webhooks.vue
  3. 13
      packages/nc-gui/components/virtual-cell/components/ListChildItems.vue
  4. 2
      packages/nc-gui/components/workspace/CollaboratorsList.vue
  5. 14
      packages/nc-gui/lang/en.json

2
packages/nc-gui/components/account/UserList.vue

@ -347,7 +347,7 @@ const openDeleteModal = (user: UserType) => {
</div> </div>
<div <div
v-if="sortedUsers.length === 1" v-if="sortedUsers.length === 1"
class="user pt-12 pb-4 flex flex-col items-center gap-6 text-center border-b-1 border-l-1 border-r-1" class="user pt-12 pb-4 px-2 flex flex-col items-center gap-6 text-center border-b-1 border-l-1 border-r-1"
> >
<div class="text-2xl text-gray-800 font-bold"> <div class="text-2xl text-gray-800 font-bold">
{{ $t('placeholder.inviteYourTeam') }} {{ $t('placeholder.inviteYourTeam') }}

7
packages/nc-gui/components/smartsheet/details/Webhooks.vue

@ -199,11 +199,8 @@ watch(
<div v-if="!selectedHookId && !isDraftMode" class="flex flex-col h-full w-full items-center"> <div v-if="!selectedHookId && !isDraftMode" class="flex flex-col h-full w-full items-center">
<div v-if="hooks.length === 0" class="flex flex-col px-1.5 py-2.5 ml-1 h-full items-center gap-y-6 text-center"> <div v-if="hooks.length === 0" class="flex flex-col px-1.5 py-2.5 ml-1 h-full items-center gap-y-6 text-center">
<img src="~assets/img/placeholder/webhooks.png" class="!w-[24rem] flex-none" /> <img src="~assets/img/placeholder/webhooks.png" class="!w-[24rem] flex-none" />
<div class="flex text-gray-700 font-bold text-2xl">{{ $t('msg.createWebhookMsg1') }}</div> <div class="text-gray-700 font-bold text-2xl">{{ $t('msg.createWebhookMsg1') }}</div>
<div class="flex flex-col items-center ext-gray-700"> <div class="text-gray-700 max-w-[24rem]">{{ $t('msg.createWebhookMsg2') }}</div>
<div class="flex">{{ $t('msg.createWebhookMsg2') }}</div>
<div class="flex">{{ $t('msg.createWebhookMsg3') }}</div>
</div>
<NcButton v-e="['c:actions:webhook']" class="flex max-w-40" type="primary" @click="createWebhook()"> <NcButton v-e="['c:actions:webhook']" class="flex max-w-40" type="primary" @click="createWebhook()">
<div class="flex flex-row items-center justify-between w-full"> <div class="flex flex-row items-center justify-between w-full">
<span class="ml-1">{{ $t('activity.newWebhook') }}</span> <span class="ml-1">{{ $t('activity.newWebhook') }}</span>

13
packages/nc-gui/components/virtual-cell/components/ListChildItems.vue

@ -299,16 +299,11 @@ onUnmounted(() => {
</template> </template>
</div> </div>
</div> </div>
<div v-else class="pt-1 flex flex-col gap-4 my-auto items-center justify-center text-gray-500"> <div v-else class="pt-1 flex flex-col gap-4 my-auto items-center justify-center text-gray-500 text-center">
<img src="~assets/img/placeholder/link-records.png" class="!w-[18.5rem] flex-none" /> <img src="~assets/img/placeholder/link-records.png" class="!w-[18.5rem] flex-none" />
<div class="text-2xl text-gray-700 font-bold text-center">{{ $t('msg.noLinkedRecords') }}</div> <div class="text-2xl text-gray-700 font-bold">{{ $t('msg.noLinkedRecords') }}</div>
<div class="text-center text-gray-700"> <div class="text-gray-700">
<div> {{ $t('msg.clickLinkRecordsToAddLinkFromTable', { tableName: relatedTableMeta?.title }) }}
{{ $t('msg.noRecordsHaveBeenLinkedYetFromTable', { tableName: relatedTableMeta?.title }) }}
</div>
<div>
{{ $t('msg.clickLinkRecordsToAddLink') }}
</div>
</div> </div>
<NcButton <NcButton

2
packages/nc-gui/components/workspace/CollaboratorsList.vue

@ -152,7 +152,7 @@ onMounted(async () => {
</NcDropdown> </NcDropdown>
</div> </div>
</div> </div>
<div v-if="sortedCollaborators.length === 1" class="pt-12 pb-4 flex flex-col items-center gap-6 text-center"> <div v-if="sortedCollaborators.length === 1" class="pt-12 pb-4 px-2 flex flex-col items-center gap-6 text-center">
<div class="text-2xl text-gray-800 font-bold"> <div class="text-2xl text-gray-800 font-bold">
{{ $t('placeholder.inviteYourTeam') }} {{ $t('placeholder.inviteYourTeam') }}
</div> </div>

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

@ -667,7 +667,7 @@
"deletedField": "Deleted field", "deletedField": "Deleted field",
"incompleteConfiguration": "Incomplete configuration", "incompleteConfiguration": "Incomplete configuration",
"selectField": "Select a field", "selectField": "Select a field",
"selectFieldLabel": "Make changes to field properties by selecting a field from the list" "selectFieldLabel": "Begin by selecting a field to customise its properties and structure."
} }
}, },
"activity": { "activity": {
@ -963,11 +963,11 @@
"value": "Value", "value": "Value",
"key": "Key", "key": "Key",
"createTable": "Create your First Table!", "createTable": "Create your First Table!",
"createTableLabel": "From scratch or import or connect to external database", "createTableLabel": "Create your first table effortlessly, from scratch, or by importing/connecting to an external database.",
"noTokenCreated":"No API Tokens created", "noTokenCreated":"No API Tokens created",
"noTokenCreatedLabel" :"Looks like you haven’t generated any API tokens yet.", "noTokenCreatedLabel" :"Begin by creating API tokens to unlock advanced functionalities.",
"inviteYourTeam": "Invite your team", "inviteYourTeam": "Invite your team",
"inviteYourTeamLabel": "Fast track your projects by collaborating on them with your team!" "inviteYourTeamLabel": "Streamline collaboration and productivity with your team – start by inviting them to join your workspace."
}, },
"msg": { "msg": {
"clickToCopyFieldId": "Click to copy Field Id", "clickToCopyFieldId": "Click to copy Field Id",
@ -1052,8 +1052,7 @@
"tooltip_desc": "A single record from table ", "tooltip_desc": "A single record from table ",
"tooltip_desc2": " can be linked with a single record from table " "tooltip_desc2": " can be linked with a single record from table "
}, },
"noRecordsHaveBeenLinkedYetFromTable": "Looks like no records have been linked yet from table {tableName}.", "clickLinkRecordsToAddLinkFromTable": "Click 'Link Records' to begin associating data with '{tableName}'.",
"clickLinkRecordsToAddLink": "Click on Link records to do so.",
"noRecordsLinked": "No records linked", "noRecordsLinked": "No records linked",
"noLinkedRecords": "No linked records", "noLinkedRecords": "No linked records",
"recordsLinked": "records linked", "recordsLinked": "records linked",
@ -1063,8 +1062,7 @@
"selectFieldToGroup": "Select Field to Group", "selectFieldToGroup": "Select Field to Group",
"thereAreNoRecordsInTable": "There are no records in table", "thereAreNoRecordsInTable": "There are no records in table",
"createWebhookMsg1": "Get started with web-hooks!", "createWebhookMsg1": "Get started with web-hooks!",
"createWebhookMsg2": "Create web-hooks to power you automations,", "createWebhookMsg2": "Power you automations. Get notified as soon as there are changes in your data",
"createWebhookMsg3": "Get notified as soon as there are changes in your data",
"areYouSureUWantTo": "Are you sure you want to delete the following", "areYouSureUWantTo": "Are you sure you want to delete the following",
"areYouSureUWantToDeleteLabel": "Are you sure you want to {deleteLabel} the following", "areYouSureUWantToDeleteLabel": "Are you sure you want to {deleteLabel} the following",
"idColumnRequired": "ID field is required, you can rename this later if required.", "idColumnRequired": "ID field is required, you can rename this later if required.",

Loading…
Cancel
Save