Skip to content

FR: Full offline support #89

Open
Open
@farynaio

Description

@farynaio

Is your feature request related to a problem? Please describe.
This feature is meant to solve at least two problems:

Mobile apps are killed easily by OS, so we can't keep them forever alive to have offline access to org files.
If we use Chrome, we can have only a single instance of org-web showing a single org file. Switching between files will cause re-download and BSOD (black screen of death - which is white BTW) "internet not available".

These two issues make org-web quite useless and unreliable in offline mode.

Describe the solution you'd like
The solution would be to use local storage to store every visited org file, so even if we would be in offline mode we could have all features available - other than sync of course.

At any time when the network will be available again, we would sync current state with remote one, as simple as that.

This solution will not cause any additional problems because the sync mechanism is already implemented, so we can piggyback on it.

Describe alternatives you've considered

Using offline pages in Opera on mobile - it doesn't work with web apps, it caches only CSS and HTML so it works only for plain static pages.
Opt-out org-web from Android battery optimization - the app stays alive but we can access only a single file at a time. If we switch files or kill it by an incident we will get BSOD.
Tried Firefox, Chrome, Opera on Android - all of them refresh the content of the page when we reopen the app after killing.

Additional context
none

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions