Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

66. Gadget Spec: Action Contributions... when using gadgets.actions.registerShowActionsListener, will the container invoke the callback immediately after registration to let the gadget know about any actions contributed BEFORE the listener was registered or will the gadget only be notified of actions registered AFTER the listener is registered? Same question with regards to registerHideActionsListener. Is registerHideActionsListener called when the gadget is closed or uninstalled? It's not clear. The spec simply says when the container unloads the gadget. What does unload mean as far as lifecycle events are concerned?

67. Gadget spec: PubSub-2... Use of variable substitution in Topic element names really doesn't seem to make a lot of sense as defined currently. The text says that it's use to supposed to make interop easier but it actually doesn't appear to do that at all since gadgets would be leaving it entirely up to the container to figure out what the topic names are... the gadget would never really be able to know what it should expect to get. 

68. Gadget Spec: Selection service.. per this issue... the add and remove Listener variants have an extra parameter that is not supported by the shindig code and that, apparently, should never have been there in the first place. However, now that they've been published as normative, I can't just remove them. We'll need to deprecate that version of the method and replace it.

...

74. Gadget Spec: gadgets.io.makeRequest... the HEADERS input parameter... current the value is defined as a Map<String,String>... just want to make sure it's clear that this design makes it impossible for multiple instances of a single header to be included in the request. This limitation is fine but it needs to be explicit and intentional.

75. Gadget Spec: gadgets.io.makeRequest... CONTENT_TYPE parameter and the Response object "data" property... what happens if the HTTP Request returns binary data that cannot be represented in a String?

76. Gadget Spec: gadgets.io.makeRequest .... "errors" property on the Response object ... what is the format of the error information contained in the array? Does the array contain strings? objects?

...