Skip to content

Commit

Permalink
hiddenColumns added #236
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioaltamura committed Jul 28, 2021
1 parent 5e82d5d commit 42f505d
Show file tree
Hide file tree
Showing 11 changed files with 41 additions and 8 deletions.
3 changes: 2 additions & 1 deletion src/conf/opencga-clinical-analysis-browser.settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ const opencgaClinicalAnalysisBrowserSettings = {
showDownload: true
// columns list for the dropdown will be added in grid components based on settings.table.columns
},
// merge criterium: uses this array as filter for internal 1D/2D array. It handles row/col span
// merge criterium: uses this array as filter for internal 1D/2D array. It handles row/col span.
// It is supported either columns[] or hiddenColumns[].
// TODO NOTE this refers to clinical-analysis-grid (same list in review-cases.settings)
columns: ["caseId", "probandId", "familyId", "disorderId", "interpretation", "action"]
},
Expand Down
1 change: 1 addition & 0 deletions src/conf/opencga-clinical-review-cases.settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const OpencgaClinicalReviewCasesSettings = {
// columns list for the dropdown will be added in grid components based on settings.table.columns
},
// merge criterium: uses this array as filter for internal 1D/2D array. It handles row/col span
// 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"]
}
Expand Down
4 changes: 4 additions & 0 deletions src/conf/opencga-cohort-browser.settings.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
const opencgaCohortBrowserSettings = {
/**
* Full settings
*/
/* menu: {
// merge criterium: it uses this `filters` array as filter for internal one. Each object is merged with spread operator
filters: [
Expand Down Expand Up @@ -31,6 +34,7 @@ const opencgaCohortBrowserSettings = {
// columns list for the dropdown will be added in grid components based on settings.table.columns
},
// 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", "numSamples", "creationDate", "type"]
},
// merge criterium: uses this array as filter for internal 1D array.
Expand Down
4 changes: 4 additions & 0 deletions src/conf/opencga-family-browser.settings.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
const opencgaFamilyBrowserSettings = {
/**
* Full settings
*/
/* menu: {
// merge criterium: it uses this `filters` array as filter for internal one. Each object is merged with spread operator
filters: [
Expand Down Expand Up @@ -34,6 +37,7 @@ const opencgaFamilyBrowserSettings = {
// columns list for the dropdown will be added in grid components based on settings.table.columns
},
// 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", "members", "disorders", "phenotypes", "caseId", "customAnnotation", "creationDate"]
},
// merge criterium: uses this array as filter for internal 1D array.
Expand Down
4 changes: 4 additions & 0 deletions src/conf/opencga-file-browser.settings.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
const opencgaFileBrowserSettings = {
/**
* Full settings
*/
/* menu: {
// merge criterium: it uses this `filters` array as filter for internal one. Each object is merged with spread operator
filters: [
Expand Down Expand Up @@ -39,6 +42,7 @@ const opencgaFileBrowserSettings = {
// columns list for the dropdown will be added in grid components based on settings.table.columns
},
// 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: ["name", "directory", "size", "format", "bioformat", "index", "creationDate", "actions"]
},
// merge criterium: uses this array as filter for internal 1D array.
Expand Down
9 changes: 8 additions & 1 deletion src/conf/opencga-individual-browser.settings.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
const opencgaIndividualBrowserSettings = {
/*menu: {
/**
* Full settings
*/

// TODO clinical-analysis-grid has no action column here

/* menu: {
// merge criterium: it uses this `filters` array as filter for internal one. Each object is merged with spread operator
filters: [
{
Expand Down Expand Up @@ -51,6 +57,7 @@ const opencgaIndividualBrowserSettings = {
// columns list for the dropdown will be added in grid components based on settings.table.columns
},
// 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", "samples", "father", "mother", "disorders", "phenotypes", "caseId", "sex", "lifeStatus", "dateOfBirth", "creationDate"]
},
// merge criterium: uses this array as filter for internal 1D array.
Expand Down
4 changes: 4 additions & 0 deletions src/conf/opencga-job-browser.settings.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
const opencgaJobBrowserSettings = {
/**
* Full settings
*/
/* menu: {
// merge criterium: it uses this `filters` array as filter for internal one. Each object is merged with spread operator
filters: [
Expand Down Expand Up @@ -40,6 +43,7 @@ const opencgaJobBrowserSettings = {
// columns list for the dropdown will be added in grid components based on settings.table.columns
},
// 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",/!* "toolId", "status", "priority", "dependsOn", "output", "execution", "execution", "creationDate"*!/]
},
// merge criterium: uses this array as filter for internal 1D array.
Expand Down
8 changes: 6 additions & 2 deletions src/conf/opencga-sample-browser.settings.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
const opencgaSampleBrowserSettings = {
/* menu: {
/**
* Full settings
*/
menu: {
// merge criterium: it uses this `filters` array as filter for internal one. Each object is merged with spread operator
filters: [
{
Expand Down Expand Up @@ -37,9 +40,10 @@ const opencgaSampleBrowserSettings = {
// columns list for the dropdown will be added in grid components based on settings.table.columns
},
// 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", "individualId", "fileIds", "caseId", "collection.method", "processing.preparationMethod", "cellLine", "creationDate", "actions"]
},
// merge criterium: uses this array as filter for internal 1D array.
detail: ["sample-view", "sample-variant-stats-view", "samtools-flags-stats-view", "individual-view", "file-view", "json-view"]
*/

};
6 changes: 4 additions & 2 deletions src/conf/opencga-variant-browser.settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ const OpencgaVariantBrowserSettings = {
showDownload: true
// columns list for the dropdown will be added in grid components based on settings.table.columns
},
// merge criterium: uses this array as filter for internal 1D/2D array. It handles row/col span
columns: ["id", "gene", "type", "consequenceType", "deleteriousness", "conservation", "samples", "cohorts", "popfreq", "clinicalInfo"]
// 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"],
// 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"]
Expand Down
5 changes: 3 additions & 2 deletions src/conf/variant-interpreter-browser-cancer.settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ const variantInterpreterBrowserCancerSettings = {
showExport: false,
showDownload: true
// columns list for the dropdown will be added in grid components based on settings.table.columns
},
}
// 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"]
},
}
// merge criterium: uses this array as filter for internal 1D array.
// detail: []

Expand Down
1 change: 1 addition & 0 deletions src/conf/variant-interpreter-browser-rd.settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ const variantInterpreterBrowserRdSettings = {
// columns list for the dropdown will be added in grid components based on settings.table.columns
},
// 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", "zygosity", "evidences", "VCF_Data", "frequencies", "clinicalInfo", "interpretation", "review", "actions"]
},
// merge criterium: uses this array as filter for internal 1D array.
Expand Down

0 comments on commit 42f505d

Please sign in to comment.