-
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
Draft
Ldoppea
wants to merge
11
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.
Draft
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 +11.01KB +0.16% Groups updated (1)
Unchanged groups (2)
Final result: ✅ View report in BundleMon website ➡️ |
Ldoppea
force-pushed
the
feat/offline
branch
from
September 13, 2024 09:14
5c35d0d
to
a5b1534
Compare
Ldoppea
force-pushed
the
feat/offline
branch
from
September 13, 2024 14:54
a5b1534
to
ede8ef6
Compare
2 tasks
2 tasks
`cozy-client` has been upgraded to `49.0.0` in order to retrieve the Offline mode support `cozy-intent` has been upgraded to `2.23.0` as it is the new minimal version for `cozy-client` since `49.0.0` Related PR: cozy/cozy-client#1507
`cozy-device-helper` has been upgraded to `3.1.0` in order to retrieve the Offline mode support Related PR: cozy/cozy-libs#2562
`cozy-harvest-lib` has been upgraded to `30.0.1` in order to retrieve a fix on accounts fetching that provide support for Offline mode Related PR: cozy/cozy-libs#2585
`cozy-viewer` has been upgraded to `2.0.0` in order to retrieve changes on how files are downloaded in order to handle Offline mode Related PR: cozy/cozy-libs#2581
Ldoppea
force-pushed
the
feat/offline
branch
2 times, most recently
from
September 24, 2024 16:28
b21c693
to
5999252
Compare
`cozy-bar` has been upgraded to `15.0.1` in order to retrieve a fix related to Offline mode Related PR: cozy/cozy-bar#852
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
Ldoppea
force-pushed
the
feat/offline
branch
from
September 25, 2024 12:24
0a4574d
to
908326d
Compare
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