+
+
+ {{ item.title }}
+
+
+
{{ $t('title.downloadFile') }}
-
-
+
+
{{ $t('title.renameFile') }}
-
-
+
+
-
+
{{ $t('title.removeFile') }}
-
-
+
+
@@ -251,5 +263,9 @@ const handleFileDelete = (i: number) => {
@apply !pointer-events-none;
}
}
+
+ .nc-checkbox > .ant-checkbox {
+ box-shadow: none !important;
+ }
}
diff --git a/packages/nc-gui/components/cell/attachment/UploadProviders/Local.vue b/packages/nc-gui/components/cell/attachment/UploadProviders/Local.vue
index 035569cf1d..704cefe33f 100644
--- a/packages/nc-gui/components/cell/attachment/UploadProviders/Local.vue
+++ b/packages/nc-gui/components/cell/attachment/UploadProviders/Local.vue
@@ -106,7 +106,7 @@ onBeforeUnmount(() => {
ref="dropZoneRef"
:class="{
'border-brand-500': isOverDropZone,
- 'border-dashed border-1': !tempFiles.length,
+ 'border-dashed border-2': !tempFiles.length,
}"
data-testid="attachment-drop-zone"
:style="`height: ${tempFiles.length > 0 ? '324px' : '100%'}`"
@@ -115,11 +115,11 @@ onBeforeUnmount(() => {
>
-
+
{{ $t('labels.clickTo') }}
- {{ $t('labels.browseFiles') }}
+ {{ $t('labels.browseFiles') }}
{{ $t('general.or') }}
{{ $t('labels.dragFilesHere') }}
diff --git a/packages/nc-gui/components/cell/attachment/UploadProviders/Url.vue b/packages/nc-gui/components/cell/attachment/UploadProviders/Url.vue
index 55571c69de..148fb217c1 100644
--- a/packages/nc-gui/components/cell/attachment/UploadProviders/Url.vue
+++ b/packages/nc-gui/components/cell/attachment/UploadProviders/Url.vue
@@ -38,7 +38,7 @@ const deleteAttachment = (index: number) => {
tempAttachments.value.splice(index, 1)
}
-const isValidUrl = ref(true)
+const isValidUrl = ref(false)
const errorMessage = ref('')
diff --git a/packages/nc-gui/components/cell/attachment/index.vue b/packages/nc-gui/components/cell/attachment/index.vue
index 2bcf8a52b8..ef1edacd1b 100644
--- a/packages/nc-gui/components/cell/attachment/index.vue
+++ b/packages/nc-gui/components/cell/attachment/index.vue
@@ -129,6 +129,7 @@ watch(
const isNewAttachmentModalOpen = ref(false)
useSelectedCellKeyupListener(inject(ActiveCellInj, ref(false)), (e) => {
+ if (modalVisible.value) return
if (e.key === 'Enter' && !isReadonly.value && !selectedFile.value) {
if (isNewAttachmentModalOpen.value) return
e.stopPropagation()
@@ -238,9 +239,13 @@ const handleFileDelete = (i: number) => {
-
+
{{ item.title }}
-
+
+
+ {{ item.title }}
+
+
{{ $t('title.downloadFile') }}