microsoft / BotFramework-WebChat

A highly-customizable web-based client for Azure Bot Services.
https://www.botframework.com/
MIT License
1.6k stars 1.54k forks source link

Story: how to retry when postback failed? #1119

Open compulim opened 6 years ago

compulim commented 6 years ago

When the user send text and it failed, we will show "Send failed, retry".

But post back don't show up in the UI, how to let the user retry if it failed?

corinagum commented 5 years ago

@tomlm could we get your input?

corinagum commented 5 years ago

Adding @seaen for tracking purposes.

corinagum commented 5 years ago
corinagum commented 5 years ago

@seaen recommended: hide buttons only on success. In case of failure, use the text 'Sending response failed. Please retry.' using the same UI as network outages.

corinagum commented 5 years ago

Discussed with @compulim - this would be relatively easy to implement for suggested actions, but difficult for Adaptive Cards because this feature doesn't exist for the library. Keeping the parity between both actions would be the main concern on the dev/design side. Regardless, I think it would be great if @DesignPolice could provide mockups so we can initiate conversation with Adaptive Cards team.