Botframework-webchat: "Send failed. Retry." button does not disappear after retrying activity multiple times

Created on 2 Jun 2020  路  7Comments  路  Source: microsoft/BotFramework-WebChat

If "Send failed. Retry" option appears for some message as an user I would expect that this option disappears right when I click retry. However, I am able to press retry multiple times and send multiple messages with identical text. Added a gif below where I used webchat demo project and offline mode to simulate direcline issues and make retry button to appear:

afX8dNfucD

As far as I know, this has something to do with activityId being undefined, since we received no activityId from service as well (please correct me if I'm wrong).

Maybe there is some handling we could do already to prevent this behavior?

Bot Services Bug ExemptFromDailyDRIReport P1 backlog customer-replied-to customer-reported front-burner

All 7 comments

This is an important feature to add. I'm adding it to our triage list, and since we're having a planning meeting soon we'll hopefully be able to add a timeline to this feature/bug.

@DesignPolice, after the 'Retry' button is clicked, what if any dialog/icon would we want to show here? 'Resending...' and then once that succeeds, 'Resent'?

In version 4.7.1 and older versions of Web Chat, when the user clicked 'Retry,' the activity status would change to 'Sending...,' and if the activity was sent successfully to the bot, the activity status would change to the timestamp; otherwise, it would show the retry option again. I'm not sure why the retry button started rendering a new activity in the transcript without removing the old one. I think the behavior should mirror older versions of Web Chat.

@compulim Any thoughts?

Web Chat v4.7.1

captured

oops, you're right. I'm removing enhancement since this is indeed a bug.

@compulim, please chime in and I can reassign to myself for further investigation.

okay that makes sense... I will make sure we look at it as part of the refresh though, that is a pretty tough click target, when Eyal gets back.

Agree with TJ. 4.7.1 looks good.

We have recently update the transcript component significantly in activity grouping feature. We need to verify if it is still repro.

If yes, then I recommend to fix this.

I can confirm that we are still able to repro this with version 4.11 of Webchat

We will discuss about the priorities after we ship R12.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

compulim picture compulim  路  3Comments

prashanthsridhar picture prashanthsridhar  路  3Comments

joshm998 picture joshm998  路  3Comments

Kellym-Kainos picture Kellym-Kainos  路  4Comments

felixhauserch picture felixhauserch  路  3Comments