tmail-flutter icon indicating copy to clipboard operation
tmail-flutter copied to clipboard

Show the progress of download attachment in app

Open hoangdat opened this issue 2 years ago • 6 comments

Desc:

At the moment, when we download an attachment in browser, it takes some delay (downloading bytes of attachment) before show in bottom of browser.

DoD:

  • [ ] Designer: design the view to indicate user downloading attachment progress
  • [ ] Dev: implement progress in web-app

hoangdat avatar Jun 15 '22 04:06 hoangdat

@chibenwa please let us more related information

hoangdat avatar Jun 15 '22 04:06 hoangdat

The dowload response should have a content length header allowing you to know the size of what you need to download.

Then you just need to count the downloaded bytes.

=> I don't know if the server side currently supports getting downloadUrl public so we can do that?

Thats off spec...

chibenwa avatar Jun 15 '22 07:06 chibenwa

so you mean, we can not transfer the download task to browser like openpaas. We need to show the progress our-self. Am I right?

hoangdat avatar Jun 15 '22 07:06 hoangdat

Right.

chibenwa avatar Jun 15 '22 07:06 chibenwa

  • Progress in toast

hoangdat avatar Aug 01 '22 08:08 hoangdat

1 HD

dab246 avatar Aug 05 '22 10:08 dab246