-
-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjustable upload speed and queue metrics on demo page (#1022)
Add three enhancements to the demo page on the docs website. Consistent progress event handling This internal change uses the onloadstart, onprogress, and onloadend internal functions to apply state changes to uploaded files. This should make the file state (and all state derived from this) more consistent with a live upload. For context – the demo page does not perform a real upload or use Mirage. Upload speed selection Users can now adjust upload speed as the queue is processing. This even allows pausing uploads with the Disconnected option. Note there is no simulation upload "abort" or upload failure. Queue state display Fairly self-explanatory.
- Loading branch information
Showing
3 changed files
with
121 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
{{page-title "Demo"}} | ||
|
||
<header> | ||
<div class='container'> | ||
<div class="container"> | ||
<h1>Demo</h1> | ||
|
||
<DemoUpload /> | ||
|