feat(ui): simpler restore with automatic source and no separate password test

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
cloud, desktop

Research direction

Start by locating the restore UI and the code that loads local and Google Drive backups; the issue does not name files or tests. Trace how restore checks the decrypted manifest before writing files, then identify how source selection, destination defaults, and conflict options are handled. Done means Drive-only backups restore on a fresh install and a wrong password fails with a readable message before any file is written.

Written by the indexing model from the issue text.

Description

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

Restoring should be: pick backup → folder → password → Restore. Today:

  • "Test Passphrase Integrity" is an extra step that restore already does (the manifest is decrypted and checked before any file is written), and it does not work for Google Drive backups at all.
  • "Restore From: This Computer / Google Drive" is shown even when only one source exists.
  • The backup list is a dropdown of cryptic strings such as docs (AES-256) — 20261203_1200 (4 MB).
  • Backups that exist only on Google Drive appear only after pressing "Scan Google Drive" (Restore) or "Rebuild Catalog" (Settings), two buttons that do the same job.
  • There is no default destination.
Describe the solution you'd like
  • A list of backup cards (folder name, date, files, size, encrypted and Drive badges); the selected one is highlighted.
  • When Drive is connected, Drive-only backups are loaded automatically; one "Refresh" control remains.
  • The source is chosen automatically (this computer when available, otherwise Google Drive); a small switch appears only when both exist.
  • Remove the separate password test; a wrong password shows a clear "Wrong password" error from the restore itself.
  • Destination defaults to empty with a clear prompt; conflict options keep Skip / Keep both / Replace with plain descriptions.

Acceptance criteria

  • A Drive-only backup can be restored on a fresh install without visiting Settings.
  • A wrong password fails before any file is written, with a readable message.
Describe alternatives you've considered

Keeping the test button for local backups only: it duplicates the restore check and confuses users about which step is required.

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.