Skip to content

Commit

Permalink
Standardize SummaryState view on TTS and BTS.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-aranda committed Oct 25, 2024
1 parent 8a52e27 commit a8bc8a3
Show file tree
Hide file tree
Showing 2 changed files with 160 additions and 28 deletions.
92 changes: 78 additions & 14 deletions manager/ui_framework/fixtures/initial_data_base.json
Original file line number Diff line number Diff line change
Expand Up @@ -477,15 +477,15 @@
"fields": {
"creation_timestamp": "2021-02-11T07:26:03.945541Z",
"update_timestamp": "2022-04-13T21:22:24.863664Z",
"name": "Summary State",
"name": "SummaryState2",
"data": {
"content": {
"newPanel-1": {
"config": {
"link": "",
"title": "CSC summary",
"margin": true,
"titleBar": true,
"titleBar": false,
"hierarchy": {
"Observatory": {
"Environment": [
Expand Down Expand Up @@ -587,6 +587,10 @@
"name": "ScriptQueue",
"salindex": 2
},
{
"name": "ScriptQueue",
"salindex": 3
},
{
"name": "Scheduler",
"salindex": 1
Expand All @@ -595,6 +599,10 @@
"name": "Scheduler",
"salindex": 2
},
{
"name": "Scheduler",
"salindex": 3
},
{
"name": "OCPS",
"salindex": 1
Expand All @@ -606,13 +614,29 @@
{
"name": "Watcher",
"salindex": 0
},
{
"name": "Authorize",
"salindex": 0
}
]
},
}
},
"hasRawMode": true
},
"content": "CSCSummary",
"properties": {
"h": 47,
"i": 1,
"w": 33,
"x": 0,
"y": 0,
"type": "component"
}
},
"newPanel-2": {
"config": {
"link": "",
"title": "CSC summary",
"margin": true,
"titleBar": false,
"hierarchy": {
"Simonyi Survey Telescope": {
"MTCS": [
{
Expand Down Expand Up @@ -684,7 +708,27 @@
"salindex": 0
}
]
},
}
},
"hasRawMode": true
},
"content": "CSCSummary",
"properties": {
"h": 40,
"i": 2,
"w": 33,
"x": 33,
"y": 0,
"type": "component"
}
},
"newPanel-3": {
"config": {
"link": "",
"title": "CSC summary",
"margin": true,
"titleBar": false,
"hierarchy": {
"Auxiliary Telescope": {
"ATCS": [
{
Expand Down Expand Up @@ -734,7 +778,27 @@
"salindex": 0
}
]
},
}
},
"hasRawMode": true
},
"content": "CSCSummary",
"properties": {
"h": 28,
"i": 3,
"w": 31,
"x": 66,
"y": 0,
"type": "component"
}
},
"newPanel-4": {
"config": {
"link": "",
"title": "CSC summary",
"margin": true,
"titleBar": false,
"hierarchy": {
"Calibration Systems": {
"Miscellaneous": [
{
Expand All @@ -752,11 +816,11 @@
},
"content": "CSCSummary",
"properties": {
"h": 51,
"i": 1,
"w": 97,
"x": 0,
"y": 0,
"h": 12,
"i": 4,
"w": 31,
"x": 66,
"y": 28,
"type": "component"
}
}
Expand Down
96 changes: 82 additions & 14 deletions manager/ui_framework/fixtures/initial_data_tucson.json
Original file line number Diff line number Diff line change
Expand Up @@ -477,15 +477,15 @@
"fields": {
"creation_timestamp": "2021-02-11T07:26:03.945541Z",
"update_timestamp": "2022-04-13T21:22:24.863664Z",
"name": "Summary State",
"name": "SummaryState2",
"data": {
"content": {
"newPanel-1": {
"config": {
"link": "",
"title": "CSC summary",
"margin": true,
"titleBar": true,
"titleBar": false,
"hierarchy": {
"Observatory": {
"Environment": [
Expand All @@ -509,6 +509,10 @@
"name": "DSM",
"salindex": 2
},
{
"name": "EPM",
"salindex": 1
},
{
"name": "ESS",
"salindex": 1
Expand Down Expand Up @@ -583,6 +587,10 @@
"name": "ScriptQueue",
"salindex": 2
},
{
"name": "ScriptQueue",
"salindex": 3
},
{
"name": "Scheduler",
"salindex": 1
Expand All @@ -591,6 +599,10 @@
"name": "Scheduler",
"salindex": 2
},
{
"name": "Scheduler",
"salindex": 3
},
{
"name": "OCPS",
"salindex": 1
Expand All @@ -602,13 +614,29 @@
{
"name": "Watcher",
"salindex": 0
},
{
"name": "Authorize",
"salindex": 0
}
]
},
}
},
"hasRawMode": true
},
"content": "CSCSummary",
"properties": {
"h": 47,
"i": 1,
"w": 33,
"x": 0,
"y": 0,
"type": "component"
}
},
"newPanel-2": {
"config": {
"link": "",
"title": "CSC summary",
"margin": true,
"titleBar": false,
"hierarchy": {
"Simonyi Survey Telescope": {
"MTCS": [
{
Expand Down Expand Up @@ -680,7 +708,27 @@
"salindex": 0
}
]
},
}
},
"hasRawMode": true
},
"content": "CSCSummary",
"properties": {
"h": 40,
"i": 2,
"w": 33,
"x": 33,
"y": 0,
"type": "component"
}
},
"newPanel-3": {
"config": {
"link": "",
"title": "CSC summary",
"margin": true,
"titleBar": false,
"hierarchy": {
"Auxiliary Telescope": {
"ATCS": [
{
Expand Down Expand Up @@ -730,7 +778,27 @@
"salindex": 0
}
]
},
}
},
"hasRawMode": true
},
"content": "CSCSummary",
"properties": {
"h": 28,
"i": 3,
"w": 31,
"x": 66,
"y": 0,
"type": "component"
}
},
"newPanel-4": {
"config": {
"link": "",
"title": "CSC summary",
"margin": true,
"titleBar": false,
"hierarchy": {
"Calibration Systems": {
"Miscellaneous": [
{
Expand All @@ -748,11 +816,11 @@
},
"content": "CSCSummary",
"properties": {
"h": 51,
"i": 1,
"w": 97,
"x": 0,
"y": 0,
"h": 12,
"i": 4,
"w": 31,
"x": 66,
"y": 28,
"type": "component"
}
}
Expand Down

0 comments on commit a8bc8a3

Please sign in to comment.