microsoft / microsoft/BotFramework-WebChat

We should show "uploading" when sending attachment

Open
#1,265 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

backlog feature-request p1 size-l
Dominant language
HTML
Stars
1.8k
Forks
1.6k
Avg merge
22h 58m
Merged PRs (30d)
2

Description

image

Instead of timing out thru the regular 5-second rule, we should show "uploading" and allow more time to complete.

Comparison to v3

v3 use a timeout value of 20 for all messages (including attachments). It will fail about 20 seconds after the upload. And it does not show "uploading".

image

To-do

  • Identify file upload and say "Uploading" instead of "Sending"
    • Timeout using a different setting (120 seconds vs. 20 seconds)
  • Show progress bar

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.

Research direction

Start by tracing the web chat's attachment upload flow and compare its handling with the v3 behavior described in the issue. Confirm the current 5-second sending timeout and identify where attachment status is rendered. Done means uploads show "Uploading," use the requested longer timeout, and display a progress bar without timing out prematurely.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.