Closed Bug 1895943 Opened 4 months ago Closed 3 months ago

Implement file picker and save location for backups

Categories

(Firefox :: Profile Backup, task, P3)

task

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: kpatenio, Assigned: kpatenio)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-device-migration])

Attachments

(1 file)

The dialog for turning on scheduled backups (see Bug 1893277) has an input that users can interact with to choose the save location for backups. This is a follow-up ticket to implement the file picker associated with that UI. Some things to consider:

  1. The input shows a folder icon for the selected folder
  2. There is a "recommended" folder that's displayed by default, but users can select a non default folder if desired
  3. "(recommended)" text in the input should be localized
  4. Once all options in the modal are confirmed, the new backup location should be saved and passed to BackupService
Severity: -- → N/A
Priority: -- → P3
Whiteboard: [fidefe-device-migration]

Some other details from the spec that are relevant to save location:

  • There will be an option to choose the location of the backup
  • The default location will be the Documents folder
  • On Windows call SHGetKnownFolderPath(FOLDERID_Documents
  • On macOS call NSSearchPathForDirectoriesInDomains(NSDocumentDirectory
  • On Linux use $XDG_DOCUMENTS_DIR variable in ~/.config/user-dirs.dirs, or if that doesn’t exist, use $HOME/Documents
  • There will be an affordance to pick a different location using the OS standard folder picker
Assignee: nobody → kpatenio
Attachment #9402556 - Attachment description: WIP: Bug 1895943 - Implement file picker and save location for backups. r=#backup-reviewers! → Bug 1895943 - Implement file picker and save location for backups. r=#backup-reviewers!
Attachment #9402556 - Attachment description: Bug 1895943 - Implement file picker and save location for backups. r=#backup-reviewers! → WIP: Bug 1895943 - Implement file picker and save location for backups. r=#backup-reviewers!
Attachment #9402556 - Attachment description: WIP: Bug 1895943 - Implement file picker and save location for backups. r=#backup-reviewers! → Bug 1895943 - Implement file picker and save location for backups. r=#backup-reviewers!
Blocks: 1900125
Attachment #9402556 - Attachment description: Bug 1895943 - Implement file picker and save location for backups. r=#backup-reviewers! → WIP: Bug 1895943 - Implement file picker and save location for backups. r=#backup-reviewers!
Attachment #9402556 - Attachment description: WIP: Bug 1895943 - Implement file picker and save location for backups. r=#backup-reviewers! → Bug 1895943 - Implement file picker and save location for backups. r=#backup-reviewers!
Pushed by kpatenio@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5dd8df7eb584
Implement file picker and save location for backups. r=backup-reviewers,mconley,fluent-reviewers,flod,firefox-desktop-core-reviewers

Backed out for causing bc failures in browser_startup_mainthreadio.js

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_startup_mainthreadio.js | unexpected read on D:\task_171808496973085\AppData\Roaming\Microsoft\Windows\Libraries\desktop.ini before becoming idle -
Flags: needinfo?(kpatenio)
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/aca723da347d
Implement file picker and save location for backups. r=backup-reviewers,fluent-reviewers,flod,firefox-desktop-core-reviewers
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
Flags: needinfo?(kpatenio)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: