Repository navigation
Feature: Downloads widget - #553
Merged
Merged
Conversation
Show active downloads from qBittorrent, Transmission, Deluge, SABnzbd and NZBGet as parcels on a conveyor belt, with the time until the last one finishes. Bundled widget pages now fill their card.
- NZBGet: leave paused repair files out of size and remaining; later jobs finish after the jobs ahead. - SABnzbd: show only downloading slots, each with its own time left. - Deluge: connect the web UI only when exactly one daemon is listed. - Strip U+061C and C1 control characters from names. - Pager: expose its position as a group label and wrap at either end. - Draw no loading placeholders on resize after a failed first load.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
downloadswidget (small, medium): each active download is a kraft box on a conveyor belt, with packing tape over the lid as progress and a heading with the finish time or time left.auth.loginsession cookie; connects the web UI to its daemon only when exactly one is listed). Every other call is read-only with fixed method names.download-items.jswith no I/O; compute the heading summary on the server over every download, not only the 12 shown.Downloadingslots, each with its owntimeleft. NZBGet: subtractPausedSizefrom size and remaining; each job's ETA counts the jobs ahead of it at the queue rate.downloadsicon toicon-set.jsand theparcelglyph.Testing
All green, including the Docker build, image scan and e2e. Added 35 tests for the client parsers, session handshakes, the summary, input refusal and the belt logic, plus one for frames filling their card, and an e2e spec for the pager and the failure state.
Changelog
Added
Fixed
Checklist