data/config/widgets.yaml in openc3-5.19.0 vs data/config/widgets.yaml in openc3-5.20.0

- old
+ new

@@ -1421,10 +1421,24 @@ values: .+ example: | BUTTON 'Start Collect' 'var type = screen.getNamedWidget("COLLECT_TYPE").text();' + 'api.cmd("INST COLLECT with TYPE "+type+", DURATION 10.0")' NAMED_WIDGET COLLECT_TYPE COMBOBOX NORMAL SPECIAL + DATE: + summary: Displays a date picker + description: + Note this is of limited use by itself and is primarily used in + conjunction with NAMED_WIDGET. + parameters: + - name: Date label + required: false + description: Text to label the data selection ('Date' by default) + values: .+ + example: | + BUTTON 'Alert Date' 'var date = screen.getNamedWidget("DATE").text();' + + 'alert("Date:"+date)' + NAMED_WIDGET DATE DATE RADIOGROUP: summary: Creates a group of RADIOBUTTONs description: RADIOBUTTONs must be part of a group to enable selection logic parameters: - name: Initial selected button @@ -1462,9 +1476,23 @@ values: .* example: | NAMED_WIDGET DURATION TEXTFIELD 12 "10.0" BUTTON 'Start Collect' 'var dur = screen.getNamedWidget("DURATION").text();' + 'api.cmd("INST COLLECT with TYPE NORMAL, DURATION "+dur+"")' + TIME: + summary: Displays a time picker + description: + Note this is of limited use by itself and is primarily used in + conjunction with NAMED_WIDGET. + parameters: + - name: Time label + required: false + description: Text to label the time selection ('Time' by default) + values: .+ + example: | + BUTTON 'Alert Time' 'var time = screen.getNamedWidget("TIME").text();' + + 'alert("Time:"+time)' + NAMED_WIDGET TIME TIME Canvas Widgets: description: Canvas Widgets are used to draw custom displays into telemetry screens. The canvas coordinate frame places (0,0) in the upper-left corner of the canvas. collection: