Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Manual removal of local storage #4174

Closed
14 of 15 tasks
jesmrec opened this issue Oct 2, 2023 · 0 comments · Fixed by #4334
Closed
14 of 15 tasks

[FEATURE REQUEST] Manual removal of local storage #4174

jesmrec opened this issue Oct 2, 2023 · 0 comments · Fixed by #4334

Comments

@jesmrec
Copy link
Collaborator

jesmrec commented Oct 2, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants