-
{{ $t('title.renameFile') }}
+
+
+
{{ $t('title.renameFile') }}
-
-
+
+
- {{ $t('general.cancel') }}
- {{ $t('general.confirm') }}
+ {{ $t('general.cancel') }}
+ {{ $t('general.confirm') }}
-
-
diff --git a/packages/nc-gui/components/dashboard/TreeView/CreateViewBtn.vue b/packages/nc-gui/components/dashboard/TreeView/CreateViewBtn.vue
index 35d3fefbbd..b0a8057426 100644
--- a/packages/nc-gui/components/dashboard/TreeView/CreateViewBtn.vue
+++ b/packages/nc-gui/components/dashboard/TreeView/CreateViewBtn.vue
@@ -37,6 +37,7 @@ async function onOpenModal({
copyViewId,
groupingFieldColumnId,
calendarRange,
+ coverImageColumnId,
}: {
title?: string
type: ViewTypes
@@ -46,6 +47,7 @@ async function onOpenModal({
fk_from_column_id: string
fk_to_column_id: string | null // for ee only
}>
+ coverImageColumnId?: string
}) {
if (isViewListLoading.value) return
@@ -69,6 +71,7 @@ async function onOpenModal({
'selectedViewId': copyViewId,
calendarRange,
groupingFieldColumnId,
+ coverImageColumnId,
'onUpdate:modelValue': closeDialog,
'onCreated': async (view: ViewType) => {
closeDialog()
diff --git a/packages/nc-gui/components/dashboard/TreeView/ViewsList.vue b/packages/nc-gui/components/dashboard/TreeView/ViewsList.vue
index cc7c890357..a4c90a6db7 100644
--- a/packages/nc-gui/components/dashboard/TreeView/ViewsList.vue
+++ b/packages/nc-gui/components/dashboard/TreeView/ViewsList.vue
@@ -13,6 +13,7 @@ interface Emits {
title?: string
copyViewId?: string
groupingFieldColumnId?: string
+ coverImageColumnId?: string
},
): void
@@ -337,6 +338,7 @@ function onOpenModal({
copyViewId,
groupingFieldColumnId,
calendarRange,
+ coverImageColumnId,
}: {
title?: string
type: ViewTypes
@@ -346,6 +348,7 @@ function onOpenModal({
fk_from_column_id: string
fk_to_column_id: string | null // for ee only
}>
+ coverImageColumnId?: string
}) {
const isOpen = ref(true)
@@ -358,6 +361,7 @@ function onOpenModal({
groupingFieldColumnId,
'views': views,
calendarRange,
+ coverImageColumnId,
'onUpdate:modelValue': closeDialog,
'onCreated': async (view: ViewType) => {
closeDialog()
diff --git a/packages/nc-gui/components/dashboard/TreeView/ViewsNode.vue b/packages/nc-gui/components/dashboard/TreeView/ViewsNode.vue
index 45a5f1d975..e095e6f70a 100644
--- a/packages/nc-gui/components/dashboard/TreeView/ViewsNode.vue
+++ b/packages/nc-gui/components/dashboard/TreeView/ViewsNode.vue
@@ -21,7 +21,10 @@ interface Emits {
(event: 'delete', view: ViewType): void
- (event: 'openModal', data: { type: ViewTypes; title?: string; copyViewId?: string; groupingFieldColumnId?: string }): void
+ (
+ event: 'openModal',
+ data: { type: ViewTypes; title?: string; copyViewId?: string; groupingFieldColumnId?: string; coverImageColumnId?: string },
+ ): void
}
const props = defineProps
()
diff --git a/packages/nc-gui/components/dlg/ProjectDelete.vue b/packages/nc-gui/components/dlg/ProjectDelete.vue
index cf0e898bd2..7f3eae08f6 100644
--- a/packages/nc-gui/components/dlg/ProjectDelete.vue
+++ b/packages/nc-gui/components/dlg/ProjectDelete.vue
@@ -51,7 +51,7 @@ const onDelete = async () => {
-
+
-
+
{{ $t('general.duplicate') }} {{ $t('objects.project') }}
-
{{ $t('msg.warning.duplicateProject') }}
+
{{ $t('msg.warning.duplicateProject') }}
{{ $t('title.advancedSettings') }}
@@ -154,8 +153,10 @@ const isEaster = ref(false)
- {{ $t('general.cancel') }}
- {{
+ $t('general.cancel')
+ }}
+ {{ $t('general.confirm') }}
diff --git a/packages/nc-gui/components/dlg/TableCreate.vue b/packages/nc-gui/components/dlg/TableCreate.vue
index 4f3f9b0ce7..3e0447da81 100644
--- a/packages/nc-gui/components/dlg/TableCreate.vue
+++ b/packages/nc-gui/components/dlg/TableCreate.vue
@@ -121,29 +121,46 @@ onMounted(() => {
-
+
-
-
+
+
{{ $t('activity.createTable') }}
-
-
-
-
-
-
- Hybrid Table
-
-
+
+
+
+
+
+
+
+ Hybrid Table
+
+
+
@@ -171,12 +188,13 @@ onMounted(() => {
-
-
{{ $t('general.cancel') }}
+
+
{{ $t('general.cancel') }}
{
-
+
-
+
{{ $t('general.duplicate') }} {{ $t('objects.table') }}
-
{{ $t('msg.warning.duplicateTable') }}
+
{{ $t('msg.warning.duplicateTable') }}
{{ $t('title.advancedSettings') }}
@@ -158,8 +157,10 @@ const isEaster = ref(false)
- {{ $t('general.cancel') }}
- {{
+ $t('general.cancel')
+ }}
+ {{ $t('general.confirm') }}
diff --git a/packages/nc-gui/components/dlg/TableRename.vue b/packages/nc-gui/components/dlg/TableRename.vue
index ec0e6c137a..cf456d19bf 100644
--- a/packages/nc-gui/components/dlg/TableRename.vue
+++ b/packages/nc-gui/components/dlg/TableRename.vue
@@ -174,33 +174,34 @@ const renameTable = async (undo = false, disableTitleDiffCheck?: boolean | undef
-
+
{{ $t('activity.renameTable') }}
-
+
renameTable()"
/>
-
-
{{ $t('general.cancel') }}
+
+
{{ $t('general.cancel') }}
+ coverImageColumnId?: string
}
interface Emits {
@@ -38,6 +39,7 @@ interface Form {
fk_from_column_id: string
fk_to_column_id: string | null // for ee only
}>
+ fk_cover_image_col_id: string | null
}
const props = withDefaults(defineProps(), {
@@ -45,6 +47,7 @@ const props = withDefaults(defineProps(), {
groupingFieldColumnId: undefined,
geoDataFieldColumnId: undefined,
calendarRange: undefined,
+ coverImageColumnId: undefined,
})
const emits = defineEmits()
@@ -55,7 +58,7 @@ const { viewsByTable } = storeToRefs(useViewsStore())
const { refreshCommandPalette } = useCommandPalette()
-const { selectedViewId, groupingFieldColumnId, geoDataFieldColumnId, tableId } = toRefs(props)
+const { selectedViewId, groupingFieldColumnId, geoDataFieldColumnId, tableId, coverImageColumnId } = toRefs(props)
const meta = ref()
@@ -88,13 +91,14 @@ const form = reactive