From c3a3fb340718168498cb67737b0c555e2e555f4e Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Tue, 10 Jun 2025 14:45:22 +0300 Subject: [PATCH] import impr --- application/Espo/Resources/layouts/Import/filters.json | 6 ++++++ application/Espo/Resources/layouts/Import/list.json | 7 ++++--- application/Espo/Resources/metadata/clientDefs/Import.json | 2 +- application/Espo/Resources/metadata/entityDefs/Import.json | 5 ++++- 4 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 application/Espo/Resources/layouts/Import/filters.json diff --git a/application/Espo/Resources/layouts/Import/filters.json b/application/Espo/Resources/layouts/Import/filters.json new file mode 100644 index 0000000000..de4604735e --- /dev/null +++ b/application/Espo/Resources/layouts/Import/filters.json @@ -0,0 +1,6 @@ +[ + "createdAt", + "createdBy", + "entityType", + "status" +] diff --git a/application/Espo/Resources/layouts/Import/list.json b/application/Espo/Resources/layouts/Import/list.json index 3f76b88513..570cd6f6c8 100644 --- a/application/Espo/Resources/layouts/Import/list.json +++ b/application/Espo/Resources/layouts/Import/list.json @@ -1,5 +1,6 @@ [ - {"name":"createdAt", "width":50, "link": true}, - {"name":"entityType"}, - {"name":"createdBy"} + {"name":"createdAt", "link": true}, + {"name":"status", "width": 20}, + {"name":"entityType", "width": 20}, + {"name":"createdBy", "width": 20} ] diff --git a/application/Espo/Resources/metadata/clientDefs/Import.json b/application/Espo/Resources/metadata/clientDefs/Import.json index b698d07366..a8fc996b71 100644 --- a/application/Espo/Resources/metadata/clientDefs/Import.json +++ b/application/Espo/Resources/metadata/clientDefs/Import.json @@ -38,7 +38,7 @@ } ] }, - "searchPanelDisabled": true, + "textFilterDisabled": true, "relationshipPanels": { "errors": { "unlinkDisabled": true, diff --git a/application/Espo/Resources/metadata/entityDefs/Import.json b/application/Espo/Resources/metadata/entityDefs/Import.json index 5e42b7c5aa..078436d3bc 100644 --- a/application/Espo/Resources/metadata/entityDefs/Import.json +++ b/application/Espo/Resources/metadata/entityDefs/Import.json @@ -11,6 +11,8 @@ "type": "enum", "options": ["Standby", "Pending", "In Process", "Complete", "Failed"], "readOnly": true, + "displayAsLabel": true, + "labelType": "state", "style": { "Complete": "success", "Failed": "danger" @@ -54,7 +56,8 @@ }, "createdBy": { "type": "link", - "readOnly": true + "readOnly": true, + "view": "views/fields/user-with-avatar" } }, "links": {