-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[HybridApp] Add explanation modal #39074
[HybridApp] Add explanation modal #39074
Conversation
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
@Santhosh-Sellavel Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Conflicts again |
Bump @mateuuszzzzz |
@Santhosh-Sellavel I resolved conflicts |
New Login CaseOnboarding not complete
This case fails Screen.Recording.2024-04-17.at.11.15.29.PM.movWhile window is resized content is not responsiveUnable to scroll, not fit properly Screen.Recording.2024-04-17.at.11.16.24.PM.mov |
This looks like regressions introduced after merging main. I will investigate it. |
@mateuuszzzzz bump! |
I'm on it |
@Santhosh-Sellavel could you verify if you can see onboarding flow after creating new account but on When I initially tested this PR it worked, but now I cannot see onboarding flow even on In general EDIT: I got confirmation that this We need to come up with new approach which won't be buggy. This will be handled internally by Expensify. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good!
One important remark. Due to poor transitions we have very weird behaviour on Android. Navigation behaves a bit different than it should (see video for Android native). I can't do much about it in this PR. I want to fix it in oncoming improved transitions PR where I will delegate handling HybridApp onboarding flow to "HybridApp middleware". This should guarantee us that navigation on Android works correctly. cc: @AndrewGable If this is a problem at the moment, we can disable Explanation Modal for Android and enable it again in improved transitions PR. EDIT: Fix is already here #44471 |
I kinda think we should keep this one separate and just merge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking really good! I will do checklist soon.
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.0.3-7 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.5-13 🚀
|
Details
OldDot part of this PR: https://github.com/Expensify/Mobile-Expensify/pull/12779
Fixed Issues
$ #37860
PROPOSAL:
Tests
One remark before tests:
Branch of this PR was created on our fork.
This means it's impossible to switch to this branch in HybridApp's react-native submodule.
One need to remove
react-native
submodule folder and then clone our fork.git clone {ssh/https repo url} react-native
For OldDot repository one need to switch to this branch set-explanation-modal-key-in-od
It can be tested only on HybridApp
Offline tests
QA Steps
Same as tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
NOTE: All videos were recorded with a trigger from the troubleshooting section. On videos, I included the old onboarding flow after dismissing the explanation modal. Once stage 1 is ready it will be changed to a new onboarding flow.
Especially, those videos don't include full HybridApp flow.
Android: Native
demo-android.mov
Android: mWeb Chrome
-iOS: Native
Explanation.Modal.iOS.mov
iOS: mWeb Safari
-MacOS: Chrome / Safari
-MacOS: Desktop
-