Skip to content

Update onboarding illustration and wording & fix navigation from cozy-bar in flagship app #143

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

Merged
merged 4 commits into from
May 7, 2025

Conversation

zatteo
Copy link
Member

@zatteo zatteo commented May 7, 2025

No description provided.

zatteo added 3 commits May 7, 2025 15:22
Background was half white half gray. Now it is full white as intended.
The new cozy-bar added recently leverages the WebviewIntentProvider to navigate to home and other apps on flagship app.

Unfortunately, it is not possible to use multiple WebviewIntentProvider in an app. cozy-intent does not support it. But the cozy-pass-web app is built around multiple React wrapper so we can not have one WebviewIntentProvider for the entire app and we also need it to check if the pass mobile app is installed during the onboarding process.

So here we :
- move the WebviewIntentProvider from ReactWrapper to the BarWrapper so it is instanciated only once
- expose a proxy using JS events to allow other part of the code to call webviewIntent.call
- use this proxy to check if the pass mobile app is installed
@zatteo zatteo requested review from Ldoppea and Benibur as code owners May 7, 2025 13:22
@zatteo zatteo changed the title Fix/illustration and bar Update onboarding illustration and wording & fix navigation from cozy-bar in flagship app May 7, 2025
Copy link

bundlemon bot commented May 7, 2025

BundleMon

Files updated (2)
Status Path Size Limits
app/vendor.js
2.02MB (+97B 0%) -
app/main.js
957.89KB (-2.57KB -0.27%) -

Total files change -2.47KB -0.08%

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

@zatteo zatteo merged commit 64c9557 into master May 7, 2025
2 checks passed
@zatteo zatteo deleted the fix/illustration-and-bar branch May 7, 2025 14:16
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.

2 participants