AlbertaSat / ex2_ground_station_website

Ground station user interface for Ex-Alta 2.
6 stars 3 forks source link

Parse argument label of commands #118

Open jmmabanta opened 2 years ago

jmmabanta commented 2 years ago

Brief Feature Description

ex2_ground_station_software now has labels describing what each command argument is (see here for example). It would be helpful to operators if these arguments are labelled in the help menu so that they know what each of them do.

Additional Details

The labels are the args dictionary keys, while the value is their expected data type. Since it might be cluttered if we show both the label and datatype, we should only show the keys (label) since they are be descriptive enough.

As many API endpoints rely on the num_arguments field in the Telecommands model, keep it as it is and instead add a new column storing these labels.

Once added, argument labels can also be used in AutomatedCommands and Flightschedule to label the argument text boxes, instead of having 'Argument 1', 'Argument 2', etc. as labels.

Priority

Low