Open joswig opened 1 month ago
Met today with @lklyne @shaheerk94 and @joswig to hash out some requirements for this:
M
tuples containing N
values each
M
can have a min and max range - ie. how many times the tuples can be repeatedN
values in the tuples has a (primitive) type ie. number, string or enum - but can't contain other repeat argsAn example command dictionary can be found here, but it does not currently contain any Repeat args - @joswig will add some:
https://github.com/NASA-AMMOS/aerie-ui/blob/develop/e2e-tests/data/command-dictionary.xml
@lklyne is working on design ideas in this Figma doc:
Explorations on selected command vs activity dictionary.
open questions around visual treatment, and what info should be in selected command vs command dictionary
Dev direction: https://www.figma.com/design/T4MZq59UrKCI0AqHqdqvE9/Aerie---Command-dictionary-view-%231493?node-id=63-17948&t=UO5E8ewtx8Iljf8B-4
Tab for command dictionary
Command dictionary tab > List
Command dictionary tab > Single command
Selected Command
When editing a sequence, provide a view that shows all commands in the dictionary specified in the sequence's parcel. For each command definition show argument names, types, ranges, and any other values set in dictionary.
Out of scope, but consider that we may want to show parameter dictionary and channel dictionary soon. We also are actively evaluating switching from AMPCS dictionary format to XTCE, or maybe support both.
Branch /feat/dict_view is a rough idea of what I had in mind, but we should take it through our normal design process