Skip to content

feat: Handle offline mode in Flagship app#58

Open
Ldoppea wants to merge 4 commits intomasterfrom
feat/offline
Open

feat: Handle offline mode in Flagship app#58
Ldoppea wants to merge 4 commits intomasterfrom
feat/offline

Conversation

@Ldoppea
Copy link
Copy Markdown

@Ldoppea Ldoppea commented May 20, 2025

We want cozy-papillon 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: linagora/cozy-client#1507
Related PR: linagora/cozy-flagship-app#1239

### ✨ Features

* Handle offline mode in Flagship app

### 🐛 Bug Fixes

*

### 🔧 Tech

*

Ldoppea added 3 commits May 19, 2025 15:48
`cozy-client` has been upgraded to `58.1.0` in order to retrieve
offline capabilities
`cozy-device-helper` has been upgraded to `3.8.0` in order to retrieve
offline capabilities
`fastify/deepmerge` relies on optional chaining that is not configured
in cozy-scripts

For now cozy-scripts build is broken and we don't expect to fix it as
we want to migrate to rsbuild

So instead we want to patch `fastify/deepmerge` so it doesn't rely on
optional chaining
We want cozy-papillon 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: linagora/cozy-client#1507
Related PR: linagora/cozy-flagship-app#1239
@bundlemon
Copy link
Copy Markdown

bundlemon bot commented May 20, 2025

BundleMon

Files updated (2)
Status Path Size Limits
vendors/papillon.(hash).js
625.46KB (+19.76KB +3.26%) -
app/papillon.(hash).js
16.2KB (+163B +0.99%) -
Unchanged files (4)
Status Path Size Limits
vendors-papillon.(hash).(hash).min.css
29.7KB -
img/import-school.(hash).svg
18.15KB -
img/pronote.(hash).svg
1.83KB -
app-papillon.(hash).min.css
20B -

Total files change +19.92KB +2.97%

Groups updated (1)
Status Path Size Limits
**/*.js
641.76KB (+19.92KB +3.2%) -
Unchanged groups (2)
Status Path Size Limits
**/*.css
29.72KB -
img/.
19.97KB -

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants