mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2026-07-21 08:56:07 -04:00
[GH-ISSUE #7] [Feature Request] Download speed & Time remain indicator within the downloads page #5
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AdenMGB on GitHub (Dec 26, 2024).
Original GitHub issue: https://github.com/Drop-OSS/drop-app/issues/7
Originally assigned to: @quexeky on GitHub.
Hello, I think a nice little to have QoL feature would be Download speed & Time remain indicator when downloading apps from the target server via the drop client app
I'd imagine this is quite and easy little feature to add, so much so I have already wrote the code for it and planning on becoming a contributor, but I cannot test it because for some reason when I run
yarn tauri devI get this weirdERROR [unhandledRejection] require is not definedbut oh well that's for another day.Thanks for maintaining this awesome little project!
Sincerely, Aden
Just in case you wanted it here's my implementation which is yet to be confirmed working with the files:
new code.zip
pages\settings\downloads.vue
utils\format.ts (new file)
src-tauri\src\downloads\progress_object.rs
@DecDuck commented on GitHub (Dec 26, 2024):
Oh shit I thought would've been a pain in the ass to implement, I completely forgot our progress track just counted bytes. This feature was definitely planned, but I had been putting it off. Good to know it'll be since and easy!
We had initially planned to push events from the Rust side to update download statistics on the frontend, but this might be a better solution. @quexeky ?
@quexeky commented on GitHub (Dec 26, 2024):
@DecDuck I see you've added it already?
@DecDuck commented on GitHub (Dec 26, 2024):
Not pushed yet. Still adding the final touches.
@quexeky commented on GitHub (Dec 26, 2024):
Aight that works. Is it event-based or poll-based? The initial implementation was poll-based
@DecDuck commented on GitHub (Dec 26, 2024):
Event based.
@quexeky commented on GitHub (Dec 26, 2024):
Shall I revert my local version?
[Feature Request] Download speed & Time remain indicator within the downloads pageto [GH-ISSUE #7] [Feature Request] Download speed & Time remain indicator within the downloads page