microsoft / microsoft/BotFramework-WebChat
"Send failed. Retry." button does not disappear after retrying activity multiple times
@compulim is already working on this.
Since Jan 27, 2021.
- 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:

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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.