zippy / ceptr

(a recomposable medium for distributed social computing) || (semantic self-describing protocol stacks)
http://ceptr.org
GNU General Public License v3.0
89 stars 17 forks source link

TE: add +/- markers for optionals #53

Open zippy opened 8 years ago

zippy commented 8 years ago

Non-fixed size structures, i.e. ones with optionals need visual markers for delete/add more repetitions/change or value/choose different symbol from set, etc

This is can be deduced from the STRUCTURE_DEFINITION in the case of symbols and from the INPUT_SIGNATURE in the case of processes

zippy commented 8 years ago

The proper way to do this, I think, is to actually represent trees in the editing state by wrapping their parts in the HTML that represents their structural definition, and can thus have UI associated with those parts for adding/subtracting optional elements of those parts. This has two implications: