From 6d6a173578b931b4240846da2f28bed582c570f9 Mon Sep 17 00:00:00 2001 From: antonioaltamura Date: Mon, 2 Aug 2021 17:24:42 +0200 Subject: [PATCH] detail/hiddenDetail renamed to details/hiddenDetails #236 --- src/conf/opencga-clinical-analysis-browser.settings.js | 5 ++--- src/conf/opencga-clinical-review-cases.settings.js | 4 ++-- src/conf/opencga-cohort-browser.settings.js | 2 +- src/conf/opencga-family-browser.settings.js | 2 +- src/conf/opencga-file-browser.settings.js | 2 +- src/conf/opencga-individual-browser.settings.js | 2 +- src/conf/opencga-job-browser.settings.js | 2 +- src/conf/opencga-sample-browser.settings.js | 3 +-- src/conf/opencga-variant-browser.settings.js | 4 ++-- src/conf/variant-interpreter-browser-cancer.settings.js | 2 +- src/conf/variant-interpreter-browser-rd.settings.js | 2 +- 11 files changed, 14 insertions(+), 16 deletions(-) diff --git a/src/conf/opencga-clinical-analysis-browser.settings.js b/src/conf/opencga-clinical-analysis-browser.settings.js index d55937f4..d6972c58 100644 --- a/src/conf/opencga-clinical-analysis-browser.settings.js +++ b/src/conf/opencga-clinical-analysis-browser.settings.js @@ -28,8 +28,7 @@ const opencgaClinicalAnalysisBrowserSettings = { } ], // merge criterium: full outer join-like. it adds objects presents in internal array only and in external array only. In case of same id, the external value overwrite the internal. - examples: [ - ] + examples: [] }, table: { // merge criterium: spread operator @@ -45,5 +44,5 @@ const opencgaClinicalAnalysisBrowserSettings = { columns: ["caseId", "probandId", "familyId", "disorderId", "interpretation", "action"] }, // merge criterium: uses this array as filter for internal 1D array. - detail: ["clinical-analysis-view", "json-view"] + details: ["clinical-analysis-view", "json-view"] }; diff --git a/src/conf/opencga-clinical-review-cases.settings.js b/src/conf/opencga-clinical-review-cases.settings.js index fac1dd2f..b116a1a4 100644 --- a/src/conf/opencga-clinical-review-cases.settings.js +++ b/src/conf/opencga-clinical-review-cases.settings.js @@ -48,6 +48,6 @@ const OpencgaClinicalReviewCasesSettings = { // It is supported either columns[] or hiddenColumns[]. // TODO NOTE this refers to clinical-analysis-grid (same list in clinical-analysis-browser.settings) columns: ["caseId", "probandId", "familyId", "disorderId", "interpretation", "action"] - } - // TODO details tabs are not configurable at the moment + }, + details: ["clinical-analysis-view", "proband-view"] }; diff --git a/src/conf/opencga-cohort-browser.settings.js b/src/conf/opencga-cohort-browser.settings.js index fea61fd5..167d8fe5 100644 --- a/src/conf/opencga-cohort-browser.settings.js +++ b/src/conf/opencga-cohort-browser.settings.js @@ -38,6 +38,6 @@ const opencgaCohortBrowserSettings = { columns: ["id", "numSamples", "creationDate", "type"] }, // merge criterium: uses this array as filter for internal 1D array. - detail: ["cohort-view", "sample-view", "json-view"] + details: ["cohort-view", "sample-view", "json-view"] */ }; diff --git a/src/conf/opencga-family-browser.settings.js b/src/conf/opencga-family-browser.settings.js index fdcc7ded..6e49c299 100644 --- a/src/conf/opencga-family-browser.settings.js +++ b/src/conf/opencga-family-browser.settings.js @@ -41,5 +41,5 @@ const opencgaFamilyBrowserSettings = { columns: ["id", "members", "disorders", "phenotypes", "caseId", "customAnnotation", "creationDate"] }, // merge criterium: uses this array as filter for internal 1D array. - detail: ["family-view", "family-relatedness", "json-view"]*/ + details: ["family-view", "family-relatedness", "json-view"]*/ }; diff --git a/src/conf/opencga-file-browser.settings.js b/src/conf/opencga-file-browser.settings.js index 20bbfa88..9731057d 100644 --- a/src/conf/opencga-file-browser.settings.js +++ b/src/conf/opencga-file-browser.settings.js @@ -46,6 +46,6 @@ const opencgaFileBrowserSettings = { columns: ["name", "directory", "size", "format", "bioformat", "index", "creationDate", "actions"] }, // merge criterium: uses this array as filter for internal 1D array. - detail: ["file-view", "file-preview", "json-view"] + details: ["file-view", "file-preview", "json-view"] */ }; diff --git a/src/conf/opencga-individual-browser.settings.js b/src/conf/opencga-individual-browser.settings.js index 5ff1cc2e..5e896ab9 100644 --- a/src/conf/opencga-individual-browser.settings.js +++ b/src/conf/opencga-individual-browser.settings.js @@ -61,6 +61,6 @@ const opencgaIndividualBrowserSettings = { columns: ["id", "samples", "father", "mother", "disorders", "phenotypes", "caseId", "sex", "lifeStatus", "dateOfBirth", "creationDate"] }, // merge criterium: uses this array as filter for internal 1D array. - detail: ["individual-view", "clinical-analysis-grid", "individual-inferred-sex", "individual-mendelian-error", "json-view"] + details: ["individual-view", "clinical-analysis-grid", "individual-inferred-sex", "individual-mendelian-error", "json-view"] */ }; diff --git a/src/conf/opencga-job-browser.settings.js b/src/conf/opencga-job-browser.settings.js index 1fa3f27a..f1971407 100644 --- a/src/conf/opencga-job-browser.settings.js +++ b/src/conf/opencga-job-browser.settings.js @@ -47,6 +47,6 @@ const opencgaJobBrowserSettings = { columns: ["id",/!* "toolId", "status", "priority", "dependsOn", "output", "execution", "execution", "creationDate"*!/] }, // merge criterium: uses this array as filter for internal 1D array. - detail: ["job-view", "job-log", "json-view"] + details: ["job-view", "job-log", "json-view"] */ }; diff --git a/src/conf/opencga-sample-browser.settings.js b/src/conf/opencga-sample-browser.settings.js index 0ba83685..0ef47641 100644 --- a/src/conf/opencga-sample-browser.settings.js +++ b/src/conf/opencga-sample-browser.settings.js @@ -28,8 +28,7 @@ const opencgaSampleBrowserSettings = { } ], // merge criterium: full outer join-like. it adds objects presents in internal array only and in external array only. In case of same id, the external value overwrite the internal. - examples: [ - ] + examples: [] }, table: { // merge criterium: spread operator diff --git a/src/conf/opencga-variant-browser.settings.js b/src/conf/opencga-variant-browser.settings.js index b8f85198..32cfce84 100644 --- a/src/conf/opencga-variant-browser.settings.js +++ b/src/conf/opencga-variant-browser.settings.js @@ -40,9 +40,9 @@ const OpencgaVariantBrowserSettings = { }, // merge criterium: uses this array as filter for internal 1D/2D array. It handles row/col span. // It is supported either columns[] or hiddenColumns[]. - columns: ["id", "gene", "type", "consequenceType", "deleteriousness", "conservation", "samples", "cohorts", "popfreq", "clinicalInfo"], + columns: ["id", "gene", "type", "consequenceType", "deleteriousness", "conservation", "samples", "cohorts", "popfreq", "clinicalInfo"] // hiddenColumns: ["id", "gene", "type"] }, // merge criterium: uses this array as filter for internal 1D array. - detail: ["annotationSummary", "annotationConsType", "annotationPropFreq", "annotationClinical", "cohortStats", "samples", "beacon", "json-view"] + details: ["annotationSummary", "annotationConsType", "annotationPropFreq", "annotationClinical", "cohortStats", "samples", "beacon", "json-view"] }; diff --git a/src/conf/variant-interpreter-browser-cancer.settings.js b/src/conf/variant-interpreter-browser-cancer.settings.js index 9c4b99bb..fe6759ac 100644 --- a/src/conf/variant-interpreter-browser-cancer.settings.js +++ b/src/conf/variant-interpreter-browser-cancer.settings.js @@ -16,6 +16,6 @@ const variantInterpreterBrowserCancerSettings = { // columns: ["id"] } // merge criterium: uses this array as filter for internal 1D array. - // detail: [] + // details: [] }; diff --git a/src/conf/variant-interpreter-browser-rd.settings.js b/src/conf/variant-interpreter-browser-rd.settings.js index 751a853e..025f258d 100644 --- a/src/conf/variant-interpreter-browser-rd.settings.js +++ b/src/conf/variant-interpreter-browser-rd.settings.js @@ -68,6 +68,6 @@ const variantInterpreterBrowserRdSettings = { columns: ["id", "gene", "type", "consequenceType", "zygosity", "evidences", "VCF_Data", "frequencies", "clinicalInfo", "interpretation", "review", "actions"] }, // merge criterium: uses this array as filter for internal 1D array. - detail: ["annotationSummary", "annotationConsType", "annotationPropFreq", "annotationClinical", "fileMetrics", "cohortStats", "samples", "beacon"] + details: ["annotationSummary", "annotationConsType", "annotationPropFreq", "annotationClinical", "fileMetrics", "cohortStats", "samples", "beacon"] };