GhostWording / gw-config-apis

this repo contains static json that can live through apis with github management only
0 stars 7 forks source link

Messenger bots and fragments #37

Closed vnguyendon closed 6 years ago

vnguyendon commented 6 years ago

We have identified a systematic issue while using fragments in messenger bots : the fragment sequence stops immediately after the second quick reply. Please see the detailed test below :

  1. We tried to use the messenger bot "Museum Story Bot Demo" (ex British Museum Bot), where a new logic is being used : after a first introduction sequence, we see 4 times a "Choose your story" sequence.
  2. The "Choose your Story" sequence is expected to display a clickable carrousel, with different choices of artwork. When we click on one, the bot is supposed to call the corresponding fragment and display the fragment sequence.
  3. When we test it, we can see that the bot indeed starts to display the correct sequence, except that it does not go through it entirely. To be more precise, we noticed that the sequence stops immediately after the user choose a click reply for the second time in the fragment sequence.

Notes :

OlivierBourdin commented 6 years ago

Hey, that looks nicely explained to me What do you think @rhwy ?

rhwy commented 6 years ago

this sounds like a bug or corner case. I'll look into it but first I'll have to test the messenger bots with the new get next sequence mechanism I'll put it in my todo for august

rhwy commented 6 years ago

is that the right master file you used in your exemple ? https://github.com/GhostWording/gw-config-apis/blob/master/data/bot/apps/museumapps/britishmuseum/britishmuseumMasterSequence.json

vnguyendon commented 6 years ago

This one was used for the APIs bot. The masterfile linked to the messenger bot is https://github.com/GhostWording/gw-config-apis/blob/master/data/bot/apps/britishmuseumbot/britishmuseumbotMaster.json But they are the same for now.