Skip to content

Commit c5da995

Browse files
authored
chore: update frontend config (#2240)
* chore: update frontend config * date format update
1 parent 541cc3c commit c5da995

File tree

1 file changed

+66
-4
lines changed

1 file changed

+66
-4
lines changed

src/config/frontend.config.json

Lines changed: 66 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"nonAuthenticatedUser": "DATASETS",
44
"authenticatedUser": "PROPOSALS"
55
},
6+
"checkBoxFilterClickTrigger": false,
67
"accessTokenPrefix": "Bearer ",
78
"addDatasetEnabled": false,
89
"archiveWorkflowEnabled": false,
@@ -245,9 +246,63 @@
245246
],
246247
"conditions": []
247248
},
249+
"defaultProposalsListSettings": {
250+
"columns": [
251+
{
252+
"name": "proposalId",
253+
"width": 180,
254+
"enabled": true
255+
},
256+
{
257+
"name": "title",
258+
"width": 250,
259+
"enabled": true
260+
},
261+
{
262+
"name": "abstract",
263+
"type": "hoverContent",
264+
"width": 150,
265+
"enabled": true
266+
},
267+
{
268+
"name": "startTime",
269+
"type": "date",
270+
"format": "yyyy-MM-dd",
271+
"width": 200,
272+
"enabled": true
273+
},
274+
{
275+
"name": "pi_lastname",
276+
"enabled": true,
277+
"width": 200
278+
}
279+
],
280+
"filters": [
281+
{
282+
"key": "instrumentIds",
283+
"label": "Instrument",
284+
"type": "checkbox",
285+
"description": "Filter by instrument name",
286+
"enabled": true
287+
},
288+
{
289+
"key": "pi_lastname",
290+
"label": "PI Last Name",
291+
"type": "checkbox",
292+
"description": "Filter by dataset start time",
293+
"enabled": true
294+
},
295+
{
296+
"key": "startTime",
297+
"label": "Start Time",
298+
"type": "date",
299+
"description": "Filter by dataset start time",
300+
"enabled": true
301+
}
302+
]
303+
},
248304
"labelsLocalization": {
249-
"datasetDefault": {},
250-
"datasetCustom": {
305+
"dataset": {
251306
"pid": "PID",
252307
"description": "Description",
253308
"principalInvestigator": "Principal Investigator",
@@ -259,7 +314,7 @@
259314
"scientificMetadata.run_number.value": "Run Number",
260315
"scientificMetadata.start_time": "Start Time"
261316
},
262-
"proposalDefault": {
317+
"proposal": {
263318
"General Information": "Proposal Information",
264319
"Title": "Proposal Title",
265320
"Abstract": "Abstract",
@@ -271,7 +326,14 @@
271326
"Creator Information": "People",
272327
"Main Proposer": "Proposal Submitted By",
273328
"Principal Investigator": "Principal Investigator",
274-
"Metadata": "Additional Information"
329+
"Metadata": "Additional Information",
330+
"proposalId": "Proposal Id",
331+
"startTime": "Start Date",
332+
"title": "Proposal Title",
333+
"abstract": "Abstract",
334+
"pi_lastname": "PI Last Name",
335+
"type": "Type",
336+
"instrumentIds": "Instrument"
275337
}
276338
},
277339
"dateFormat": "yyyy-MM-dd HH:mm",

0 commit comments

Comments
 (0)