From 524ac0b1f78f3095188fdacbc4ab8cb03498f153 Mon Sep 17 00:00:00 2001 From: vedina Date: Mon, 15 Jul 2024 14:20:10 +0300 Subject: [PATCH 1/3] added normalized endpoint type --- src/SurveyComp/json.js | 56 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 54 insertions(+), 2 deletions(-) diff --git a/src/SurveyComp/json.js b/src/SurveyComp/json.js index d3d4260..4bf2419 100644 --- a/src/SurveyComp/json.js +++ b/src/SurveyComp/json.js @@ -879,6 +879,10 @@ export const json = { value: "AGGREGATED", text: "Aggregated", }, + { + value: "NORMALIZED", + text: "Normalized", + }, { value: "", text: "Other", @@ -1008,7 +1012,11 @@ export const json = { { value: "MAX", text: "Max", - }, + }, + { + value: "MIN", + text: "Min", + }, { value: "D25", text: "D25", @@ -1018,7 +1026,51 @@ export const json = { text: "D90", }, { - value: "", + value: "AGGREGATED", + text: "Aggregated", + }, + { + value: "NORMALIZED", + text: "Normalized", + }, + { + value: "NORMALIZED_TO_CONTROL", + text: "Normalized to control", + }, + { + value: "RELATIVE_TO_CONTROL", + text: "Relative to control", + }, + { + value: "FOLD_CHANGE", + text: "Fold change", + }, + { + value: "HIGHEST_DOSE", + text: "Highest dose", + }, + { + value: "Z-AVERAGE", + text: "Z-AVERAGE", + }, + { + value: "INTENSITY-WEIGHTED", + text: "INTENSITY-WEIGHTED", + }, + { + value: "NUMBER-BASED", + text: "NUMBER-BASED", + }, + { + value: "TOTAL", + text: "TOTAL", + }, + { + value: "GEOMETRIC_MEAN", + text: "Geometric mean", + }, + { + value: "OTHER", text: "Other", } ], From db55ef436f32d6f7996c32fe80f0052d1735848d Mon Sep 17 00:00:00 2001 From: vedina Date: Mon, 15 Jul 2024 14:41:25 +0300 Subject: [PATCH 2/3] sample prep - add ALI exposure option --- src/SurveyComp/json.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/SurveyComp/json.js b/src/SurveyComp/json.js index 4bf2419..03e33ef 100644 --- a/src/SurveyComp/json.js +++ b/src/SurveyComp/json.js @@ -1393,6 +1393,7 @@ export const json = { name: "param_sampleprep_group", title: "Group", cellType: "dropdown", + isRequired: true, choices: [ { value: "DISPERSION", @@ -1402,6 +1403,10 @@ export const json = { value: "INCUBATION", text: "Incubation", }, + { + value: "ALI_EXPOSURE", + text: "Air-liquid interface exposure", + }, { value: "OTHER_SAMPLEPREP", text: "Other", From 9d8ac0ca78819e1dad08a7ef161d7d7e8a4d18e4 Mon Sep 17 00:00:00 2001 From: vedina Date: Mon, 15 Jul 2024 14:53:00 +0300 Subject: [PATCH 3/3] add row configurable via json --- src/App.css | 6 ------ src/SurveyComp/json.js | 5 ++++- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/App.css b/src/App.css index c0a9099..18db60c 100644 --- a/src/App.css +++ b/src/App.css @@ -95,13 +95,7 @@ background: #4f7dcc26 !important; } -.sd-matrixdynamic__add-btn > span { - display: none !important; -} -.sd-matrixdynamic__add-btn::after { - content: "Add Empty Row"; -} #sv-nav-clear-page input, #sv-nav-clear-all input { /* border: 1px solid #e50a3e; */ diff --git a/src/SurveyComp/json.js b/src/SurveyComp/json.js index 03e33ef..7129667 100644 --- a/src/SurveyComp/json.js +++ b/src/SurveyComp/json.js @@ -210,6 +210,7 @@ export const json = { rowCount: 0, confirmDelete: true, allowRowsDragAndDrop: true, + addRowText: "Add experimental factor" }, { startWithNewLine: true, @@ -841,6 +842,7 @@ export const json = { name: "raw_data_report", visibleIf: "{data_sheets} contains 'data_raw'", title: "Unprocessed (Raw data) reporting", + addRowText: "Add empty row", description: "Please provide information of the parameters reported as unprocessed data (e.g. Absorbance, AU). Use the + button to specify which factors are varied. If your data is in separate files you may use the 'Pointer to file' type.", requiredIf: @@ -973,6 +975,7 @@ export const json = { { type: "matrixdynamic", name: "question3", + addRowText: "Add empty row", title: "Results reporting", visibleIf: "{data_sheets} contains 'data_processed'", description: @@ -1687,7 +1690,7 @@ export const json = { title: "[{template_name}]: Preview/Finalize", description: "A finalized blueprint will become readonly. You will be able to generate Excel templates, share the blueprint and make copies of the blueprint.", - navigationTitle: "Preview/Finalize", + navigationTitle: "8. Preview/Finalize", navigationDescription: "Predefined fields describing provenance", }, ],