Skip to content

Commit

Permalink
Merge pull request #1346 from SciCatProject/fe-configuration-datafile…
Browse files Browse the repository at this point in the history
…s-actions

build: updated configuration for new FE datafiles actions
  • Loading branch information
nitrosx authored Jul 29, 2024
2 parents 7545b27 + 9a167f5 commit 70f98b5
Showing 1 changed file with 54 additions and 8 deletions.
62 changes: 54 additions & 8 deletions src/config/frontend.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,31 @@
"accessTokenPrefix": "Bearer ",
"addDatasetEnabled": false,
"archiveWorkflowEnabled": false,
"datasetReduceEnabled": false,
"datasetJsonScientificMetadata": true,
"datasetReduceEnabled": true,
"editDatasetSampleEnabled": true,
"editMetadataEnabled": true,
"editPublishedData": false,
"addSampleEnabled": false,
"externalAuthEndpoint": "/api/v3/auth/msad",
"facility": "ESS",
"loginFacilityLabel": "ESS",
"facility": "SciCat Vanilla",
"siteIcon": "site-header-logo.png",
"loginFacilityLabel": "SciCat Vanilla",
"loginLdapLabel": "Ldap",
"loginLocalLabel": "Local",
"loginFacilityEnabled": true,
"loginLdapEnabled": true,
"loginLocalEnabled": true,
"facilityLoginLabel": "ESS",
"localLoginLabel": "Local",
"fileColorEnabled": true,
"fileDownloadEnabled": true,
"gettingStarted": null,
"ingestManual": null,
"jobsEnabled": true,
"jsonMetadataEnabled": true,
"jupyterHubUrl": "https://jupyterhub.esss.lu.se/",
"jupyterHubUrl": "",
"landingPage": "doi.ess.eu/detail/",
"lbBaseURL": "",
"lbBaseURL": "http://127.0.0.1:3000",
"localColumns": [
{
"name": "select",
Expand Down Expand Up @@ -112,7 +112,7 @@
"maxDirectDownloadSize": 5000000000,
"metadataPreviewEnabled": true,
"metadataStructure": "",
"multipleDownloadAction": "https://scicatfileserver.esss.dk/zip",
"multipleDownloadAction": "http:/127.0.0.1:3012/zip",
"multipleDownloadEnabled": true,
"oAuth2Endpoints": [
{
Expand All @@ -134,5 +134,51 @@
"tableSciDataEnabled": true,
"datasetDetailsShowMissingProposalId": false,
"notificationInterceptorEnabled": true,
"metadataEditingUnitListDisabled": true
"metadataEditingUnitListDisabled": true,
"datafilesActionsEnabled" : true,
"datafilesActions" : [
{
"id" : "eed8efec-4354-11ef-a3b5-d75573a5d37f",
"order" : 4,
"label" : "Download All",
"files" : "all",
"mat_icon" : "download",
"url" : "",
"target" : "_blank",
"enabled" : "#SizeLimit",
"authorization" : ["#datasetAccess", "#datasetPublic" ]
},
{
"id" : "3072fafc-4363-11ef-b9f9-ebf568222d26",
"order" : 3,
"label" : "Download Selected",
"files" : "selected",
"mat_icon" : "download",
"url" : "",
"target" : "_blank",
"enabled" : "#Selected && #SizeLimit",
"authorization" : ["#datasetAccess", "#datasetPublic" ]
},
{
"id" : "4f974f0e-4364-11ef-9c63-03d19f813f4e",
"order" : 2,
"label" : "Notebook All",
"files" : "all",
"icon" : "/assets/icons/jupyter_logo.png",
"url" : "",
"target" : "_blank",
"authorization" : ["#datasetAccess", "#datasetPublic" ]
},
{
"id" : "fa3ce6ee-482d-11ef-95e9-ff2c80dd50bd",
"order" : 1,
"label" : "Notebook Selected",
"files" : "selected",
"icon" : "/assets/icons/jupyter_logo.png",
"url" : "",
"target" : "_blank",
"enabled" : "#Selected",
"authorization" : ["#datasetAccess", "#datasetPublic" ]
}
]
}

0 comments on commit 70f98b5

Please sign in to comment.