mirror of
https://github.com/nasa/openmct.git
synced 2024-12-30 09:58:52 +00:00
67a1094a1f
* Change the centering algorithm for timelist Make duration formatting better * test: add time list countdown and countup test * test: respond to comments * chore: lint fix * fix: lint errors and visual suite failures * Change parameters to options object * Fix regression with auto scroll. Improve code readability * Add defaults for getPreciseDuration options object * Defaults for options * Add missing await --------- Co-authored-by: Jesse Mazzella <jesse.d.mazzella@nasa.gov>
39 lines
792 B
JSON
39 lines
792 B
JSON
{
|
|
"Group 1": [
|
|
{
|
|
"name": "Time until birthday",
|
|
"start": 1650320402000,
|
|
"end": 1660343797000,
|
|
"type": "Group 1",
|
|
"color": "orange",
|
|
"textColor": "white"
|
|
},
|
|
{
|
|
"name": "Time until supper",
|
|
"start": 1650320402000,
|
|
"end": 1650420410000,
|
|
"type": "Group 2",
|
|
"color": "blue",
|
|
"textColor": "white"
|
|
}
|
|
],
|
|
"Group 2": [
|
|
{
|
|
"name": "Time since the last time I ate",
|
|
"start": 1650320102001,
|
|
"end": 1650320102001,
|
|
"type": "Group 2",
|
|
"color": "green",
|
|
"textColor": "white"
|
|
},
|
|
{
|
|
"name": "Time since last accident",
|
|
"start": 1650320102002,
|
|
"end": 1650320102002,
|
|
"type": "Group 1",
|
|
"color": "yellow",
|
|
"textColor": "white"
|
|
}
|
|
]
|
|
}
|