Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
197 changes: 129 additions & 68 deletions src/config/frontend.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
},
{
"name": "pid",
"order": 1,
"order": 7,
"type": "standard",
"enabled": true
},
Expand All @@ -158,12 +158,18 @@
},
{
"name": "sourceFolder",
"order": 4,
"order": 13,
"type": "standard",
"enabled": true
},
{
"name": "size",
"order": 4,
"type": "standard",
"enabled": true
},
{
"name": "numberOfFiles",
"order": 5,
"type": "standard",
"enabled": true
Expand All @@ -176,25 +182,25 @@
},
{
"name": "type",
"order": 7,
"order": 8,
"type": "standard",
"enabled": true
},
{
"name": "image",
"order": 8,
"order": 9,
"type": "standard",
"enabled": true
"enabled": false
},
{
"name": "metadata",
"order": 9,
"order": 10,
"type": "standard",
"enabled": false
},
{
"name": "proposalId",
"order": 10,
"order": 1,
"type": "standard",
"enabled": true
},
Expand Down Expand Up @@ -223,18 +229,41 @@
"conditions": []
},
"labelsLocalization": {
"datasetDefault": {},
"datasetCustom": {
"pid": "PID",
"dataset": {
"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"
},
"proposalDefault": {
"General Information": "Proposal Information",
Expand All @@ -253,28 +282,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
},
{
Expand All @@ -288,28 +317,73 @@
"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"
}
},
{
"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": [
{
Expand All @@ -327,13 +401,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
},
{
Expand All @@ -350,24 +424,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": [
{
Expand All @@ -381,12 +445,12 @@
"order": 1
},
{
"element": "tag",
"element": "internalLink",
"source": "sampleIds",
"order": 2
},
{
"element": "tag",
"element": "internalLink",
"source": "inputDatasets",
"order": 3
},
Expand All @@ -397,43 +461,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
}
]
}
]
},
Expand Down
Loading