ephemeraHQ / xmtp-inbox-web

XMTP Inbox web chat app
https://dev.xmtp.chat
MIT License
33 stars 40 forks source link

Bug: "Loading..." status text takes a while to display after sending a large attachment #293

Closed jhaaaa closed 1 year ago

jhaaaa commented 1 year ago

Describe the bug I attached a 40MB GIF and sent the message. The message seemed to disappear for a minute and then the Loading... status message displayed for 15 seconds, and then the image displayed. I wonder if there is a way to display the Loading... message sooner?

To Reproduce Steps to reproduce the behavior:

  1. Go to alpha.xmtp.chat
  2. Attach a large image ~40MB.
  3. Send.
  4. See the message disappear.
  5. See the Loading... message display after about a minute.

Expected behavior The Loading... message should display as soon as I send the message.

Device and browser: Chrome on a Mac

daria-github commented 1 year ago

Closing as this is part of the optimistic sending work in https://github.com/xmtp-labs/xmtp-inbox-web/issues/286