diff --git a/src/config/frontend.config.json b/src/config/frontend.config.json index 6f6669638..404d9cd00 100644 --- a/src/config/frontend.config.json +++ b/src/config/frontend.config.json @@ -129,7 +129,7 @@ "enabled": true }, { - "name": "pid", + "name": "proposalId", "order": 1, "type": "standard", "enabled": true @@ -147,13 +147,13 @@ "enabled": true }, { - "name": "sourceFolder", + "name": "size", "order": 4, "type": "standard", "enabled": true }, { - "name": "size", + "name": "numberOfFiles", "order": 5, "type": "standard", "enabled": true @@ -165,28 +165,28 @@ "enabled": true }, { - "name": "type", + "name": "pid", "order": 7, "type": "standard", "enabled": true }, { - "name": "image", + "name": "type", "order": 8, "type": "standard", "enabled": true }, { - "name": "metadata", + "name": "image", "order": 9, "type": "standard", "enabled": false }, { - "name": "proposalId", + "name": "metadata", "order": 10, "type": "standard", - "enabled": true + "enabled": false }, { "name": "ownerGroup", @@ -199,6 +199,12 @@ "order": 12, "type": "standard", "enabled": false + }, + { + "name": "sourceFolder", + "order": 13, + "type": "standard", + "enabled": true } ], "filters": [ @@ -309,16 +315,40 @@ }, "labelsLocalization": { "dataset": { - "pid": "PID", + "pid": "Dataset Id", + "Pid": "Dataset Id", + "datasetName": "Dataset Name", "description": "Description", - "principalInvestigator": "Principal Investigator", + "type": "Dataset Record Type", + "Type": "Dataset Record Type", "keywords": "Keywords", + "runNumber": "Run Number", + "sourceFolder": "Source Folder", + "size": "Dataset Size", + "creationTime": "Record Creation Time", + "image": "Thumbnail", + "proposalId": "Proposal Id", + "metadata": "Metadata", + "ownerGroup": "Permission: Owner Group", + "dataStatus": "Dataset Status", + "principalInvestigator": "Principal Investigator", "creationTime": "Creation Time", "scientificMetadata": "Scientific Metadata", "metadataJsonView": "Metadata JsonView", "datasetName": "Dataset Name", "scientificMetadata.run_number.value": "Run Number", - "scientificMetadata.start_time": "Start Time" + "scientificMetadata.start_time": "Start Time", + "startTime": "Start Time", + "endTime": "End Time", + "numberOfFiles": "Number of Files", + "proposalIds": "Proposal Ids", + "instrumentIds": "Instrument Ids", + "inputDatasets": "Parent Datasets", + "creationLocation": "Creation Location", + "sampleIds": "Sample Ids", + "contactEmail": "Contact Email", + "ownerGroup": "Owner Group", + "accessGroups": "Access Groups" }, "proposal": { "General Information": "Proposal Information", @@ -345,28 +375,28 @@ }, "dateFormat": "yyyy-MM-dd HH:mm", "datasetDetailComponent": { - "enableCustomizedComponent": false, + "enableCustomizedComponent": true, "customization": [ { "type": "regular", - "label": "General Information", + "label": "Summary", "order": 0, "row": 1, - "col": 8, + "col": 4, "fields": [ { "element": "text", - "source": "scientificMetadata.start_time", + "source": "proposalId", "order": 0 }, { - "element": "copy", - "source": "scientificMetadata.run_number.value", + "element": "text", + "source": "runNumber", "order": 1 }, { "element": "text", - "source": "creationTime", + "source": "datasetName", "order": 2 }, { @@ -380,18 +410,18 @@ "order": 4 }, { - "element": "tag", - "source": "keywords", + "element": "text", + "source": "principalInvestigator", "order": 5 } ] }, { "type": "attachments", - "label": "Gallery", + "label": "Attachements", "order": 1, - "col": 2, - "row": 2, + "col": 4, + "row": 1, "options": { "limit": 5, "size": "medium" @@ -399,9 +429,54 @@ }, { "type": "regular", - "label": "Contact Information", + "label": "Dataset Information", "order": 2, - "col": 2, + "col": 8, + "row": 1, + "fields": [ + { + "element": "copy", + "source": "pid", + "order": 0 + }, + { + "element": "text", + "source": "datasetName", + "order": 0 + }, + { + "element": "text", + "source": "description", + "order": 0 + }, + { + "element": "text", + "source": "type", + "order": 0 + }, + { + "element": "date", + "source": "startTime", + "order": 0 + }, + { + "element": "date", + "source": "endTime", + "order": 0 + }, + { + "element": "tag", + "source": "keywords", + "order": 1 + } + ] + }, + + { + "type": "regular", + "label": "Contact Information", + "order": 3, + "col": 4, "row": 1, "fields": [ { @@ -419,13 +494,13 @@ { "type": "regular", "label": "Files Information", - "order": 3, - "col": 2, + "order": 4, + "col": 4, "row": 1, "fields": [ { "element": "text", - "source": "scientificMetadata.runnumber", + "source": "sourceFolder", "order": 0 }, { @@ -442,24 +517,14 @@ "element": "text", "source": "size", "order": 3 - }, - { - "element": "text", - "source": "numberOfFilesArchived", - "order": 4 - }, - { - "element": "text", - "source": "packedSize", - "order": 5 } ] }, { "type": "regular", "label": "Related Documents", - "order": 4, - "col": 4, + "order": 5, + "col": 8, "row": 1, "fields": [ { @@ -473,12 +538,12 @@ "order": 1 }, { - "element": "tag", + "element": "internalLink", "source": "sampleIds", "order": 2 }, { - "element": "tag", + "element": "internalLink", "source": "inputDatasets", "order": 3 }, @@ -489,43 +554,40 @@ } ] }, - { - "type": "attachments", - "label": "Gallery", - "order": 5, - "col": 1, - "row": 1, - "options": { - "limit": 2, - "size": "small" - } - }, { "type": "scientificMetadata", "label": "Scientific Metadata Table", "viewMode": "table", "order": 6, - "col": 9, - "row": 1 + "col": 8, + "row": 3 }, { "type": "scientificMetadata", "label": "Scientific Metadata JSON", "viewMode": "json", - "order": 6 - }, - { - "type": "scientificMetadata", - "label": "Scientific Metadata Tree", - "viewMode": "tree", - "order": 6 + "order": 7, + "col": 8, + "row": 1 }, { - "type": "datasetJsonView", - "label": "Dataset JsonView", - "order": 7, - "col": 10, - "row": 2 + "type": "regular", + "label": "Authorization / Permissions", + "order": 9, + "col": 8, + "row": 1, + "fields": [ + { + "element": "tag", + "source": "ownerGroup", + "order": 0 + }, + { + "element": "tag", + "source": "accessGroups", + "order": 1 + } + ] } ] },