Browse Source

Nc fix/misc UI changes (#9829)

* fix(nc-gui): update text from UI ACL to View access

* fix(nc-gui): add missing translation key

* fix: view visibility

---------

Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/9835/head
Ramesh Mane 1 week ago committed by GitHub
parent
commit
6de41d261e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      packages/nc-gui/components/dashboard/settings/DataSources.vue
  2. 4
      packages/nc-gui/components/dashboard/settings/UIAcl.vue
  3. 6
      packages/nc-gui/lang/en.json

2
packages/nc-gui/components/dashboard/settings/DataSources.vue

@ -394,7 +394,7 @@ const handleClickRow = (source: SourceType, tab?: string) => {
<a-tab-pane key="acl"> <a-tab-pane key="acl">
<template #tab> <template #tab>
<div class="tab" data-testid="nc-acl-tab"> <div class="tab" data-testid="nc-acl-tab">
<div>{{ $t('labels.uiAcl') }}</div> <div>{{ $t('labels.viewHide') }}</div>
</div> </div>
</template> </template>

4
packages/nc-gui/components/dashboard/settings/UIAcl.vue

@ -148,9 +148,9 @@ const columns = [
<template> <template>
<div class="h-full flex flex-row w-full items-center justify-center"> <div class="h-full flex flex-row w-full items-center justify-center">
<div class="w-full h-full flex flex-col"> <div class="w-full h-full flex flex-col">
<NcTooltip class="mb-4 first-letter:capital font-bold max-w-100 truncate" show-on-truncate-only> <NcTooltip class="mb-4 first-letter:capital" show-on-truncate-only>
<template #title>{{ base.title }}</template> <template #title>{{ base.title }}</template>
<span> UI ACL : {{ base.title }} </span> <span> Control view visibility for different roles to manage access efficiently. </span>
</NcTooltip> </NcTooltip>
<div class="flex flex-row items-center w-full mb-4 gap-2 justify-between"> <div class="flex flex-row items-center w-full mb-4 gap-2 justify-between">
<a-input <a-input

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

@ -1006,7 +1006,8 @@
"coverImageArea": "Cover image", "coverImageArea": "Cover image",
"syncData": "Sync data", "syncData": "Sync data",
"syncDataModalSubtitle": "Register the services you are interested in to get notified when they become available", "syncDataModalSubtitle": "Register the services you are interested in to get notified when they become available",
"redirectToUrl": "Redirect to URL" "redirectToUrl": "Redirect to URL",
"viewHide": "View visibility "
}, },
"activity": { "activity": {
"assignView": "Assign view", "assignView": "Assign view",
@ -1266,7 +1267,8 @@
"group": "Group", "group": "Group",
"goToDocs": "Go to Docs", "goToDocs": "Go to Docs",
"addCondition": "Add condition", "addCondition": "Add condition",
"addConditionGroup": "Add condition group" "addConditionGroup": "Add condition group",
"pending": "Pending"
}, },
"tooltip": { "tooltip": {
"currentDateNotAvail": "Current date option not available for the data source or the data type", "currentDateNotAvail": "Current date option not available for the data source or the data type",

Loading…
Cancel
Save