refactor: remove placeholder providers, fake Drive badge and other dead features

Closed
#126 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@abdulwalidal is already working on this.

Since Dec 4, 2026.

  • #131 by @abdulwalidal — open

Assessment

Difficulty
4/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Stale
Tech stack
react, rust, tauri, typescript

Research direction

Start with src-tauri/src/cloud/mod.rs, src/components/layout/Header.tsx, src-tauri/src/cloud/gdrive.rs, and src-tauri/src/commands/mod.rs, then review the listed docs/ files and docs/GOOGLE_OAUTH_SETUP.md. Check provider settings and the header, and run the Rust tests, Clippy, and frontend build. Done means only Google Drive is shown, the readiness badge and dead code are removed, and the OAuth setup points to the hosted privacy policy. Pull request #131 is already open.

Written by the indexing model from the issue text.

Description

backend frontend ui/ux
Is your feature request related to a problem? Please describe.

Several parts of the app look like features but do nothing. Users read them as broken promises or bugs:

What Where Problem
Four "Coming Soon" cloud providers (Mega, Proton Drive, Filen, Amazon S3) Settings, src-tauri/src/cloud/mod.rs No code behind them; they push the one real provider (Google Drive) down the page.
"Drive Ready" badge in the top bar src/components/layout/Header.tsx Hard-coded: it shows even when Google Drive is not connected.
storage_total_bytes: 15 GB src-tauri/src/cloud/gdrive.rs A guessed value that is wrong for paid Google plans; nothing displays it.
test_encryption_roundtrip command src-tauri/src/commands/mod.rs A developer leftover the UI never calls; it adds IPC surface for no benefit.
Old copy of the website (docs/index.html, docs/privacy.html, docs/terms.html, docs/style.css) docs/ Replaced by https://awstudios.dev/securebackup; the stale privacy policy could contradict the real one.
Unused onRefresh prop Header.tsx Dead code.
Describe the solution you'd like

Remove all of the above. Google Drive stays the single supported provider; other providers stay on the roadmap (ROADMAP.md) until they are actually implemented. Point docs/GOOGLE_OAUTH_SETUP.md at the hosted privacy policy.

Acceptance criteria

  • Settings shows only Google Drive.
  • The header no longer claims Drive is ready.
  • cargo test, cargo clippy -D warnings and npm run build pass.
Describe alternatives you've considered

Keeping the providers as disabled cards: they still clutter the screen and suggest the features are nearly done.

Dominant language
Rust
Stars
3
Forks
6
Avg merge
5h 37m
Merged PRs (30d)
12

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from abdulwalidal/secure-backup

All issues in abdulwalidal/secure-backup

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.