Skip to content

[FEATURE REQUEST] Scoped Storage Migration from legacy storage #3327

Description

@jesmrec

Is your feature request related to a problem? Please describe.

What to do when users will upgrade to Scoped Storage.

Describe the solution you'd like

A Wizard will guide them through the process.
Finally, they will decide if they want to remove the old folder by themselves, or the app will do it.
Pending uploads to be migrated

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

  • When user upgrades to 2.19, stuff to migrate:
    • Pending uploads migration: Sharing with oC, manual uploads, Document provider (over temporal folder).
    • Check one for one pending uploads, whether they are on external storage.
    • Move files to ScSt and queue them (are they directly uploaded?)

Create Wizard with some slides. NO SKIP OPTION

  • What ScSt is, quick description for users to understand what is it about
  • Advantages of Scoped Storage
  • Warning: all av offline stuff will be directly downloaded in some seconds. Not sure if tell user this... he/she can do nothing.
  • Migration

Check when and where, the options will be displayed to let user decide.

Ask user whether legacy storage is deleted or not. Be clear with the consequences of every option

  • If "yes" -> owncloud legacy removed from device
  • If "not" -> owncloud legacy folder remains. Let him know what happens there...

TASKS

  • Research (if needed)
  • Create branch scoped_storage_migration
  • Development tasks
    • Implement the designs for the migration
    • Create logic to show or not the migration wizard
    • Implement the viewmodel logic
    • Implement the navigation inside the wizard
    • Show how many files and Gb are going to be migrated and a time estimation
    • Migrate files from legacy storage to scoped storage
    • Update database with the new path for already downloaded files
  • Code review and apply changes requested
  • Design test plan
  • QA
  • Merge branch scoped_storage_migration into master

PR

  • App
  • Library (if needed)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions