Skip to content

[FEATURE REQUEST] Manual removal of local storage #4174

@jesmrec

Description

@jesmrec

EPIC:

This one may be done after #4148

Context: #4002 (comment)

New option in "Manage Accounts" to clean the account up. Will be removed:

  • All downloaded files that are not av. offline
  • /tmp folder -> not finally, since in the automatic removal we realised we cannot remove the temporal files
  • failed uploads list

how to show to option in the UI?

  • Broom icon (available in material?) + warning about the behaviour like All downloaded and temporal files and failed uploaded will be cleaned up
  • Gear to open a new view in which other options could be added (iOS style):
Screenshot 2023-10-02 at 13 56 18

More ACs:

  • During the process, an spinner or similar should be displayed to let users know that the process is running.
  • When the downloaded files are removed, the last usage date will be cleaned up
  • Lack of connection to internet or to the server will not affect

TASKS

  • Research (if needed)
  • Create branch feature/manual_removal_local_storage
  • Development tasks
    • Create DAO with SELECT * files
    • Create datasource and repository
    • Create UseCase: deleteTemporal function, selectAllFiles repository and RemoveFile usecase.
    • Add function in ViewModel: implement loading and usecase
    • Create UI
    • Add unit test if it is necessary
    • Add release notes
    • Add calens
  • Code review and apply changes requested
  • Design test plan
  • QA
  • Merge branch feature/manual_removal_local_storage into master

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions