feat(cloud): add real-time upload progress indicator and concurrent cloud file uploads
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 38/100
Research direction
Start by locating the Rust cloud-sync/upload code, the Tauri frontend handler for the cloud-sync button, and the SQLite ledger update path; the issue does not name specific files or tests. Review how uploads and manifest verification work before assessing progress events and bounded concurrency. Done means the UI reports live upload progress, uploads use bounded parallelism, and ledger and manifest integrity remain verified.
Written by the indexing model from the issue text.
Description
Problem
Currently, syncing a backup snapshot to Google Drive uploads files strictly sequentially (one-by-one).
Furthermore:
- Each file requires two sequential network requests (multipart upload + remote verification GET). For a backup with 30+ files, this amounts to 60–70 sequential network round-trips to Google APIs, taking several minutes.
- The UI button only displays a static label:
"Uploading to Cloud..."without showing progress, file counts, or percentages. To the user, this can appear as if the app is hanging or inactive.
Proposed Solution
1. Real-Time Upload Progress Indicator
- Emit Tauri events (e.g.
cloud-upload-progress) from the Rust backend to the frontend. - Send payload details:
files_completed: number of files uploaded so fartotal_files: total files in snapshotbytes_uploaded: total bytes transferredtotal_bytes: snapshot total byte sizecurrent_file_name: current file or percentage
- Update UI with a live progress bar or badge (e.g.
"Uploading (12/31 files - 45%)...").
2. Concurrent / Parallel File Uploads
- Upload 3–5 files concurrently using a worker pool or bounded Tokio semaphore.
- Greatly reduce the wall-clock time required for multi-file snapshots (up to ~70% faster).
- Ensure atomic SQLite ledger updates (
mark_file_synced) per completed file.
Acceptance Criteria
- UI shows live progress counter or bar during cloud sync.
- Files upload concurrently with bounded parallelism (avoiding Google Drive rate limits).
- Ledger and manifest integrity remain strictly verified.
- Dominant language
- Rust
- Stars
- 3
- Forks
- 6
- Avg merge
- 5h 37m
- Merged PRs (30d)
- 12
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from abdulwalidal/secure-backup
-
feat(ui): cleaner "save your password" card on the Back up screenPossibly taken @abdulwalidal claimed this today. Openfrontend ui/ux
abdulwalidal/secure-backup#142 ·
Maintainers usually reply within 1 day
-
ci(release): publish ready-to-install builds for Windows, Linux (x64 + ARM64) and macOSPossibly taken @abdulwalidal claimed this 41 days ago. Openenhancement
Difficulty 4/5 3-5 days Newbie friendliness 30/100
abdulwalidal/secure-backup#123 ·
Maintainers usually reply within 1 day
-
security
Difficulty 5/5 Over a week Newbie friendliness 25/100
abdulwalidal/secure-backup#35 ·
Maintainers usually reply within 1 day
-
engine security
Difficulty 4/5 3-5 days Newbie friendliness 48/100
abdulwalidal/secure-backup#34 ·
Maintainers usually reply within 1 day
-
cloud security
Difficulty 5/5 Over a week Newbie friendliness 35/100
abdulwalidal/secure-backup#29 ·
Maintainers usually reply within 1 day
All issues in abdulwalidal/secure-backup
Similar issues
-
claim
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Nixitov/Riptide-Native#946 ·
Maintainers usually reply within 1 day
-
area: ai-assistants documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
BetaBots-LLC/latticegate#17 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
storytold/craft-libs#5594 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
听歌识曲历史跳转后对应音源界面无法返回Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
LingyunStudio/RustMusic#16 ·