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

Offline, read-only mode (persistent state/ cache) #114

Open
petruut opened this issue Jun 10, 2024 · 4 comments
Open

Offline, read-only mode (persistent state/ cache) #114

petruut opened this issue Jun 10, 2024 · 4 comments

Comments

@petruut
Copy link

petruut commented Jun 10, 2024

Issue:

Sometimes/ often, we need documents the most when the internet is not available or connections are weak (e.g. show an extra document at passport control when you land, etc.)

Potential solution:

The app should cache/ persist documents (either all, or a subset) locally on the device, to allow the user to access them via a read-only mode, even when there is no connectivity to server available.

This would greatly increase the functionality and allow me/ many to stop taking screenshots of things, just in case the app/ server is not accessible. 😂

@paulgessinger
Copy link
Owner

I've been thinking about this.
I think using SwiftData a local cache should be somewhat feasible, but it's a major refactoring.
In this scenario, editing would simply not be permitted at all while offline, to avoid any syncing issues.

@petruut
Copy link
Author

petruut commented Jun 12, 2024

That's really encouraging - don't know if you have anyone to bounce ideas around how this/ other functionality could work, but happy to brainstorm/ design by your side.

(especially since something like this doesn't just require the back-end, but also some front-end thinking about user touchpoint, etc. - which I'm sure you're on top of, since the app is amazing already, but just in case you want to multiplayer some of it through)

@tess1o
Copy link

tess1o commented Oct 25, 2024

Editing is not required in offline mode. Keep it simple. It's really nice to have an offline mode similar to Google drive, where you can select which documents should be available without internet. It would be a huge win comparing to the native Paperless Web UI since the web app obviously can't provide any offline mode.

@Crocmagnon
Copy link

I'm also interested in an offline mode to access documents in readonly. That would really make the app indispensable and would also allow me to remove my last documents from Nextcloud 😇

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

No branches or pull requests

4 participants