OpenC3 / cosmos

OpenC3 COSMOS
https://openc3.com
Other
107 stars 30 forks source link

Target/Interface Mapper #880

Open tsjordan-eng opened 1 year ago

tsjordan-eng commented 1 year ago

I really appreciate the modularity and flexibility of the TARGETS and INTERFACES paradigm. But mapping a target to a different interface can be cumbersome and requires running code.

I think it would be nice if on the Command and Telemetry Server Targets page there would be a GUI to map targets to interfaces. This could be as simple as changing the Interface column indicator to a dropdown combo-box, or as complicated as a graph node diagram.

I think I could probably create a local screen using the existing API to do this in a plugin, but I thought it might be a good global feature.

tsjordan-eng commented 10 months ago

I present some ideas below. I don't have webdev experience so if I were to do it, I'd start with the first way. Let me know what you think.

Dropdown Menus

In the Targets tab of the command and telemetry server each target, instead of just listing the mapped interfaces, could have a command and a telemetry dropdown menu where the user can select multiple interfaces. After the menu closes the code can be run to map all them all.

https://jsfiddle.net/mrn3ddf3/10/

Block Diagram

Each target and interface could be represented as blocks in a block diagram where the arrow direction indicates command or telemetry

https://ghost.im/vue-blocks/index.html