Skip to content

Commit

Permalink
Develop - json updates (#22)
Browse files Browse the repository at this point in the history
json updates: added normalized endpoint type ,sample prep - add ALI
exposure option
add row text  configurable via json
  • Loading branch information
vedina authored Jul 15, 2024
2 parents 4ae9103 + 9d8ac0c commit bdf9ce5
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 9 deletions.
6 changes: 0 additions & 6 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -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; */
Expand Down
66 changes: 63 additions & 3 deletions src/SurveyComp/json.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ export const json = {
rowCount: 0,
confirmDelete: true,
allowRowsDragAndDrop: true,
addRowText: "Add experimental factor"
},
{
startWithNewLine: true,
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -879,6 +881,10 @@ export const json = {
value: "AGGREGATED",
text: "Aggregated",
},
{
value: "NORMALIZED",
text: "Normalized",
},
{
value: "",
text: "Other",
Expand Down Expand Up @@ -969,6 +975,7 @@ export const json = {
{
type: "matrixdynamic",
name: "question3",
addRowText: "Add empty row",
title: "Results reporting",
visibleIf: "{data_sheets} contains 'data_processed'",
description:
Expand Down Expand Up @@ -1008,7 +1015,11 @@ export const json = {
{
value: "MAX",
text: "Max",
},
},
{
value: "MIN",
text: "Min",
},
{
value: "D25",
text: "D25",
Expand All @@ -1018,7 +1029,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",
}
],
Expand Down Expand Up @@ -1341,6 +1396,7 @@ export const json = {
name: "param_sampleprep_group",
title: "Group",
cellType: "dropdown",
isRequired: true,
choices: [
{
value: "DISPERSION",
Expand All @@ -1350,6 +1406,10 @@ export const json = {
value: "INCUBATION",
text: "Incubation",
},
{
value: "ALI_EXPOSURE",
text: "Air-liquid interface exposure",
},
{
value: "OTHER_SAMPLEPREP",
text: "Other",
Expand Down Expand Up @@ -1630,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",
},
],
Expand Down

0 comments on commit bdf9ce5

Please sign in to comment.