Skip to content

Commit

Permalink
feat: ✨ minor dashboard module config updates
Browse files Browse the repository at this point in the history
  • Loading branch information
greenstick committed Apr 9, 2024
1 parent 3d297e2 commit ed6ae71
Show file tree
Hide file tree
Showing 17 changed files with 77 additions and 78 deletions.
80 changes: 40 additions & 40 deletions src/modules/dashboard/config/modules-manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,46 +5,6 @@ This Defines the Sort Order of The Modules in the Dashboard
*/

const DashboardModulesManifest: DashboardModuleConnector[] = [
{
id: "instrument-completion-status-by-site",
name: "Instrument Completion Status by Site",
available: false,
public: false,
report_key: "instrument-status",
selected: false,
},
{
id: "survey-completion-status-by-site",
name: "Survey Completion Status by Site",
available: true,
public: false,
report_key: "instrument-status",
selected: false,
},
{
id: "device-collection-status-by-site",
name: "Device Collection Status By Site",
available: false,
public: false,
report_key: "instrument-status",
selected: false,
},
{
id: "recruitment-operations-status-by-site",
name: "Recruitment Operations Status by Site",
available: true,
public: false,
report_key: "instrument-status",
selected: false,
},
{
id: "survey-completion-status",
name: "Survey Completion Status",
available: true,
public: true,
report_key: "instrument-status",
selected: false,
},
{
id: "phenotype-recruitment",
name: "Phenotype Recruitment Counts",
Expand Down Expand Up @@ -173,6 +133,46 @@ const DashboardModulesManifest: DashboardModuleConnector[] = [
report_key: "repeat-instrument",
selected: false,
},
{
id: "instrument-completion-status-by-site",
name: "Instrument Completion Status by Site",
available: false,
public: false,
report_key: "instrument-status",
selected: false,
},
{
id: "survey-completion-status-by-site",
name: "Survey Completion Status by Site",
available: true,
public: false,
report_key: "instrument-status",
selected: false,
},
{
id: "device-collection-status-by-site",
name: "Device Collection Status By Site",
available: false,
public: false,
report_key: "instrument-status",
selected: false,
},
{
id: "recruitment-operations-status-by-site",
name: "Recruitment Operations Status by Site",
available: true,
public: false,
report_key: "instrument-status",
selected: false,
},
{
id: "survey-completion-status",
name: "Survey Completion Status",
available: true,
public: true,
report_key: "instrument-status",
selected: false,
},
];

export { DashboardModulesManifest };
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@
"id": "#current-medications-by-site_stacked-bar",
"rotate": false,
"width": 1080,
"height": 500,
"height": 520,
"position": {
"top": 0,
"left": 0,
"right": 0,
"bottom": 0
},
"margin": {
"top": 20,
"left": 20,
"right": 20,
"top": 0,
"left": 0,
"right": 0,
"bottom": 20
},
"padding": {
"top": 0,
"top": 20,
"left": 0,
"right": 200,
"right": 36,
"bottom": 0
},
"axis": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"config": {
"id": "#phenotype-race-by-sex_grouped-stacked-bar",
"width": 1080,
"height": 420,
"height": 520,
"position": {
"top": 0,
"left": 0,
Expand All @@ -26,7 +26,7 @@
"padding": {
"top": 20,
"left": 0,
"right": 240,
"right": 36,
"bottom": 0
},
"axis": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"id": "#phenotype-recruitment-by-site_timeseries",
"rotate": true,
"width": 1080,
"height": 420,
"height": 520,
"position": {
"top": 0,
"left": 0,
Expand All @@ -27,7 +27,7 @@
"padding": {
"top": 20,
"left": 0,
"right": 240,
"right": 36,
"bottom": 0
},
"axis": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"id": "#phenotype-recruitment_timeseries",
"rotate": true,
"width": 1080,
"height": 420,
"height": 520,
"position": {
"top": 0,
"left": 0,
Expand All @@ -27,7 +27,7 @@
"padding": {
"top": 20,
"left": 0,
"right": 240,
"right": 36,
"bottom": 0
},
"axis": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"config": {
"id": "#phenotype-sex-by-race_grouped-stacked-bar",
"width": 1080,
"height": 420,
"height": 520,
"position": {
"top": 0,
"left": 0,
Expand All @@ -26,7 +26,7 @@
"padding": {
"top": 20,
"left": 0,
"right": 240,
"right": 36,
"bottom": 0
},
"axis": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"id": "#phenotype-sex-by-site_grouped-stacked-bar",
"rotate": true,
"width": 1080,
"height": 420,
"height": 520,
"position": {
"top": 0,
"left": 0,
Expand All @@ -27,7 +27,7 @@
"padding": {
"top": 20,
"left": 0,
"right": 240,
"right": 36,
"bottom": 0
},
"axis": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"id": "#phenotype-site-by-sex_grouped-stacked-bar",
"rotate": true,
"width": 1080,
"height": 420,
"height": 520,
"position": {
"top": 0,
"left": 0,
Expand All @@ -27,7 +27,7 @@
"padding": {
"top": 20,
"left": 0,
"right": 240,
"right": 36,
"bottom": 0
},
"axis": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"config": {
"id": "#race-phenotype-by-sex_grouped-stacked-bar",
"width": 1080,
"height": 420,
"height": 520,
"position": {
"top": 0,
"left": 0,
Expand All @@ -26,10 +26,9 @@
"padding": {
"top": 20,
"left": 0,
"right": 240,
"right": 36,
"bottom": 0
},
"axis": {
}, "axis": {
"scaling": {
"x": 1.0,
"y": 1.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"id": "#race-recruitment-by-site_timeseries",
"rotate": true,
"width": 1080,
"height": 420,
"height": 520,
"position": {
"top": 0,
"left": 0,
Expand All @@ -27,7 +27,7 @@
"padding": {
"top": 20,
"left": 0,
"right": 240,
"right": 36,
"bottom": 0
},
"axis": {
Expand Down
4 changes: 2 additions & 2 deletions src/modules/dashboard/config/modules/race-recruitment.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"id": "#race-recruitment_timeseries",
"rotate": true,
"width": 1080,
"height": 420,
"height": 520,
"position": {
"top": 0,
"left": 0,
Expand All @@ -27,7 +27,7 @@
"padding": {
"top": 20,
"left": 0,
"right": 240,
"right": 36,
"bottom": 0
},
"axis": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"config": {
"id": "#race-sex-by-phenotype_grouped-stacked-bar",
"width": 1080,
"height": 420,
"height": 520,
"position": {
"top": 0,
"left": 0,
Expand All @@ -26,7 +26,7 @@
"padding": {
"top": 20,
"left": 0,
"right": 240,
"right": 36,
"bottom": 0
},
"axis": {
Expand Down
4 changes: 2 additions & 2 deletions src/modules/dashboard/config/modules/race-sex-by-site.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"config": {
"id": "#race-sex-by-site_grouped-stacked-bar",
"width": 1080,
"height": 420,
"height": 520,
"position": {
"top": 0,
"left": 0,
Expand All @@ -26,7 +26,7 @@
"padding": {
"top": 20,
"left": 0,
"right": 240,
"right": 36,
"bottom": 0
},
"axis": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"config": {
"id": "#sex-phenotype-by-race_grouped-stacked-bar",
"width": 1080,
"height": 420,
"height": 520,
"position": {
"top": 0,
"left": 0,
Expand All @@ -26,7 +26,7 @@
"padding": {
"top": 20,
"left": 0,
"right": 240,
"right": 36,
"bottom": 0
},
"axis": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"config": {
"id": "#sex-race-by-phenotype_grouped-stacked-bar",
"width": 1080,
"height": 420,
"height": 520,
"position": {
"top": 0,
"left": 0,
Expand All @@ -26,7 +26,7 @@
"padding": {
"top": 20,
"left": 0,
"right": 240,
"right": 36,
"bottom": 0
},
"axis": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"id": "#sex-recruitment-by-site_timeseries",
"rotate": true,
"width": 1080,
"height": 420,
"height": 520,
"position": {
"top": 0,
"left": 0,
Expand All @@ -27,7 +27,7 @@
"padding": {
"top": 20,
"left": 0,
"right": 240,
"right": 36,
"bottom": 0
},
"axis": {
Expand Down
4 changes: 2 additions & 2 deletions src/modules/dashboard/config/modules/sex-recruitment.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"id": "#sex-recruitment_timeseries",
"rotate": true,
"width": 1080,
"height": 420,
"height": 520,
"position": {
"top": 0,
"left": 0,
Expand All @@ -27,7 +27,7 @@
"padding": {
"top": 20,
"left": 0,
"right": 240,
"right": 36,
"bottom": 0
},
"axis": {
Expand Down

0 comments on commit ed6ae71

Please sign in to comment.