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

Add basic options to dump and clean offline queue #915

Merged
merged 1 commit into from
Feb 7, 2020

Conversation

di72nn
Copy link
Member

@di72nn di72nn commented Feb 6, 2020

This adds Settings -> Miscellaneous -> Local changes submenu with two actions:

  • Dump to file.
    This saves the contents of the offline queue to a file to the app directory in the external storage.
  • Remove first local queue item.
    This, as the name suggests, removes the first local queue item. It should be enough because only the first item directly blocks synchronization. If there are more than one problem items, the action can be repeated.

This is a very basic improvement for #905 (and some other issues).

These options are not meant to be an obvious fix a user: the user should report the problem (so something may be fixed (like not saveable articles)) and be instructed to use these options to make the app usable again.

Copy link
Contributor

@Strubbl Strubbl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested the changes successfully with the local queue being empty.

@di72nn di72nn force-pushed the offline_queue_dump_and_remove branch from 4a172a4 to 0fa9c9f Compare February 7, 2020 07:05
Copy link
Contributor

@Strubbl Strubbl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your answers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants