microsoft / microsoft/BotFramework-WebChat

"Send failed. Retry." button does not disappear after retrying activity multiple times

Open
#3,192 7 comments 3 reactions 1 assignee View on GitHub

@compulim is already working on this.

Since Jan 27, 2021.

backlog Bot Services bug customer-replied-to customer-reported ExemptFromDailyDRIReport front-burner p1
Dominant language
HTML
Stars
1.8k
Forks
1.6k
Avg merge
22h 58m
Merged PRs (30d)
2

Description

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?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.