mozilla / delivery-console

Normandy recipe editor
Mozilla Public License 2.0
13 stars 22 forks source link

Allow editing extra_capabilities #1062

Open mythmon opened 4 years ago

mythmon commented 4 years ago

With the new capabilities work landed in Normandy, there is a new editable field that should be accessible: extra_capabilities. It is logically a set of strings. Though since JSON doesn't have sets the type is actually Array<String>.

Right now there aren't any further semantics associated with this field, we just need to be able to type a list of strings in.

mythmon commented 4 years ago

For extra fanciness, this could autocomplete from the list of capabilities the server knows about, which there is an API endpoint for now. We should still allow free-form text as well though, since some valid capabilities might not be known by the server.