Skip to content
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.

8 - Aggregate status (& progress where supported) bar #384

Closed
rnicholus opened this issue Oct 3, 2012 · 3 comments
Closed

8 - Aggregate status (& progress where supported) bar #384

rnicholus opened this issue Oct 3, 2012 · 3 comments
Assignees
Milestone

Comments

@rnicholus
Copy link
Member

With total bytes, etc In addition to the per-file progress bar. This should probably include other aggregate information, such as total # of files, # of failures (or some sort of # by status), etc.

@ghost ghost assigned rnicholus Oct 3, 2012
@rnicholus rnicholus mentioned this issue Oct 25, 2012
@rnicholus
Copy link
Member Author

After some thought, I'm not quite sure how I should implement this exactly. There are so many different paths I can take. I realize that this will need to be highly customizable to ensure that most FineUploader mode users who want such a feature can easily make use of this and customize it to fit their needs without writing their own. I think, at the very least, I need to spend another release thinking about this. However, I would really appreciate some input from Fine Uploader users. I'd like to hear some UX-related ideas. I'll solicit users via Twitter, the groups support forum, and perhaps Geekli.st for input.

If I don't receive any input at all, or any +1's/^5s, I may just kill this feature. I'll let the users tell me what they want for this one...

@rnicholus
Copy link
Member Author

Need to discuss this with the graphic designers at Widen before I proceed. Moving to 3.7, but likely will be pushed farther back.

@rnicholus
Copy link
Member Author

The plan is to provide an onTotalProgress callback, along with support for an optional aggregate progress bar in Fine Uploader UI.

  • onTotalProgress callback with two params: totalUploaded, totalSize. Both integers.
  • callback will be invoked whenever an individual file's progress changes (increase in totalUploaded value)
  • ...whenever a file is added (increase in totalSize value)
  • ...whenever a file is canceled (reduction in totalUploaded & totalSize values)
  • Total progress bar in UI will be hidden once it reaches 100% or once there are no files in progress.
  • Total progress represents only the current "batch" of files. Once there are no more files in progress & all files have uploaded successfully or the failed ones have been canceled, the progress bar will be reset internally.

rnicholus pushed a commit that referenced this issue Feb 27, 2014
rnicholus pushed a commit that referenced this issue Feb 28, 2014
TODO:
- documentation
- default UI total progress bar should look a bit more appropriate
- unit tests?  (might be too complicated)
rnicholus pushed a commit that referenced this issue Feb 28, 2014
Also updated example templates.

TODO:
- documentation
- unit tests
rnicholus pushed a commit that referenced this issue Mar 3, 2014
rnicholus pushed a commit that referenced this issue Mar 3, 2014
rnicholus pushed a commit that referenced this issue Mar 4, 2014
rnicholus pushed a commit to FineUploader/integration-examples that referenced this issue Mar 10, 2014
rnicholus pushed a commit that referenced this issue Mar 12, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants