mirror of
https://github.com/afkarxyz/SpotiFLAC.git
synced 2026-04-26 23:55:52 +03:00
[PR #123] [MERGED] Download Queue & Progress UI #1264
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SpotiFLAC#1264
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
📋 Pull Request Information
Original PR: https://github.com/afkarxyz/SpotiFLAC/pull/123
Author: @Lukas200301
Created: 11/27/2025
Status: ✅ Merged
Merged: 11/29/2025
Merged by: @afkarxyz
Base:
main← Head:main📝 Commits (2)
688abf2Add download queue tracking and UI integrationb4e573aAdd session stats to DownloadQueue dialog📊 Changes
14 files changed (+1175 additions, -30 deletions)
View changed files
📝
app.go(+94 -11)📝
backend/metadata.go(+6 -1)📝
backend/progress.go(+318 -1)📝
frontend/package.json(+1 -0)📝
frontend/pnpm-lock.yaml(+33 -0)📝
frontend/src/App.tsx(+16 -4)📝
frontend/src/components/DownloadProgressToast.tsx(+24 -6)➕
frontend/src/components/DownloadQueue.tsx(+290 -0)📝
frontend/src/components/ui/dialog.tsx(+1 -1)➕
frontend/src/components/ui/scroll-area.tsx(+46 -0)📝
frontend/src/hooks/useDownload.ts(+288 -6)➕
frontend/src/hooks/useDownloadQueueData.ts(+40 -0)➕
frontend/src/hooks/useDownloadQueueDialog.ts(+16 -0)📝
frontend/src/types/api.ts(+2 -0)📄 Description
Download Queue & Progress UI
While contributing to this project, I saw the potential to improve the bottom-left Download Indicator—which previously only showed speed and total data. I enhanced it so that when you click the indicator, it now opens a Download Queue dialog that gives users comprehensive, interactive insight into all current downloads.
Highlights
queued,downloading,completed,skipped,failedwith error messages), plus session statistics (counts, MB, speed, time) in a spacious, readable layout.@radix-ui/react-scroll-areafor a modern, customizable scrollbar in the Download Queue dialog.Technical Changes
@radix-ui/react-scroll-areafor scrolling, adds new dialog and indicator components, handles batches and errors gracefully.Main Files
frontend/src/components/DownloadQueue.tsx,DownloadProgressToast.tsx, related hooksprogress.go,metadata.go,app.goApp.tsx,useDownload.ts, API/type updatesResult: These improvements give users full visibility, clearer error reporting, and much better control for both single and batch downloads.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.