Skip to content

List Visual Block #9

Description

@mmarcec007

List Block
Define a new block in convoworks with name List Block which will make it easier to work with lists on Amazon Alexa, Google Assistant, Facebook Messenger and Viber.

Block Properties itself:

  • list title -> displays the title of the list
  • list template -> offers selection between carousel view and list view if possible
  • items -> this is the object which contains the contents of the list items
  • offset ->
  • limit ->user defined limit which can be overridden by platform upper limit
  • list item name -> under which name to store list item name
  • list item title -> title of the item which is in the list
  • list item description -> description of the item which is in the list
  • list item image url -> link to the image of an item in the list
  • list item image text -> accessibility text of the image of an item in the list (Required if you want to display the image!)

Block Containers:

  • Read Phase -> display the list itself and support is added for other convoworks responses such as text response, set parameter, if and so on
  • On No Screen Supported -> will be executed instead if the device has no support for a screen
  • On List Item Selected -> will be executed when an item of the list was selected
  • Additional Processors -> will be executed of another things of other processors are matched

Additional specifications:

  • Define new request interfaces IConvoListRequest which will make it easier to get values from those requests from each platform and implement them in each PlatformRequest
  • Define new response interfaces IConvoListResponse which will make it easier to define the final response for each platform and implement them in each PlatformResponse

Please also refer to the Dummy representation of the List Block.

Dummy representation of the List Block:
list_block_image

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions