You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the API returns type radio, it would be helpful if the Zetta browser presented an affordance in the UI that allowed the user to select one of the options. See the attached screenshot generated from the API below.
Screenshot of UI generated from the API response below:
the API response with radio type that generated UI above:
{"class":["device"],"properties":{"id":"34a213d0-5ed4-499b-a26a-35cd7cadb5a8","type":"text-to-speech","name":"Text to Speech","state":"silent"},"actions":[{"name":"say","method":"POST","href":"http://0.0.0.0:1337/servers/976268fd-9b31-4076-a78e-f285cd05a772/devices/34a213d0-5ed4-499b-a26a-35cd7cadb5a8","fields"[{"name":"words","type":"text"},
{"name":"voice","type":"radio","value":
[
{"name":"Agnes","locale":"en_US","example":"Isn't it nice to have a computer that will talk to you?"},
{"name":"Albert","locale":"en_US","example":"I have a frog in my throat. No, I mean a real frog!"},
{"name":"Paola","locale":"it_IT","example":"Salve, mi chiamo Paola e sono una voce italiana."}]},
{"name":"action","type":"hidden","value":"say"}
]
}
],"links":[{"rel":["self"],"href":"http://0.0.0.0:1337/servers/976268fd-9b31-4076-a78e-f285cd05a772/devices/34a213d0-5ed4-499b-a26a-35cd7cadb5a8"},{"title":"Brians-MacBook-Air.local","rel":["up","http://rels.zettajs.io/server"],"href":"http://0.0.0.0:1337/servers/976268fd-9b31-4076-a78e-f285cd05a772"},{"title":"state","rel":["monitor","http://rels.zettajs.io/object-stream"],"href":"ws://0.0.0.0:1337/servers/976268fd-9b31-4076-a78e-f285cd05a772/events?topic=text-to-speech%2F34a213d0-5ed4-499b-a26a-35cd7cadb5a8%2Fstate"},{"title":"logs","rel":["monitor","http://rels.zettajs.io/object-stream"],"href":"ws://0.0.0.0:1337/servers/976268fd-9b31-4076-a78e-f285cd05a772/events?topic=text-to-speech%2F34a213d0-5ed4-499b-a26a-35cd7cadb5a8%2Flogs"}]}
The text was updated successfully, but these errors were encountered:
When the API returns type
radio
, it would be helpful if the Zetta browser presented an affordance in the UI that allowed the user to select one of the options. See the attached screenshot generated from the API below.Screenshot of UI generated from the API response below:
the API response with
radio
type that generated UI above:The text was updated successfully, but these errors were encountered: