-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: Handle offline mode in Flagship app #660
Open
Ldoppea
wants to merge
7
commits into
master
Choose a base branch
from
feat/offline
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BundleMonFiles updated (6)
Unchanged files (35)
Total files change +3.54KB +0.05% Groups updated (1)
Unchanged groups (2)
Final result: ✅ View report in BundleMon website ➡️ |
5c35d0d
to
a5b1534
Compare
a5b1534
to
ede8ef6
Compare
2 tasks
2 tasks
0a4574d
to
908326d
Compare
`cozy-device-helper` has been upgraded to `3.1.0` in order to retrieve the Offline mode support Related PR: cozy/cozy-libs#2562
We want mespapiers to be compatible with the new Flagship app's Offline mode When hosted in a Flagship app's WebView we now want to use FlagshipLink instead of StackLink in cozy-client This link will allow to redirect all queries to the Flagship app that will handle data access when offline but also when online Related PR: cozy/cozy-client#1507 Related PR: cozy/cozy-flagship-app#1239
Previous query was not compatible with CozyPouchLink
In cozy/cozy-client#1518 we implemented a new `downloadFile()` that allow to download files as before in a browser, but will download files through cozy-intent when hosted in the Flagship app This commit will replace the old way to download files with the new one using `downloadFile()`
When offline, the PouchDB result does not contain a `referenced_by` attribute if no relationship exists on the document. So we want to optional chain this attribute to prevent any exception thrown Related Commit: cozy/cozy-ui@e3eeb6e
908326d
to
1b0f407
Compare
zatteo
approved these changes
Feb 13, 2025
Merkur39
approved these changes
Feb 13, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We want mespapiers to be compatible with the new Flagship app's Offline mode
When hosted in a Flagship app's WebView we now want to use FlagshipLink instead of StackLink in cozy-client
This link will allow to redirect all queries to the Flagship app that will handle data access when offline but also when online
Related PR: cozy/cozy-client#1507
Related PR: cozy/cozy-flagship-app#1239
Related PR: cozy/cozy-libs#2562
Related PR: cozy/cozy-ui#2690
Related PR: cozy/cozy-libs#2581
Related PR: cozy/cozy-libs#2585
TODO:
Update cozy-ui after feat: Use newdownloadFile()
method from cozy-client cozy-ui#2690 is mergeddownloadFile()
method from cozy-client cozy-libs#2581 is merged