Skip to content

Commit 943cde6

Browse files
Merge pull request #4577 from nocodb/develop
2 parents e8de224 + 989c568 commit 943cde6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+494
-205
lines changed

package-lock.json

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/nc-cli/package-lock.json

+12-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/nc-gui/assets/style.scss

+4-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,10 @@ a {
287287
@apply !top-[50px];
288288
}
289289

290-
291290
.ant-select-item-option-active:not(.ant-select-item-option-disabled) {
292291
@apply bg-primary bg-opacity-20;
293292
}
293+
294+
.ant-select-selection-search-input:focus {
295+
@apply !ring-0;
296+
}

packages/nc-gui/components/virtual-cell/components/ListItems.vue

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
IsPublicInj,
99
computed,
1010
inject,
11+
isDrawerExist,
1112
ref,
1213
useLTARStoreOrThrow,
1314
useSelectedCellKeyupListener,
@@ -145,7 +146,7 @@ useSelectedCellKeyupListener(vModel, (e: KeyboardEvent) => {
145146
break
146147
default: {
147148
const el = filterQueryRef.value?.$el
148-
if (el) {
149+
if (el && !isDrawerExist()) {
149150
filterQueryRef.value.$el.focus()
150151
}
151152
}

packages/nc-gui/composables/useMultiSelect/index.ts

+3-17
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
extractPkFromRow,
1111
extractSdkResponseErrorMsg,
1212
isMac,
13+
isTypableInputColumn,
1314
message,
1415
reactive,
1516
ref,
@@ -248,22 +249,7 @@ export function useMultiSelect(
248249

249250
const columnObj = unref(fields)[selectedCell.col]
250251

251-
if (
252-
(!unref(editEnabled) ||
253-
[
254-
UITypes.DateTime,
255-
UITypes.Date,
256-
UITypes.Year,
257-
UITypes.Time,
258-
UITypes.Lookup,
259-
UITypes.Rollup,
260-
UITypes.Formula,
261-
UITypes.Attachment,
262-
UITypes.Checkbox,
263-
UITypes.Rating,
264-
].includes(columnObj.uidt as UITypes)) &&
265-
(isMac() ? e.metaKey : e.ctrlKey)
266-
) {
252+
if ((!unref(editEnabled) || !isTypableInputColumn(columnObj)) && (isMac() ? e.metaKey : e.ctrlKey)) {
267253
switch (e.keyCode) {
268254
// copy - ctrl/cmd +c
269255
case 67:
@@ -350,7 +336,7 @@ export function useMultiSelect(
350336
// Update not allowed for table which doesn't have primary Key
351337
return message.info(t('msg.info.updateNotAllowedWithoutPK'))
352338
}
353-
if (makeEditable(rowObj, columnObj) && columnObj.title) {
339+
if (isTypableInputColumn(columnObj) && makeEditable(rowObj, columnObj) && columnObj.title) {
354340
rowObj.row[columnObj.title] = ''
355341
}
356342
// editEnabled = true

packages/nc-gui/lang/ar.json

+12-3
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,12 @@
6969
"betaNote": "هذه الميزة حاليا في بيتا.",
7070
"moreInfo": "المزيد من المعلومات تجدها هنا",
7171
"logs": "السجلات",
72-
"groupingField": "Grouping Field"
72+
"groupingField": "Grouping Field",
73+
"insertAfter": "Insert After",
74+
"insertBefore": "Insert Before",
75+
"hideField": "Hide Field",
76+
"sortAsc": "Sort Ascending",
77+
"sortDesc": "Sort Descending"
7378
},
7479
"objects": {
7580
"project": "مشروع",
@@ -199,7 +204,8 @@
199204
"quickImportFrom": "استيراد سريع من",
200205
"quickImport": "استيراد سريع",
201206
"advancedSettings": "الإعدادات المتقدمة",
202-
"codeSnippet": "كتلة برمجية"
207+
"codeSnippet": "كتلة برمجية",
208+
"keyboardShortcut": "Keyboard Shortcuts"
203209
},
204210
"labels": {
205211
"createdBy": "Created By",
@@ -496,6 +502,7 @@
496502
}
497503
},
498504
"info": {
505+
"pasteNotSupported": "Paste operation is not supported on the active cell",
499506
"roles": {
500507
"orgCreator": "Creator can create new projects and access any invited project.",
501508
"orgViewer": "Viewer is not allowed to create new projects but they can access any invited project."
@@ -613,7 +620,9 @@
613620
"deleteViewConfirmation": "هل أنت متأكد من أنك تريد حذف هذا العرض؟",
614621
"deleteTableConfirmation": "هل تريد حذف الجدول",
615622
"showM2mTables": "إظهار جداول M2M",
616-
"deleteKanbanStackConfirmation": "Deleting this stack will also remove the select option `{stackToBeDeleted}` from the `{groupingField}`. The records will move to the uncategorized stack."
623+
"deleteKanbanStackConfirmation": "Deleting this stack will also remove the select option `{stackToBeDeleted}` from the `{groupingField}`. The records will move to the uncategorized stack.",
624+
"computedFieldEditWarning": "Computed field: contents are read-only. Use column edit menu to reconfigure",
625+
"computedFieldDeleteWarning": "Computed field: contents are read-only. Unable to clear content."
617626
},
618627
"error": {
619628
"searchProject": "البحث عن {بحث} لم يتم العثور على نتائج",

packages/nc-gui/lang/bn_IN.json

+12-3
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,12 @@
6969
"betaNote": "This feature is currently in beta.",
7070
"moreInfo": "More information can be found here",
7171
"logs": "Logs",
72-
"groupingField": "Grouping Field"
72+
"groupingField": "Grouping Field",
73+
"insertAfter": "Insert After",
74+
"insertBefore": "Insert Before",
75+
"hideField": "Hide Field",
76+
"sortAsc": "Sort Ascending",
77+
"sortDesc": "Sort Descending"
7378
},
7479
"objects": {
7580
"project": "প্রকল্প",
@@ -199,7 +204,8 @@
199204
"quickImportFrom": "Quick Import From",
200205
"quickImport": "Quick Import",
201206
"advancedSettings": "Advanced Settings",
202-
"codeSnippet": "Code Snippet"
207+
"codeSnippet": "Code Snippet",
208+
"keyboardShortcut": "Keyboard Shortcuts"
203209
},
204210
"labels": {
205211
"createdBy": "Created By",
@@ -496,6 +502,7 @@
496502
}
497503
},
498504
"info": {
505+
"pasteNotSupported": "Paste operation is not supported on the active cell",
499506
"roles": {
500507
"orgCreator": "Creator can create new projects and access any invited project.",
501508
"orgViewer": "Viewer is not allowed to create new projects but they can access any invited project."
@@ -613,7 +620,9 @@
613620
"deleteViewConfirmation": "Are you sure you want to delete this view?",
614621
"deleteTableConfirmation": "Do you want to delete the table",
615622
"showM2mTables": "Show M2M Tables",
616-
"deleteKanbanStackConfirmation": "Deleting this stack will also remove the select option `{stackToBeDeleted}` from the `{groupingField}`. The records will move to the uncategorized stack."
623+
"deleteKanbanStackConfirmation": "Deleting this stack will also remove the select option `{stackToBeDeleted}` from the `{groupingField}`. The records will move to the uncategorized stack.",
624+
"computedFieldEditWarning": "Computed field: contents are read-only. Use column edit menu to reconfigure",
625+
"computedFieldDeleteWarning": "Computed field: contents are read-only. Unable to clear content."
617626
},
618627
"error": {
619628
"searchProject": "আপনার অনুসন্ধান {search} এর জন্য কোনও ফলাফল পাওয়া যায় নি",

packages/nc-gui/lang/da.json

+12-3
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,12 @@
6969
"betaNote": "This feature is currently in beta.",
7070
"moreInfo": "More information can be found here",
7171
"logs": "Logs",
72-
"groupingField": "Grouping Field"
72+
"groupingField": "Grouping Field",
73+
"insertAfter": "Insert After",
74+
"insertBefore": "Insert Before",
75+
"hideField": "Hide Field",
76+
"sortAsc": "Sort Ascending",
77+
"sortDesc": "Sort Descending"
7378
},
7479
"objects": {
7580
"project": "Projekt",
@@ -199,7 +204,8 @@
199204
"quickImportFrom": "Quick Import From",
200205
"quickImport": "Quick Import",
201206
"advancedSettings": "Advanced Settings",
202-
"codeSnippet": "Code Snippet"
207+
"codeSnippet": "Code Snippet",
208+
"keyboardShortcut": "Keyboard Shortcuts"
203209
},
204210
"labels": {
205211
"createdBy": "Created By",
@@ -496,6 +502,7 @@
496502
}
497503
},
498504
"info": {
505+
"pasteNotSupported": "Paste operation is not supported on the active cell",
499506
"roles": {
500507
"orgCreator": "Creator can create new projects and access any invited project.",
501508
"orgViewer": "Viewer is not allowed to create new projects but they can access any invited project."
@@ -613,7 +620,9 @@
613620
"deleteViewConfirmation": "Are you sure you want to delete this view?",
614621
"deleteTableConfirmation": "Do you want to delete the table",
615622
"showM2mTables": "Show M2M Tables",
616-
"deleteKanbanStackConfirmation": "Deleting this stack will also remove the select option `{stackToBeDeleted}` from the `{groupingField}`. The records will move to the uncategorized stack."
623+
"deleteKanbanStackConfirmation": "Deleting this stack will also remove the select option `{stackToBeDeleted}` from the `{groupingField}`. The records will move to the uncategorized stack.",
624+
"computedFieldEditWarning": "Computed field: contents are read-only. Use column edit menu to reconfigure",
625+
"computedFieldDeleteWarning": "Computed field: contents are read-only. Unable to clear content."
617626
},
618627
"error": {
619628
"searchProject": "Din søgning efter {Søg} viste ingen resultater",

packages/nc-gui/lang/de.json

+12-3
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,12 @@
6969
"betaNote": "Diese Funktion befindet sich derzeit in der Beta.",
7070
"moreInfo": "Mehr Informationen können hier gefunden werden",
7171
"logs": "Protokolle",
72-
"groupingField": "Grouping Field"
72+
"groupingField": "Grouping Field",
73+
"insertAfter": "Insert After",
74+
"insertBefore": "Insert Before",
75+
"hideField": "Hide Field",
76+
"sortAsc": "Sort Ascending",
77+
"sortDesc": "Sort Descending"
7378
},
7479
"objects": {
7580
"project": "Projekt",
@@ -199,7 +204,8 @@
199204
"quickImportFrom": "Schnell importieren von",
200205
"quickImport": "Schnell Importieren",
201206
"advancedSettings": "Erweiterte Einstellungen",
202-
"codeSnippet": "Code Ausschnitt"
207+
"codeSnippet": "Code Ausschnitt",
208+
"keyboardShortcut": "Keyboard Shortcuts"
203209
},
204210
"labels": {
205211
"createdBy": "Created By",
@@ -496,6 +502,7 @@
496502
}
497503
},
498504
"info": {
505+
"pasteNotSupported": "Paste operation is not supported on the active cell",
499506
"roles": {
500507
"orgCreator": "Creator can create new projects and access any invited project.",
501508
"orgViewer": "Viewer is not allowed to create new projects but they can access any invited project."
@@ -613,7 +620,9 @@
613620
"deleteViewConfirmation": "Sind Sie sicher, dass Sie diese Ansicht löschen möchten?",
614621
"deleteTableConfirmation": "Möchten Sie die Tabelle löschen",
615622
"showM2mTables": "M2M Tabellen anzeigen",
616-
"deleteKanbanStackConfirmation": "Deleting this stack will also remove the select option `{stackToBeDeleted}` from the `{groupingField}`. The records will move to the uncategorized stack."
623+
"deleteKanbanStackConfirmation": "Deleting this stack will also remove the select option `{stackToBeDeleted}` from the `{groupingField}`. The records will move to the uncategorized stack.",
624+
"computedFieldEditWarning": "Computed field: contents are read-only. Use column edit menu to reconfigure",
625+
"computedFieldDeleteWarning": "Computed field: contents are read-only. Unable to clear content."
617626
},
618627
"error": {
619628
"searchProject": "Ihre Suche nach {search} fand keine Ergebnisse",

packages/nc-gui/lang/en.json

-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@
7070
"moreInfo": "More information can be found here",
7171
"logs": "Logs",
7272
"groupingField": "Grouping Field",
73-
"duplicate": "Duplicate",
7473
"insertAfter": "Insert After",
7574
"insertBefore": "Insert Before",
7675
"hideField": "Hide Field",

packages/nc-gui/lang/es.json

+12-3
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,12 @@
6969
"betaNote": "This feature is currently in beta.",
7070
"moreInfo": "More information can be found here",
7171
"logs": "Logs",
72-
"groupingField": "Grouping Field"
72+
"groupingField": "Grouping Field",
73+
"insertAfter": "Insert After",
74+
"insertBefore": "Insert Before",
75+
"hideField": "Hide Field",
76+
"sortAsc": "Sort Ascending",
77+
"sortDesc": "Sort Descending"
7378
},
7479
"objects": {
7580
"project": "Proyecto",
@@ -199,7 +204,8 @@
199204
"quickImportFrom": "Quick Import From",
200205
"quickImport": "Quick Import",
201206
"advancedSettings": "Advanced Settings",
202-
"codeSnippet": "Code Snippet"
207+
"codeSnippet": "Code Snippet",
208+
"keyboardShortcut": "Keyboard Shortcuts"
203209
},
204210
"labels": {
205211
"createdBy": "Created By",
@@ -496,6 +502,7 @@
496502
}
497503
},
498504
"info": {
505+
"pasteNotSupported": "Paste operation is not supported on the active cell",
499506
"roles": {
500507
"orgCreator": "Creator can create new projects and access any invited project.",
501508
"orgViewer": "Viewer is not allowed to create new projects but they can access any invited project."
@@ -613,7 +620,9 @@
613620
"deleteViewConfirmation": "Are you sure you want to delete this view?",
614621
"deleteTableConfirmation": "Do you want to delete the table",
615622
"showM2mTables": "Show M2M Tables",
616-
"deleteKanbanStackConfirmation": "Deleting this stack will also remove the select option `{stackToBeDeleted}` from the `{groupingField}`. The records will move to the uncategorized stack."
623+
"deleteKanbanStackConfirmation": "Deleting this stack will also remove the select option `{stackToBeDeleted}` from the `{groupingField}`. The records will move to the uncategorized stack.",
624+
"computedFieldEditWarning": "Computed field: contents are read-only. Use column edit menu to reconfigure",
625+
"computedFieldDeleteWarning": "Computed field: contents are read-only. Unable to clear content."
617626
},
618627
"error": {
619628
"searchProject": "Tu búsqueda de {search} no encontró resultados",

0 commit comments

Comments
 (0)